HTML and CSS Reference
In-Depth Information
Inline elements provide the content with the semantic meaning that makes
for interesting reading. Browsers interpret inline markup by changing the
typography of the text. Browsers for the visually impaired respond to inline
markup with changes in tone or volume. Inline HTML elements include
markup for explicit semantic purposes:
<em></em> Emphasis; the content has some importance.
<strong></strong> Strong emphasis; the content is very important.
<abbr></abbr> Abbreviation of a term in the content.
<cite></cite> Citation—the title of another work.
<code></code> he content is an example of computer code.
<var></var> he content is a computer variable.
<q>...</q> Inline quotation.
<sup>...</sup> Superscript; reduce the size and raise the content.
<sub>...</sub> Subscript; reduce the size and lower the content.
he strikeout text element, <strike>...</strike> , used to designate deleted
text in edited documents, may be recognized by many browsers for backward
compatibility with earlier versions of HTML. But it is not in the HTML5
speciication.
here is a set of inline markup elements for typographic styles that are
inherited from earlier versions of HTML:
<b></b> Bold text; increase the font weight.
<i></i> Italics; change the font style to italic.
<u></u> Underline the content.
hese typographic elements say nothing about the content they enclose,
other than that the author wants the text underlined or displayed with a
bold or italic font. No special importance or emphasis should be given to the
content, although it may look that way to a human reader. he strong empha-
sis and/or emphasis elements should always be used when the content to be
marked up is important or needs emphasis.
he big and small elements are also from early versions of HTML and are
supported by most browsers for backward compatibility:
 
Search WWH ::




Custom Search