*** This is my practice website to learn and practice HTML, using Microsoft Step By Step book, by Faithe Wempen. ***
Lists |
Opening tag for two types of lists: bulleted (using <ul>) and numbered (using <ol>); close list with </ul> or </ol> corresponding tag.
Each line item has a <li> </li> tag
<ol>
<li>First Item</li>
<li>Second Item</li>
<li>Third Item</li>
</ol>
This list uses the opening tag: <ul style="list-style-type: square">
This list uses the opening tag: <ol style="list-style-type: upper-alpha">
Use <dl> to open the list, <dt> for the word being defined, and <dd> for the definition. (Each are two-sided tags)
Example:
<dl>
<dt>Color depth</dt>
<dd>Full color is 24-bit; if a graphic has more bits than that, the extra bits are used to further define the color and/or to set special image attributes, such as transparency.</dd>
<dt>Compression/file size</dt>
<dd>Lossless compression makes a file smaller without losing any image quality; lossy compression shrinks a file at the expense of some quality.</dd>
<dt>Animation</dt>
<dd>Simple animations displayed on a Web page are usually animated graphics rather than video clips.</dd>
<dt>Transparency</dt>
<dd>Some graphic formats can make an image background appear transparent so that when you place the image in a document with text, the text wraps around the image.</dd>
</dl>
Result: