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

How to filter out duplicate data when inserting large amounts of data into MySQL

Table of contents 1. Discover the problem 2. Dele...

A brief understanding of the relevant locks in MySQL

This article is mainly to take you to quickly und...

Detailed explanation of fuser command usage in Linux

describe: fuser can show which program is current...

Detailed example of sorting function field() in MySQL

Preface In our daily development process, sorting...

Detailed explanation of the basic implementation principle of MySQL DISTINCT

Preface DISTINCT is actually very similar to the ...

Understanding MySQL Locking Based on Update SQL Statements

Preface MySQL database lock is an important means...

A detailed introduction to Linux system operation levels

Table of contents 1. Introduction to Linux system...

Docker case analysis: Building a Redis service

Table of contents 1 Create mount directories and ...

Things to note when designing web pages for small-screen mobile devices

The reason is that this type of web page originate...

Excel export always fails in docker environment

Excel export always fails in the docker environme...

How to change the Ali source in Ubuntu 20.04

Note that this article does not simply teach you ...

A brief talk about Rx responsive programming

Table of contents 1. Observable 2. Higher-order f...

Two ways to exit bash in docker container under Linux

If you want to exit bash, there are two options: ...

Script example for starting and stopping spring boot projects in Linux

There are three ways to start a springboot projec...