HTML unordered list bullet points using images CSS writing

HTML unordered list bullet points using images CSS writing
Create an HTML page with an unordered list of at least five best-selling books. The bullet point before each book must be a thumbnail that summarizes the cover. This information can be obtained on the Web. Requires CSS approach for layout.

HTML:

Copy code
The code is as follows:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link href="book.css" rel="stylesheet" type="text/css">
</head>
<!--.author:svitter;-->
<body>
<div>
<h1 class="diffentcolor">Linux Bestsellers</h1>
<div id="menu">

</div>
<div id="content">
<ul>
<li id="book1">Bird Brother's Linux Private Recipe Basics</li>
<li id="book2">Bird Brother's Linux Private Kitchen Server Edition</li>
<li id="book3">Linux command line and shell script programming encyclopedia</li>
<li id="book4">Linux Operation and Maintenance</li>
<li id="book5">Linux/Unix System Programming Manual</li>
</ul>
</div>
</div>
</body>

book.css:

Copy code
The code is as follows:

.diffentcolor{color:green;}
#differcolor{color:green}
body, td, div, .p, a {
font-family: arial,sans-serif;
}
h1,h2{
font-family:sans-serif;
color:gray;
}
.author{
by:svitter;
}
h1{
border-bottom:1px solid black;
border-bottom:1px;
solid black;
}
div#container{width:500p}
div#menu {width:150px;float:left;}
div#content {float:left;}
li#book1{
list-style-image:url(pic/popularBook.jpg);
}
li#book2{
list-style-image:url(pic/popularBook2.jpg);
}
li#book3{
list-style-image:url(pic/popularBook3.jpg);
}
li#book4{
list-style-image:url(pic/popularBook4.jpg);
}
li#book5{
list-style-image:url(pic/popularBook5.jpg);
}

<<:  idea uses docker plug-in to achieve one-click automated deployment

>>:  JS practical object-oriented snake game example

Recommend

Mysql cannot select non-aggregate columns

1. Introduction I recently upgraded my blog and a...

Detailed explanation of webpack-dev-server core concepts and cases

webpack-dev-server core concepts Webpack's Co...

Teach you how to build a react+antd project from scratch

The previous articles were all my own learning lo...

Detailed deployment of Alibaba Cloud Server (graphic tutorial)

I have recently learned web development front-end...

Interviewer asked how to achieve a fixed aspect ratio in CSS

You may not have had any relevant needs for this ...

Web2.0: Causes and Solutions of Information Overload

<br />Information duplication, information o...

ElementUI component el-dropdown (pitfall)

Select and change: click to display the current v...

Ideas and practice of multi-language solution for Vue.js front-end project

Table of contents 1. What content usually needs t...

HTML optimization speeds up web pages

Obvious HTML, hidden "public script" Th...

Centos 7 64-bit desktop version installation graphic tutorial

If you think the system is slow and want to chang...

CSS to achieve fast and cool shaking animation effect

1. Introduction to Animate.css Animate.css is a r...

Introduction to reactive function toRef function ref function in Vue3

Table of contents Reactive Function usage: toRef ...

Vue implements an example of pulling down and scrolling to load data

Table of contents Step 1: Installation Step 2: Ci...

Detailed explanation of JavaScript axios installation and packaging case

1. Download the axios plugin cnpm install axios -...

What you need to know about filters in Vue

Table of contents Preface What is a filter How to...