First, you should notice how the ... pair is separate from the ...
pair and that both are contained within the ... tags.
Notice also that the
tag has two additional elements:
http-equiv=???Content-Type???
and
content=???text/html; charset=iso-8859-1???
156
Designing and Crafting Core Pages Part II
These types of elements are known as attributes. Attributes modify the basic tag and can either be equal to a
value or stand-alone. I cover the specifics of the
tag later in this chapter; for now you should focus
on just the syntax. Attributes are made up of name/value pairs where the attribute is set to be equal to some
value, typically in quotes. Not all tags have attributes, but when they do, the attributes are specific.
One last note about an HTML page: You are free to use carriage returns, spaces, and tabs as needed to make
your code more readable. The interpreting browser ignores all but the included tags and text to create your
page. I point to some minor, browser-specific differences in interpretation of these elements throughout the
book, but generally, you can indent or space your code as you wish.
The style in which Dreamweaver inserts code is completely customizable. See Chapter 4 for
details on changing your code preferences and Chapter 32 to see how you can adjust your tags
more specifically with the Tag Library Editor.
Pages:
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374