Of the tags in this list, all except <dfn> are part of the official HTML2.0 recommendation. <dfn> was added in the HTML 3.2 recommendation. They’re all still valid in the XHTML 1.0 recommendation.
HTML 4.01 introduced two additional logical style tags that are most useful for audio browsers. A graphical browser, such as nets cape or internet explorer, won’t display them and differently. When an audio browsers reads content included within one for these tags, however, each letter is spoken individually. For example, fox is pronounced F-O-X rather than fox.
These tags also use opening and closing sides and affect the text within. The following are new tags:
<abbr> this tag indicates the abbreviation of a word, as in the following:
<p> use the standard two-letter state abbreviation
(such as <abbr>CA</abbr> for California)</p>
<acronym> similar to the <abbr>tag, <acronym> designates a word formed by combining the initial letters of several words, as in the following example:
<p>Jonathan learned his great problem-handling skills from <acronym> STEPS</acronym>(simply tackle each problem seriously)</p>
Got all these tags memorized now? Good! There will be a pop quiz at the end of the day. The following code snippets demonstrate each of the logical style tags, and figure 6.1illustrates how all the tags are displayed.
<p> the anteater is the <Em> strangest</Em>looking animal, isn’t it? </p>
<p> take a <strong> left turn</strong> at <strong>Dee’s hop stop
</strong></p>
<p><code>#include “tarns’”</code></p>
<p> the URL for that page is <samp>http://www.cern.ch/</samp></p>
<p> type the following command: <kbd>find. –name ”prune”-print</kbd></p>
<p><code>chow</code><var>your _name the _file</</var></p>
<p> styles that are named after how they are used are called <dfn> logical styles</dfn></p>
<p>use the standard two-letter state abbreviation (such as
<abbr>ca</abbr> for California)</p>
<p> use the standard two-LETTER STATE ABBREVIATION (SCU AS <ABBR>ca</ABBR> FOR CALIFORNIA></P>
<p> use the standard two –letter state abbreviation (such as <abbr>CA</abbr> for California></p>
<p> Jonathan learned his great problem-handling skills from <acronym>STEPS</acronym> (simply tackle each problem seriously)
No comments:
Post a Comment