Set image as list item marker
Example analysis:
The list-style-image attribute uses an image to replace the markup of the list item.
Note: This example does not display the same in all browsers, IE and Opera display the image tag a little higher than Firefox, Chrome and Safari.
Then if the same image logo is displayed in all browsers, a browser compatibility solution should be used. The next section introduces using browser compatibility solutions, please click "Continue Learning" to start learning.
new file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>php中文网(php.cn)</title>
<style>
ul
{
list-style-image:url('https://img.php.cn/upload/article/000/000/015/5c6e720242040312.gif');
}
</style>
</head>
<body>
<ul>
<li>PHP</li>
<li>JavaScript</li>
<li>MySQl</li>
</ul>
</body>
</html>
Preview
Clear
- Course Recommendations
- Courseware download
The courseware is not available for download at the moment. The staff is currently organizing it. Please pay more attention to this course in the future~
Students who have watched this course are also learning
Let's briefly talk about starting a business in PHP
Quick introduction to web front-end development
Large-scale practical Tianlongbabu development of Mini version MVC framework imitating the encyclopedia website of embarrassing things
Getting Started with PHP Practical Development: PHP Quick Creation [Small Business Forum]
Login verification and classic message board
Computer network knowledge collection
Quick Start Node.JS Full Version
The front-end course that understands you best: HTML5/CSS3/ES6/NPM/Vue/...[Original]
Write your own PHP MVC framework (40 chapters in depth/big details/must read for newbies to advance)















