Prev | Current Page 5 | Next

Craig Grannell

"The Essential Guide to CSS and HTML Web Design"

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Why WYSIWYG tools aren??™t used in this book . . . . . . . . . . . . . . . . . . . . . . . . 6
Introducing HTML and XHTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Introducing the concept of HTML tags and elements . . . . . . . . . . . . . . . . . . . 7
Nesting tags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Web standards and XHTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Semantic markup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Introducing CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Separating content from design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
The rules of CSS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Types of CSS selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Class selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
ID selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Grouped selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Contextual selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Adding styles to a web page .


Pages:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25