Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


HTML Lists

List items can contain block and text level items, although headings and address elements are excluded.

UL unordered lists
These require start and end tags, and contain one or more LI elements representing individual list items. Unordered lists take the form:
	<UL>
	 <LI><I>... first list item</I>
	 <LI><I>... second list item</I>
	 ...
	</UL>

The TYPE attribute can be used to set the bullet style on UL and LI elements.

OL ordered (i.e. numbered) lists
These require start and end tags, and contain one or more LI elements representing individual list items. Ordered (i.e. numbered) lists take the form:
	<OL>
	 <LI><I>... first list item</I>
	 <LI><I>... second list item</I>
	 ...
	</OL>

The OL START attribute can be used to initialize the sequence number. You can reset it later on with the VALUE attribute on LI elements.

DL definition lists
These require start and end tags and contain DT elements that give the terms, and DD elements that give corresponding definitions. Definition lists take the form:
	<DL>
	 <DT><I>term name</I>
	 <DD><I>term definition</I>
	 ...
	</DL>

DT elements can only act as containers for text level elements, while DD elements can hold block level elements as well, excluding headings and address elements.

W3C: Lists in HTML documents



Up to => Home / Authoring / HTML / Block




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers