What are the tags in HTML code to obtain the following format?
try “li” and “ol” but it is not the same format, but:
What are the tags in HTML code to obtain the following format?
try “li” and “ol” but it is not the same format, but:
Hi,
you probably need to set some CSS in the HTML code to change the way list items are displayed. Something like this:
<style id="compiled-css" type="text/css">
ol {
list-style-type:none;
}
li:before {
content: counter(section) ") ";
}
li {
counter-increment:section;
}
</style>
I’m not an expert on this topic though, gotta try around with it
References: Adding parentheses in HTML ordered list - HTML CSS CSS Widget ; HTML Lists
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.