fundamental html and css

20
Fundamental HTML and CSS Corey A. Spitzer SKAR Advertising July, 2009

Upload: techmonkey4u

Post on 18-Jan-2015

3.663 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Fundamental HTML and CSS

FundamentalHTML and CSS

Corey A. SpitzerSKAR Advertising

July, 2009

Page 2: Fundamental HTML and CSS

A web page, broken down

Web Browser

Content/Data UI LogicStylingRules

Website

Page 3: Fundamental HTML and CSS

A web page, broken down

Web Browser

HTML JavascriptCSS

Website

Page 4: Fundamental HTML and CSS

HTML

HyperText = text that can link to other text via hyperlinks Markup = semantic structure and metadata describing the contentLanguage = language

Page 5: Fundamental HTML and CSS

HTML Tag Structure

<textarea rows="4" cols="30">blah blah blah

</textarea>

Tag (aka Element) nameAttribute nameAttribute valueTag contents

Page 6: Fundamental HTML and CSS

HTML Document Structure

(doctype)<html>

<head>(head info)

</head><body>

(main content)</body>

</html>

Page 7: Fundamental HTML and CSS

HTML Doctypes

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">

More info athttp://www.w3.org/QA/Tips/Doctypehttp://htmlhelp.com/tools/validator/doctype.html

Page 8: Fundamental HTML and CSS

HTML Examples

Demo(html_examples.html)

Page 9: Fundamental HTML and CSS

More HTML Info

More comprehensiveHTML tutorials and examples athttp://www.w3schools.com/Html/

Page 10: Fundamental HTML and CSS

Questions?

CSS coming up...

Page 11: Fundamental HTML and CSS

CSS

Cascading = styling rules "cascade" from parent tags to child

tags; rules can override othersStyle = styleSheet = file

Page 12: Fundamental HTML and CSS

Basic CSS Structure

(tag name/class/id) {

(rule);(rule);...

}

Page 13: Fundamental HTML and CSS

A Quick Digression

More CSS info,but first...

Page 14: Fundamental HTML and CSS

Hexadecimal Colors

#F62BB5

Page 15: Fundamental HTML and CSS

Hexadecimal Colors

Decimal (base 10)Digit values:0,1,2,3,4,5,6,7,8,9

Hexidecimal (base 16)Digit values:0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

Page 16: Fundamental HTML and CSS

Hexadecimal Colors

R G B#000000

00 = 0FF = 255

Page 17: Fundamental HTML and CSS

Hexadecimal Colors

R G B#000000

16^6 = 16,777,216 possible colors

Page 18: Fundamental HTML and CSS

CSS Examples

Demo(css_examples.html)

Page 19: Fundamental HTML and CSS

More CSS Info

More comprehensiveCSS tutorials and examples athttp://www.w3schools.com/Css/

Page 20: Fundamental HTML and CSS

The End?

Questions?Requests?

Comments?Criticisms?