By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,412 Members | 2,896 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,412 IT Pros & Developers. It's quick & easy.

How can i display list without Bullets?

P: 22
Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
  2. <html>
  3. <body>
  4. <ul>
  5.   <li>First Name</li>
  6.   <li>Last Name</li>
  7.   <li>Address</li>
  8.   <li>phone number</li>
  9. </ul>  
  10. </body>
  11. </html>
Apr 11 '19 #1
Share this Question
Share on Google+
3 Replies


gits
Expert Mod 5K+
P: 5,333
you can use css for that like this:

Expand|Select|Wrap|Line Numbers
  1. list-style-type: none;
Apr 11 '19 #2

P: 18
Try this code for list display without bullets
Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
  2. <html>
  3. <body>
  4. <ul style="list-style-type:none">
  5.   <li>First Name</li>
  6.   <li>Last Name</li>
  7.   <li>Address</li>
  8.   <li>phone number</li>
  9. </ul>  
  10. </body>
  11. </html>
May 1 '19 #3

gits
Expert Mod 5K+
P: 5,333
well to have a valid document it should be

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html>
instead of
Expand|Select|Wrap|Line Numbers
  1. !DOCTYPE html>
but other then that its making good use of the above post :)
May 10 '19 #4

Post your reply

Sign in to post your reply or Sign up for a free account.