468,741 Members | 1,702 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,741 developers. It's quick & easy.

How can i display list without Bullets?

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
4 5366
gits
5,390 Expert Mod 4TB
you can use css for that like this:

Expand|Select|Wrap|Line Numbers
  1. list-style-type: none;
Apr 11 '19 #2
AjayGohil
84 64KB
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
5,390 Expert Mod 4TB
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
Chilibwe
1 Bit
Call in the list style and set it to none. Using gas. Example:

Expand|Select|Wrap|Line Numbers
  1.   <html>
  2. <head>
  3. <style>  
  4. </head>
  5. <body>
  6.   <ul style = "list-style:none"> <li>home</li> </ul>
  7. </body>
  8. </html>
1 Week Ago #5

Post your reply

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

Similar topics

12 posts views Thread by Steven Bethard | last post: by
5 posts views Thread by Howard Martin | last post: by
reply views Thread by DarrenWeber | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.