Introduction to Web Authoring

Slides:



Advertisements
Similar presentations
Tables Feb. 14, Tables Great way to organize and display information Laid out in columns and rows Think of an excel spreadsheet Defined with tag.
Advertisements

Introduction to HTML & CSS
CSS-Formatting Review Cascading Style Sheets addstyle to your HTML web pages.
Intro To Cascading Style Sheets By Mario Yannakakis.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets: Basics I450 Technology Seminar Copyright 2003, Matt Hottell.
Cascading Style Sheets
Today CSS HTML A project.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
Today’s Goals What is HTML?
© 2004, Robert K. Moniot Chapter 6 CSS : Cascading Style Sheets.
“Cascading Style Sheets” for styling WWW information DSC340 Mike Pangburn.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
CM143 Week 4 Introducing CSS. Cascading Style Sheets A definition for the style in which an element of the webpage will be displayed Border width, colour,
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 11
Cascading Style Sheet. What is CSS? CSS stands for Cascading Style Sheets. CSS are a series of instruction that specify how markup elements should appear.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
Lesson 2 Adding more content to your web page. Thanks to Richard Hudnutt, Luella HS.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Introduction to Web Authoring Ellen Cushman Class mtg. #14.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Cascading Style Sheets
Cascading Style Sheets CSS. Source W3Schools
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Advanced Technical Writing 2006 Session #2. About ATW Projects… Typical practices a content person uses  Know available technologies and know the issues.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
Web Basics: HTML/CSS/JavaScript What are they?
Getting Started with CSS
Style Sheets.
4.01 Cascading Style Sheets
An Introduction to Cascading Style Sheets
>> Introduction to CSS
Cascading Style Sheets
INTRODUCTION TO HTML AND CSS
IS 360 Declaring CSS Styles
Madam Hazwani binti Rahmat
CX Introduction to Web Programming
Cascading Style Sheets (CSS)
Introduction to Web programming
Intro to CSS CS 1150 Fall 2016.
Introduction to web design discussing which languages is used for website designing
Intro to CSS CS 1150 Spring 2017.
Digital Design – Copyright Law
Software Engineering for Internet Applications
Introduction to Web Authoring
Introduction to Cascading Style Sheets (CSS)
Web Programming– UFCFB Lecture 11
What are Cascading Stylesheets (CSS)?
Cascading Style Sheets™ (CSS)
INTRODUCTION TO HTML AND CSS
Tutorial 3 Working with Cascading Style Sheets
Web Design and Development
Part 1: Cascading Style Sheets
Made By : Lavish Chauhan & Abhay Verma
Cascading Style Sheets
Session 3: Basic CSS Spring 2009
Stylin’ with CSS.
4.01 Cascading Style Sheets
Stylin’ with CSS.
Presentation transcript:

Introduction to Web Authoring Ellen Cushman Cushmane@msu.edu Introduction to Web Authoring Class mtg. #4 www.msu.edu/~cushmane/wra210.htm our syllabus www.msu.edu/~cushmane/wa.htm old class page www.msu.edu/~cushmane/wa2.htm new class page

Today in Class… Review & Your questions. Brief Into to CSS coding. Workshop your pages. Homework: Work on your page! Text about you, an e-mail link, a table, external links to our class, images, and some basic css.

Review & Questions What are 3 types of links? What can I go over again for you? What new vocab did you learn last class? Why are there so many songs about rainbows?

A brief profile of CSS Cascading style sheets is a specification created by the W3C which allows web developers to create style documents to control textual features and the positioning of objects on the page. >selling point<CSS lets you separate content from presentation. >/selling point<

What is CSS? Multiple styles can be defined and used in individual HTML documents and across multiple HTML documents (fonts, spacing/placement, colors) Browser follows an order of interpretation (aka, a cascade) of the style definitions 3 W3C CSS standards (CSS1 and CSS2 are current; CSS3 in development)

Page.html page.css In most cases, you will have two documents controlling how a page looks on the screen. One html file and one css file. Browser: Rendered View

Styles in HTML In html, style attributes that describe how text or other elements should display can be incorporated into tags, thus: <font face=“sans-serif” size=“-2”>Hi!</font> Problems arise when you need to change styles frequently!

Some problems with integrated style/content each instance of a style must be hand coded, meaning that any document with lots of style changes becomes labor intensive mantaining a consistent look and feel across pages is tough on a large site making style changes to multiple pages is difficult and very time consuming

Styles in CSS In CSS, style attributes can be defined once – either in the head of a document or in a separate style sheet document – and referenced whenever needed. So if this represents my standard body text style: <font face=“sans-serif” size=“-2”>Hi!</font> I can simply define the <P> tag to display all text as sans-serif, in the point size I want…

Styles in CSS, 2 I can simply define the <P> tag to display all text as sans-serif, in the point size I want… P { font-family: Helvetica, Sans-Serif; font size: 9pt; }

The Logic of Styles in CSS CSS allows you to attach display information to most HTML elements. A CSS rule is the basic unit of a style sheet. A rule first names an HTML element (like a body text paragraph <p>) and then describes how that element should display. Thus, a rule contains a selector and a declaration.

Types of style sheets CSS defines 3 essential style sheets Inline Embedded Linked Today we’ll work with the first two!

Inline style Inline uses the style= attribute <p style="font-family: Arial,sans-serif; font size: 28pt;"> Here’s a paragraph with 28pt font size. </p> Controls style on an element basis

Embedded style 1 Embedded uses <style></style> tags Controls style on a page basis Use <!-- --> to protect browsers that don’t recognize <style> tags

Embedded style 2 <html><head> <style> <!-- h2 { font-type: Arial,sans serif; font-size: 40pt; font-weight: bold } --> </style> </head><body></body></html>

Workshop Have a great weekend! Add your links to your page if you didn’t last time Add your css inline and embedded styles Send me your url if it’s changed. Make sure your page is showing on our new project page! If not, alert me in e-mail Have a great weekend!