21
CHAPTER
Getting Started with HTML 2
TIPS
Do capitalization and spacing matter?
XHTML requires that all tags and attributes be
written in lowercase letters. Whitespace, however,
does not matter; the examples above and
throughout the book separate code onto distinct
lines to make it more readable, but a page where all
of the code is written on a single line is also valid.
Do I need all of these tags in every document?
Browsers will display your page if you do not have
these basic tags, but they may not do so correctly,
so you should always include them. Most dedicated
HTML editors add them automatically when you
create a new document.
0 Type
.! Press.
@ Type .
Press.
$ Type