Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Tricks Using Lists

Tricks Using Lists

Browse Pages: << < 1  2  3  4  > >>

The easiest way to do it is with the definition list tags. This involves opening the list with <DL>, surrounding each member line with the <DD> and </DD> tags, and finishing the list with the </DL> tag.

Example

This is the first item
This is the second item
This is a very long line. It is to show you what happens when we get to the end of our screen. If all goes well, the wrapped part should start directly under the first character of the line above it. Huh? It doesn't? Oh well, the price of vanity...
Source

<DL>
<DD><IMG SRC="40-99-20.gif">This is the first item</DD>
<DD><IMG SRC="40-80-99.gif">This is the second item</DD>
<DD><IMG SRC="40-99-20.gif">
This is a very long line. It is to show you what happens when we
get to the end of our screen. If all goes well, the wrapped part
should start directly under the first character of the line above
it. Huh? It doesn't? Oh well, the price of vanity...</DD>
</DL>

See Also:



Author's URL: Jeff Singer
Browse Pages: << < 1  2  3  4  > >>
Learn HTML step-by-step from A to Z or improve your professional skills. More Tutorials: Featured Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

No comments yet...
Add comments to "Tricks Using Lists"

Captcha