list-style:none;"."/> list-style:none;".">

Home >Web Front-end >CSS Tutorial >How to set li not to click in css

How to set li not to click in css

藏色散人
藏色散人Original
2021-06-19 14:31:423327browse

How to set li without clicking in css: 1. Find the relevant CSS and write "list-sytle:none;" under ".li" and ".ul"; 2. Write in the head part Enter "080b747a20f9163200dd0a7d304ba388list-style:none;".

How to set li not to click in css

The operating environment of this article: windows7 system, css3 version, Dell G3 computer.

How to set li not to click in css?

25edfb22a4f469ecb59f1190150159c6 Tags are used by many people when making websites, but there is always a small black dot in front of the display effect. Many people don’t want this effect, but they don’t know it. How to remove, however we can use the following methods to remove it.

1. Write code in CSS. Find the relevant CSS,

Write it under .li and .ullist-sytle:none;Of course, some people will write it like thislist-style-type:none , this way of writing is the most common especially in some CMS.

2. Find the head part of the relevant page and write the following code

<style type="text/css">list-style:none;</style>

Related introduction:

25edfb22a4f469ecb59f1190150159c6 Tag definition list item.

25edfb22a4f469ecb59f1190150159c6 tags can be used in ordered lists (c34106e0b4e09414b63b2ea253ff83d6) and unordered lists (ff6d136ddc5fdfeffaf53ff6ee95f185).

Differences between HTML and XHTML

In HTML 4.01, the "type" and "value" attributes of the li element are deprecated.

In XHTML 1.0 Strict DTD, the "type" and "value" attributes of the li element are not supported.

Recommended learning: "css video tutorial"

The above is the detailed content of How to set li not to click in css. 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
Previous article:How to wrap cssNext article:How to wrap css