Take care not to use too many heading
levels, though??”unless you??™re working on complex legal documents, you really shouldn??™t
be getting past level four. If you are, look at restructuring your document.
Logical and physical styles
Once text is in place, it??™s common to add inline styles, which can be achieved by way of
logical and physical styles. Many designers are confused by the difference between the
two, especially because equivalents (such as the logical strong and physical b) tend to be
displayed the same in browsers. The difference is that logical styles describe what the content
is, whereas physical styles merely define what the content looks like. This subtle difference
is more apparent when you take into account things like screen readers.
In the markup I like to
emphasize things, a screen reader emphasizes the
text surrounded by the em tags. However, replace the em tags with i tags and the screen
reader won??™t emphasize the word, although in a visual web browser the two pieces of
markup will almost certainly look identical.
THE ESSENTIAL GUIDE TO CSS AND HTML WEB DESIGN
66
Styles for emphasis (bold and italic)
Physical styles enable you to make text
bold and
italic, and these are
the most commonly used inline physical styles. However, logical styles are becoming much
more widespread (the majority of web design applications, such as Dreamweaver,
now default to logical styles rather than physical ones).
Pages:
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133