Logical Text Elements : em « Tags « HTML / CSS






Logical Text Elements

  

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Logical Text Elements</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<div class="head">Logical Text Elements</div>
<div class="content">
<h1 align="center">Logical Text Elements</h1>
<hr />
<p>
<acronym>WWW</acronym> is an acronym <br />
<abbr>Mr.</abbr> is an abbreviation <br />
This is <em>Emphasis</em> <br />
This is <strong>Strong</strong> <br />
This is a <cite>Citation</cite> <br />
This is <code>Code</code> <br />
This is <dfn>Definition</dfn> <br />
This is <kbd>Keyboard</kbd> <br />
This is a <q>Quotation</q> <br />
This is <samp>Sample</samp> <br />
This is <var>Variable</var> <br />
</p>
</div>
</body>
</html>

   
    
  








Related examples in the same category

1.'em' Example
2.A slightly more complex "Hello World" page