DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Roy has posted 10 posts at DZone. View Full User Profile

Bullets Without A UL Tag

05.08.2007
| 8330 views |
  • submit to reddit
        There are times when you want to put a bullet on an HTML page but you do not want to use a UL tag... this is how you do it:

<html>
<head>
</head>
<body>
<span style="font-size: 20px;">•a</span><br />
<span style="font-size: 25px;">•b</span><br />
<span style="font-size: 30px;">•c</span><br />
<span style="font-size: 35px;">•d</span><br />
</body>
</html>

For more tips on HTML, CSS, and most Web technologies <a href="http://www.expertsrt.com"> visit me at ERT</a>    

Comments

Snippets Manager replied on Thu, 2009/09/10 - 11:49am

When converting RTF to HTML, this is useful.

Snippets Manager replied on Mon, 2007/04/30 - 9:05am

I'm intrigued - why would you want to do that? Why create something semantically confusing when the UL or OL tags will do the job perfectly?