Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
How To Use Different Markers on Ordered List Items
How To Use Different Markers on Ordered List Items? - XHTML 1.0 Tutorials - Understanding Lists and List Items
✍: FYICenter.com
By default, browsers will use decimal numbers as the item markers for ordered lists. If you want to change them to something else, like alphabetical letters, you need to use CSS properties. Here is a tutorial sample showing you how to set item markers to be lower case alphabetical letters:
<?xml version="1.0" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>List Item Markers</title> </head> <body> <h4>XHTML Quiz by FYIcenter.com:</h4> <p>What is the root element of an XHTML document?</p> <ol style="list-style-type: lower-alpha"> <li><root></li> <li><xml></li> <li><html></li> <li><xhtml></li> </ol> <p>Your answer: ______</p> </body> </html>
If you save the above document as alpha_item_marker.html, and view it with
Internet Explorer, you will see a list of 4 items with alpha letters as item markers as shown below:
2007-05-11, 4529👍, 0💬
Popular Posts:
What is thread? A thread is an independent path of execution in a system.
How To Write a Query with a Right Outer Join? - Oracle DBA FAQ - Understanding SQL SELECT Query Stat...
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use th...
Where Is the Submitted Form Data Stored? - PHP Script Tips - Processing Web Forms When a user submit...
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries...