HTML and CSS Reference
In-Depth Information
.
Output
FIGURE 7.1
Various logical
styles displayed in
a browser.
Physical Styles
Over time, a number of physical style tags were added to HTML as well, but most of
them have been removed from HTML5. You may see them used but avoid using them
and use CSS instead.
Bold
<b>
Italic
<i>
Monospaced typewriter font (removed from HTML5)
<tt>
Underline (removed from HTML5)
<u>
Strikethrough (removed from HTML5)
<s>
Bigger print than the surrounding text (removed from HTML5)
<big>
Smaller print
<small>
Subscript
<sub>
Superscript
<sup>
NOTE
Text-based browsers, such as Lynx and those associated with
some mobile devices, can't render bold, italic, or other styled text.
They generally highlight the text in some way, but the method
varies depending on the browser and platform.
7
 
 
Search WWH ::




Custom Search