Lists
Click the BACK button in your browser to return to the previous page
or
Click here to go to ITeachYou.com's homepage.
Following are some samples of HTML codes you
may want to use on your Webpage. To view the actual HTML code for each example, click VIEW-PAGE SOURCE (or VIEW-SOURCE) and scroll down the example you are interested in.
Examples of Lists
Lists are a great way to present information in a readable format. Following
are examples of list tags supported by HTML
Example of an Ordered List (one that contains numbers):
- First item on ordered list.
- Second item on ordered list.
Note: The actual ordered list starts with the OL tag and ends with the /OL tag. Remember all
tags start with a < and end with a >.
By adding an "attribute" to your tag, you can modify the type of number that appears in your Ordered List, as in the following examples:
Random Stuff:
- rutabagas
- winnebegos
- tornados
- enchiladas
- pincushions
More Stuff:
- foxglove
- margarine
- peregrine
- bengals
- chronos
- pigs' knees
Random Stuff, Take II:
- rutabagas
- winnebegos
- tornados
- enchiladas
- pincushions
More Stuff (again):
- foxglove
- margarine
- peregrine
- bengals
- chronos
- pigs' knees
Example of an Unordered List (one that contains bullets):
- First item on unordered list.
- Second item on unordered list.
Note: The actual unordered list starts with the UL tag and ends with the /UL tag. Remember all
tags start with a < and end with a >.
Unordered Lists with Embedded Unordered Lists:
- first bulleted item
- next bulleted item
- first item in nested list
- next item in nested list
- another bulleted item
- yet another bulleted item
- beginning of the second nested list
- more nested items to follow
- yet another nested list
- a final bulleted item
By adding an "attribute" to your tag, you can modify the type of bullet that appears in your Unordered List, as in the following examples:
Bullet Types:
- a square bullet
- another square bullet
- and another
- and now a circle
- and finally a disc (that's with a "c," of course)
And, now here's an example of a list that contains both Ordered and Unordered items:
Random Stuff:
- rutabagas
- winnebegos
- peregrine
- bengals
- pigs' knees
- pincushions
Note: < and > symbols were substituted with ( and ) below so actual tags would display on this page instead of converting to HTML itself.
Definition List Tags
Although the Definition List (DL) tag considers itself a List tag (in league with the Unordered List (UL) and Ordered List (OL) tags, it actually offers more than the other two. Specifically, the (DL) tag creates a series of listed items, each of which may contain additional information indented below that item. In other
words, the (DL) tag lets you format your information so that it looks like a series of dictionary or
glossary entries, but you don't have to limit your use of this tag to only dictionary and glossary
pages!
Each definition list starts with the opening (DL) tag and ends with the closing (/DL) tag.
Anything that you enter between those tags falls into one of two categories: the Definition Term,
indicated by the (DT) tag, and the Definition Definition, indicated by the (DD) tag. As you can
see when you view the results, the browser aligns text following the (DT) tag
along the left edge of the page. Below these terms, the browser indents the text associated with
the corresponding (DD) tag.
Following is an example...
Internet Terminologies
- Electronic Mail
- E-mail allows you to send messages to other people on the Internet. To do this you must know the e-mail address of the person you are sending to. The e-mail message is held on the service provider's computer until the recipient logs on and retrieves it. The recipient's computer does not need to be turned on for the e-mail message to be sent.
- World Wide Web
- WWW is an Internet access system that is based on hyperlinking, a method of automatically branching you (the client) to documents, menus, databases, graphics, or sounds at another Internet location, or Web site (the server).
- File Transfer Protocol
- FTP is used to make a connection with a remote site (host) so you can browse its directories and select files to read and/or transfer to your computer. Most FTP sites offer what is called anonymous login, which means that you will not need a personal account and password to access the files.