| Appearance |
Markup to achieve this |
A paragraph |
<p>A paragraph</p> |
alt="code example" |
<code>alt="code example"</code> |
Text caption for an image. |
<div class="caption">Text caption for an image.</div> |
- Unordered list
- Unordered list
- Unordered list
|
<ul>
<li>Unordered list</li>
<li>Unordered list</li>
<li>Unordered list</li>
</ul> |
- Ordered list
- Ordered list
- Ordered list
|
<ol>
<li>Ordered list</li>
<li>Ordered list</li>
<li>Ordered list</li>
</ol> |
- Unordered list without bullet
- Unordered list without bullet
- Unordered list without bullet
|
<ul class="nobullet">
<li>Unordered list without bullet</li>
<li>Unordered list without bullet</li>
<li>Unordered list without bullet</li>
</ul> |
- Definition List
- A list of terms that are defined
|
<dl>
<dt>Definition List</dt>
<dd>A list of terms that are defined</dd>
</dl> |
Indented text |
<div class="indent1">Indented text</div> |
Text indented more |
<div class="indent2">Text indented more</div> |
Text width of 50% of available space (does not work in Netscape 4 and older browsers) |
<div class="text50">Text width of 50% of available space</div> |
Text width of 60% of available space (does not work in Netscape 4 and older browsers) |
<div class="text60">Text width of 60% of available space</div> |
Text width of 70% of available space (does not work in Netscape 4 and older browsers) |
<div class="text70">Text width of 70% of available space</div> |
Text width of 80% of available space (does not work in Netscape 4 and older browsers) |
<div class="text80">Text width of 80% of available space</div> |
Text width of 90% of available space (does not work in Netscape 4 and older browsers) |
<div class="text90">Text width of 90% of available space</div> |