"; 2. Remove via "li{list-style-type:none;}"; 3. Remove by setting the none value."/> "; 2. Remove via "li{list-style-type:none;}"; 3. Remove by setting the none value.">

Home  >  Article  >  Web Front-end  >  How to remove the dots in css li

How to remove the dots in css li

藏色散人
藏色散人Original
2021-04-09 09:17:358221browse

How to remove li points in css: 1. Remove by "7c2c588ec6ee688d3c22b7610673b9aa"; 2. By "li{list-style-type" :none;}" method to remove; 3. Remove by setting the none value.

How to remove the dots in css li

The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.

Method one:

<ul>
     <li style="list-style-type:none;">百度</li>
     <li style="list-style-type:none;">雅虎</li>
     <li style="list-style-type:none;">新浪</li>
     <li style="list-style-type:none;">谷歌</li>
</ul>

Method two:

<style>
li {list-style-type:none;}
</style>
<ul>
     <li>百度</li>
     <li>雅虎</li>
     <li>新浪</li>
     <li>谷歌</li>
</ul>

Method three:

<style>
.li_style {list-style-type:none;}
</style>
<ul>
     <li class="li_style">百度</li>
     <li class="li_style">雅虎</li>
     <li class="li_style">新浪</li>
     <li class="li_style">谷歌</li>
</ul>

[Recommended learning:css video tutorial

The above is the detailed content of How to remove the dots in css li. 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