用HTML写一首诗并配上图片,需要满足诗的格式

用HTML写一首诗并配上图片,需要满足诗的格式


<html>
<head>
<meta charset="utf-8"/>
<meta name="keywords" content="咏柳"/>
<meta name="descrption" content="描写柳树的姿态">
<title>Day 2 test1title>
<style type="text/css">
body{
margin:0;
padding:0;
background:#5882FA;
}
#photo{
position: absolute;
background:url(https://img-blog.csdn.net/20170416223327166) no-repeat;
width: 400px;
height: 300px;
left: 50%;
right: 50%;
margin:180px 0 0 -200px ;
text-align: center;


}
.poet{
font-family: "微软雅黑";


}
style>


head>
<body>
<div id="photo">
<div class="poet">
<h2>咏柳h2>
<h3>唐 贺知章h3>
<p>碧玉妆成一树高,p>
<p>万条垂下绿丝绦。<p>
<p>不知细叶谁裁出,<p>
<p>二月春风似剪刀。<p>
div>
div>
body>
html>

你可能感兴趣的:(IM,Web训练营)