Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
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, 4745👍, 0💬
Popular Posts:
How To Calculate Expressions with SQL Statements? - MySQL FAQs - Introduction to SQL Basics There is...
it will be very helpful if you send some important Questions with Answers of DBMS Tell us what types...
What will happen in these three cases? if (a=0) { //somecode } if (a==0) { //do something } if (a===...
What print out will the folloging code produce? main() { char *p1=“name”; char *p2; p2=(char*)malloc...
What will be printed as the result of the operation below: main() { int x=20,y=35; x=y++ + x++; y= +...