HTML List Styling Without CSS

Posted on Thursday 30th Apr 2009 by James Bavington 1 Comment

Having recently hand-coded a monster HTML Terms & Conditions page for one of my big clients, i’ve picked up a lot more knowledge when it comes to managing bullet points without the assistance of CSS. Firstly, it is best to look at the different types of Bullet points and how they can be manipulated in HTML without the help of CSS.

Usually when it comes to changing the style of the bullet points, I change the classes in CSS, however I recently discovered that this can actually be done quite simply in the HTML itself by taking advantage of the ‘type’ property in the bullet point tags.

The ‘type’ property can be used on the following tags:

  • <ul> – <ul type=”"></ul>
  • <ol> – <ol type=”"></ol>
  • <li> – <li type=”"></li>

Type

Description

HTML

  • Bullet Point
Unordered List Circle Bullets <ul type=”circle”>
  • Bullet Point
Unordered List Disc Bullets (Default) <ul type=”disc”>
  • Bullet Point
Unordered List Square Bullets <ul type=”square”>
  1. Bullet Point
Ordered List Numbers (Default) <ol type=”1″>
  1. Bullet Point
Ordered List Lowercase Letters <ol type=”a”>
  1. Bullet Point
Ordered List Uppercase Letters <ol type=”A”>
  1. Bullet Point
Ordered List Lowercase Roman Numerals <ol type=”i”>
  1. Bullet Point
Ordered List Uppercase Roman Numerals <ol type=”I”>

About James Bavington

Away from computers, James enjoys mountains, military history and has an insatiable appetite for film - particularly 90's classics.

See all of posts.

Add on James Bavington Google+

James Bavington's Tweet's

This entry was posted in Tips For Web Designers and tagged , , . Bookmark the permalink.

One Response to HTML List Styling Without CSS

  1. kronikmedia says:
    May 7, 2009 at 5:09 pm

    Using the type element seems similar to using in-line styles within the html design of the website. In line styling can be successfully applied to most web design elements including tables, div’s, lists and so on. Although this can be a useful technique in web design, external CSS styles have a greater advantage when it comes to managing changes across many pages of a website. This level of flexibility can only be available when using external css style sheets in designing websites.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>