How can I make a custom rule, or a list with custom bullets?
Answer Posted / 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 View All Answers
What is the advantage of collapsing white space?
What is meta html?
How to enter element content?
What are keywords in seo?
What is href in html?
What is viewport html?
What is a HTML helper?
What are the various tags provided for better structuring in HTML5?
What does the article tag do?
Is there a site that shows which tags work on which browsers?
How do I get special characters in my html?
Define forms in html.
How are active links different from normal links?
What is a hyperlink?
What is difference between html 4 and html 5?