ZVON > References > XHTML Reference
   Strict XHTML   Frameset | >> Strict << | Transitional |  [Comparison]

Go to Standard
Element: em
Attributes: | class | dir | id | lang | onclick | ondblclick | onkeydown | onkeypress | onkeyup | onmousedown | onmousemove | onmouseout | onmouseover | onmouseup | style | title | xml:lang |
Parents: | a | abbr | acronym | address | b | bdo | big | button | caption | cite | code | dd | del | dfn | div | dt | em | fieldset | h1 | h2 | h3 | h4 | h5 | h6 | i | ins | kbd | label | legend | li | object | p | pre | q | samp | small | span | strong | sub | sup | td | th | tt | var |
Children: | #PCDATA | a | abbr | acronym | b | bdo | big | br | button | cite | code | del | dfn | em | i | img | input | ins | kbd | label | map | object | q | samp | script | select | small | span | strong | sub | sup | textarea | tt | var |

Your browser display:
  1. ... first list item...
  2. ... second list item...
  3. ... third list item...
Source [  Open as XHTML document  ]

<ul>
     <li>
          <em>... first list item...</em>
     </li>
     <li>
          <em>... second list item...</em>
     </li>
     <li>
          <em>... third list item...</em>
     </li>
</ul>
<ol>
     <li>
          <em>... first list item...</em>
     </li>
     <li>
          <em>... second list item...</em>
     </li>
     <li>
          <em>... third list item...</em>
     </li>
</ol>

Your browser display:
Dweeb
young excitable person who may mature into a Nerd or Geek
Hacker
a clever programmer
Nerd
technically bright but socially inept person
Source [  Open as XHTML document  ]

<dl>
     <dt>Dweeb</dt>
     <dd>young excitable person who may mature into a
          <em>Nerd</em> or
          <em>Geek</em>
     </dd>
     <dt>Hacker</dt>
     <dd>a clever programmer</dd>
     <dt>Nerd</dt>
     <dd>technically bright but socially inept person</dd>
</dl>

Your browser display:
A test table with merged cells
Average Red
eyes
height weight
Males 1.9 0.003 40%
Females 1.7 0.002 43%
Source [  Open as XHTML document  ]

<table border="1" summary="This table gives some statistics about fruit flies: average height and weight, and percentage with red eyes (for both males and females).">
     <caption>
          <em>A test table with merged cells</em>
     </caption>
     <tr>
          <th rowspan="2"/>
          <th colspan="2">Average</th>
          <th rowspan="2">Red
               <br/>eyes
          </th>
     </tr>
     <tr>
          <th>height</th>
          <th>weight</th>
     </tr>
     <tr>
          <th>Males</th>
          <td>1.9</td>
          <td>0.003</td>
          <td>40%</td>
     </tr>
     <tr>
          <th>Females</th>
          <td>1.7</td>
          <td>0.002</td>
          <td>43%</td>
     </tr>
</table>

Your browser display:
Cups of coffee consumed by each senator
Name Cups Type of Coffee Sugar?
T. Sexton 10 Espresso No
J. Dinnen 5 Decaf Yes
A. Soria Not available
Source [  Open as XHTML document  ]

<table border="1">
     <caption>Cups of coffee consumed by each senator</caption>
     <tr>
          <th>Name</th>
          <th>Cups</th>
          <th>Type of Coffee</th>
          <th>Sugar?</th>
     </tr>
     <tr>
          <td>T. Sexton</td>
          <td>10</td>
          <td>Espresso</td>
          <td>No</td>
     </tr>
     <tr>
          <td>J. Dinnen</td>
          <td>5</td>
          <td>Decaf</td>
          <td>Yes</td>
     </tr>
     <tr>
          <td>A. Soria</td>
          <td colspan="3">
               <em>Not available</em>
          </td>
     </tr>
</table>

Your browser display:

...some text...

You'll find a lot more in chapter two. See also this map of the enchanted forest.

Source [  Open as XHTML document  ]

<p>
     <em>...some text...</em>
</p>
<p>You'll find a lot more in
     <a href="chapter2.html">chapter two</a>. See also this
     <a href="../images/forest.gif">map of the enchanted forest.</a>
</p>

Your browser display:

Table of Contents

Introduction
Some background
On a more personal note
...the rest of the table of contents...

...the document body...

Introduction

...section 1...

Some background

...section 2...

On a more personal note

...section 2.1...

Source [  Open as XHTML document  ]

<h1>Table of Contents</h1>
<p>
     <a href="#section1">Introduction</a>
     <br/>
     <a href="#section2">Some background</a>
     <br/>
     <a href="#section2.1">On a more personal note</a>
     <br/>
     <em>...the rest of the table of contents...</em>
</p>
<p>
     <em>...the document body...</em>
</p>
<h2>
     <a name="section1">Introduction</a>
</h2>
<p>
     <em>...section 1...</em>
</p>
<h2>
     <a name="section2">Some background</a>
</h2>
<p>
     <em>...section 2...</em>
</p>
<h3>
     <a name="section2.1">On a more personal note</a>
</h3>
<p>
     <em>...section 2.1...</em>
</p>

Your browser display:

...some text...

You'll find a lot more in chapter two. chapter two. See also this map of the enchanted forest.

Source [  Open as XHTML document  ]

<p>
     <em>...some text...</em>
</p>
<p>You'll find a lot more in
     <a href="chapter2.html" title="Go to chapter two">chapter two</a>.
     <a href="./chapter2.html" title="Get chapter two.">chapter two</a>. See also this
     <a href="../images/forest.gif" title="GIF image of enchanted forest">map of the enchanted forest.</a>
</p>

Your browser display:
As Harry S. Truman said, The buck stops here.
More information can be found in [ISO-0000].
Please refer to the following reference number in future correspondence: 1-234-55
Source [  Open as XHTML document  ]

<div> As
     <cite>Harry S. Truman</cite> said,
     <q lang="en-us">The buck stops here.</q>
</div>
<div> More information can be found in
     <cite>[ISO-0000]</cite>.
</div>
<div> Please refer to the
     <em>following reference number</em> in future correspondence:
     <strong>1-234-55</strong>
</div>