Home >Web Front-end >Front-end Q&A >How to remove dots from unordered list

How to remove dots from unordered list

藏色散人
藏色散人Original
2020-05-18 10:24:5113010browse

How to remove dots from unordered list

How to remove points from an unordered list?

Achieved by adding the code "list-style:none" to the li tag.

The example demonstration is as follows:

1. Design an html page. There are some LI tags on the page. The code is as follows:

How to remove dots from unordered list

2. Add some css code:

How to remove dots from unordered list

3. The page display content at this time is as follows:

How to remove dots from unordered list

4. Modify the css style , add the key code to li as follows:

How to remove dots from unordered list

5. Refresh the page. The display effect at this time is as follows:

How to remove dots from unordered list

Recommended: "HTMLTutorial"

The above is the detailed content of How to remove dots from unordered list. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn