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
1. Introduction I recently upgraded my blog and a...
webpack-dev-server core concepts Webpack's Co...
The previous articles were all my own learning lo...
I have recently learned web development front-end...
You may not have had any relevant needs for this ...
<br />Information duplication, information o...
Select and change: click to display the current v...
Table of contents 1. What content usually needs t...
Obvious HTML, hidden "public script" Th...
If you think the system is slow and want to chang...
1. Introduction to Animate.css Animate.css is a r...
Table of contents Reactive Function usage: toRef ...
Table of contents Step 1: Installation Step 2: Ci...
1. Download the axios plugin cnpm install axios -...
Table of contents Preface What is a filter How to...