How do I remove bullet points from an unordered list in html (Not CSS)?
I have been using using css for so long that I have completely forgotten how to do this in just html. Please trust me when I say that this must be done in html only (it's a field entry into a web based program) Not having much luck searching google and w3schools.com doesn't appear to have this information any longer.
Public Comments
- I would just not make it a bulleted list in the first place. I would make it using <.b.r. /> (take out the dots lol) instead of <ul></ul>.
- I can think of three ways of doing this: <ul> <li style="display:block">This <li style="display:block">UL <li style="display:block">has <li style="display:block">no <li style="display:block">bullets </ul> <ul> <li type="none">This <li type="none">UL <li type="none">has <li type="none">no <li type="none">bullets </ul> <ul type="none"> <li>This <li>UL <li>has <li>no <li>bullets </ul> The first and second validate as HTML4.01 Transitional. All thee validate as HTML5. For more on the ul and li tags see: http://www.html-tags-guide.com/html-ul-tag.html and http://www.html-tags-guide.cm/html-li-tag.html
- The old html way was with the type attribute in your <ul> tag: <ul type=none'> <li>One</li> <li>Two</li> </ul> But you could still perhaps use CSS, by passing in in-line styling: <ul style="list-style:none"> <li>One</li> <li>Two</li> </ul>
Powered by Yahoo! Answers