New Type of List

Read this tip to make your life smarter, better, faster and wiser. LifeTips is the place to go when you need to know about Tricks & Shortcuts and other Html topics.

How can I write a list without bullets or numbers?

New Type of List

While learning HTML, you learned that there are 3 types of lists: the ordered list, which is numbered;
the unordered list, which is bulleted; and definition lists, which place a term flush left and indent
the definition on the next line. But what if you want a list without the bullets or numbers? Give this
trick a try. Create a <UL> as usual, just omit the <LI> tags. Seperate line items with the <BR> tag.
This trick works equally well for images.
<UL>
Item 1<BR>
Item 2<BR>
Item 3<BR>
Item 4
</UL>
This produces an indented list without bullets or numbers, like this;


    Item 1

    Item 2

    Item 3

    Item 4


One thing to note about this trick. Although it works fine with Internet Explorer and Netscape Navigator, it is not in accordance
with the W3C spec, and may not work with other browsers.

   

Comments

Nobody has commented on this tip yet. Be the first.



Name:


URL: (optional)


Comment:


Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Patricia Walters-Fischer