While some of these HTML phrase elements are displayed in a similar manner to the <b>, <i>, <pre>, and <tt> elements you have already seen, they are designed for specific purposes. For example, the <em> and <strong> elements give text emphasis and strong emphasis respectively and there are several elements for marking up quotes.
We will see all phrase tags in this section with examples.
|<em>||<p>You <em>must</em> remember to close elements in XHTML.</p>|
|<strong>||<p>You <strong>must</strong> remember to close elements in XHTML.</p>|
|<abbr>||<p>I have a friend called <abbr title=”Deepak”>Deepu</abbr>.</p>|
|<acronym>||<p>This chapter covers marking up text in <acronym title=”Extensible Hypertext Markup Language”>XHTML</acronym>.</p>|
|<dfn>||<p>This tutorial teaches you how mark up your documents for the web using <dfn>XHTML</dfn>.</p>|
|<blockquote>||<p>The following description of XHTML is taken from the learning4uWorld Web site:</p>
<blockquote> XHTML 1.0 is the learning4u’s first Recommendation for XHTML, following on from earlier work on HTML 4.01, HTML 4.0, HTML 3.2 and HTML 2.0. </blockquote>
|<cite>||<p>This HTML Tutorial is derived from <cite>World Wide Web Standard for HTML</cite>.</p>|
This is HTML Phrase element which is used to make the text looks a little tilt like an italic look. Use the following example to understand
<title>Use of em element</title>
<p>This is<em> em element text</em>provided by tutsocean</p>
126 total views, 1 views today