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 |
What do you mean by html?
What is the use of details and summary tag?
What is anchor tag?
What is local storage concept in HTML 5?
List out the new input attributes in html5?
In how many ways you can display HTML elements?
Who developed xhtml?
Do you know what is the sessionstorage object in html5? How to create and access?
What is div id?
What are different types of tags?
How we can create listbox control in html?
What is body in html?