|
|||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
HTML listsWe will now briefly discuss lists. There are three kinds of lists. They are:
Unordered ListsFirst up is the unordered list. It looks like this:
The markup for the above unordered list is: <ul><li>This is the first bullet</li> <li>This is the second bullet</li> <li>This is the third bullet</li> <li>This is the fourth bullet</li> <li>And on and on... </ul> The <ul> </ul> tags turn the unordered list on and off and the <li> tags contain the list items. Ordered ListsAs you can see ordered lists are numbered by default. They can also be displayed with letters. The syntax used to create the ordered list above is: <ol><li>Ordered lists (like the one you are now reading)</li> <li>Unordered lists (which we will see shortly)</li> <li>Definition lists</li> </ol> The <ol> </ol> tags turn the ordered list on and off and the <li> tags define the list items. Definition ListsNext up is the definition list. It looks like this:
The markup used to create the above looks like this: <dl><dt>IT-arama<dt> <dd>A cool and fun web-site<dd> <dt>985 computing<dt> <dd>User-friendly computer consulting<dd> <dt>BobbyRegan.com<dt> <dd>Extreme Web design<dd> </dl> Where the <dl> and the </dl> tags are used to begin and end the definition list and the <dt> tag is used for each term to be defined and the <dd> tag is used for each terms definition. |
|||||||||||||||||||||||||
|
Text formatting
| Headings
| Lists
| Images
| Linking
| Tables
| Forms
| Scripting
| CSS
| Sign up here
| Contact us
| Resume
|
|||||||||||||||||||||||||
| © 2000 - 2010 by 985 computing LLC ITarama - The home of short sweet Web tutorials |
|||||||||||||||||||||||||