美食介绍html页面代码
时间: 2023-11-13 18:51:36 浏览: 179
<!DOCTYPE html>
<html>
<head>
<title>美食介绍</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
/*样式代码*/
body {
font-family: Arial, sans-serif;
background-color: #F8F8F8;
}
h1 {
text-align: center;
color: #FF4500;
}
p {
font-size: 18px;
line-height: 1.5;
padding: 10px;
margin: 10px;
background-color: #FFF;
border: 1px solid #DDD;
border-radius: 5px;
box-shadow: 3px 3px 5px #DDD;
}
img {
display: block;
margin: auto;
max-width: 100%;
}
</style>
</head>
<body>
<h1>美食介绍</h1>
<p>
<img src="https://example.com/food.jpg" alt="美食图片">
<strong>美食名称:</strong>XXX<br>
<strong>美食介绍:</strong>XXX<br>
<strong>制作方法:</strong>XXX<br>
<strong>口感评价:</strong>XXX<br>
</p>
</body>
</html>
阅读全文