How can I make a custom rule, or a list with custom bullets?



How can I make a custom rule, or a list with custom bullets?..

Answer / guest

There was a proposal in the now-expired HTML 3 draft to
handle exactly this: just add SRC to the <HR> or <UL> tag,
indicating where the image can be found. But until this is
more widely supported, you have to use <IMG> for the rule,
with a lot of "--" characters as ALT text for text browsers,
and using a <DL> with only <DD> tags for each item. Make
sure you use ALIGN for the image, which should go at the
beginning of the item, of course. This isn't as beautiful as
a "real" list.

An alternative is using a two column table, with the bullets
in the left column, and the text in the right. But this
won't work well on non-table supporting browsers.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More HTML DHTML Interview Questions

What language is pt br?

0 Answers  


Why html is markup language?

0 Answers  


Difference between dhtml and html?

0 Answers  


Can I specify fractional weight values such as 670 or 973 for font weight?

0 Answers  


What is row and column?

0 Answers  


Why to use figcaption tag in html5?

0 Answers  


What is the use of <form> tag?

0 Answers  


Who is known as the father of world wide web (www)

0 Answers  


How we can refer css file in a web page in html?

0 Answers  


What is the difference between HTML elements and tags?

1 Answers  


Why doesn't <table width="100%"> use the full browser width?

0 Answers  


What is canvas in HTML5?

0 Answers  


Categories