What are the Lists we can use in HTML?
Public Comments
- <li> </li>
- Its to automatically list stuff as so. Cat Dog Rabbit Bulleted list is a dot before each word in the list. Numbered list. 1.Cat 2.Dog 3.Rabbitt Theres other list tags too but I dont remember what they are.
- ordered, unordered and definition lists Try this website: http://www.w3schools.com/html/html_lists.asp For great html help.
- Also, if you want to use an ordered list for: 1. Text here 2. Text here 3. Text here ...etc. use: <ol> <li>text here</li> <li>text here</li> <li>text here</li> </ol>
- HTML supports ordered, unordered and definition lists. If you've got a question about HTML, the best place to look is http://www.w3schools.com/ since they're the people who write the standards that the browsers are *supposed* to follow but they've got good tutorials in addition to all the basic HTML info.
- Unordered Lists An unordered list is a list of items. The list items are marked with bullets (typically small black circles). An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. <ul> <li>Coffee</li> <li>Milk</li> </ul> Here is how it looks in a browser: Coffee Milk Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc. -------------------------------------------------------------------------------- Ordered Lists An ordered list is also a list of items. The list items are marked with numbers. An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. <ol> <li>Coffee</li> <li>Milk</li> </ol> Here is how it looks in a browser: Coffee Milk Inside a list item you can put paragraphs, line breaks, images, links, other lists, etc. -------------------------------------------------------------------------------- Definition Lists A definition list is not a list of single items. It is a list of items (terms), with a description of each item (term). A definition list starts with a <dl> tag (definition list). Each term starts with a <dt> tag (definition term). Each description starts with a <dd> tag (definition description). <dl> <dt>Coffee</dt> <dd>Black hot drink</dd> <dt>Milk</dt> <dd>White cold drink</dd> </dl> Here is how it looks in a browser: Coffee Black hot drink Milk White cold drink Inside the <dd> tag you can put paragraphs, line breaks, images, links, other lists, etc.
Powered by Yahoo! Answers