demo03ex1.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>图书封面</title>
<style>
p{
margin: 0;
color: white;
}
#p1{
background-color: darkslategrey;
text-align: center;
width: 250px;
height: 104px;
line-height: 50px;
}
#p2{
background-color: darkslategrey;
text-align: center;
font-size: 20px;
height: 100px;
width: 250px;
}
#p3{
background-color: darkslategrey;
text-align: right