How To Create An Unordered List Without Any Bullets In HTML

TutorialRepublic HOME HTML5 CSS3 JAVASCRIPT JQUERY BOOTSTRAP5 v4.6 PHP7 SQL REFERENCES EXAMPLES FAQ SNIPPETS Online HTML Editor WEB TUTORIALS HTML Tutorial CSS Tutorial JavaScript Tutorial jQuery Tutorial Bootstrap Tutorial PHP Tutorial SQL Tutorial PRACTICE EXAMPLES HTML Examples CSS Examples JavaScript Examples jQuery Examples Bootstrap Examples PHP Examples HTML REFERENCES HTML Tags/Elements HTML Global Attributes HTML Event Attributes HTML Color Picker HTML Language Codes HTML Character Entities HTTP Status Codes CSS REFERENCES CSS At-rules CSS Properties CSS Animatable Properties CSS Color Values CSS Color Names CSS Web Safe Fonts CSS Aural Properties PHP REFERENCES PHP Array Functions PHP String Functions PHP File System Functions PHP Date/Time Functions PHP Calendar Functions PHP MySQLi Functions PHP Filters PHP Error Levels How to Create an Unordered List without any Bullets in HTML

Topic: HTML / CSSPrev|Next

Answer: Use the CSS list-style-type Property

You can simply use the CSS list-style-type property with none value to remove the bullets from the unordered list (i.e. the <ul> element). Additionally, to remove the default left padding from the list you can use set the padding-left: 0; on it. Here's an example:

Example

Try this code » <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Remove Bullets from List using CSS</title> <style> ul{ list-style-type: none; padding-left: 0; } </style> </head> <body> <ul> <li>List item one</li> <li>List item two</li> <li>List item three</li> </ul> </body> </html>

If you're using the Bootstrap framework you can simply apply the class .list-unstyled on the <ul> or <ol> element. It removes the bullets (or list markers) as well as the left padding from the list items which are immediate children of the <ul> or <ol> element.

Related FAQ

Here are some more FAQ related to this topic:

  • How to show hide dropdown menu on mouse hover using CSS
  • How to remove white space underneath an image using CSS
  • How to add border to an element on mouse hover without affecting the layout in CSS
Previous Page Next Page Bootstrap UI Design Templates Property Marvels - A Leading Real Estate Portal for Premium Properties

Is this website helpful to you? Please give us a like, or share your feedback to help us improve. Connect with us on Facebook and Twitter for the latest updates.

About Us

Our Story Terms of Use Privacy Policy

Contact

Contact Us Report Error Advertise

Interactive Tools

Bootstrap Icon Search Utility HTML Formatter Title & Meta Length Calculator HTML Color Picker Bootstrap Button Generator SQL Playground Font Awesome Icon Finder HTML Editor

TutorialRepublic

BMC Copyright © 2024 Tutorial Republic. All Rights Reserved. Share This:

Từ khóa » Html List Without Bullet Point