<!DOCTYPE html>
<html lang="en">
<head>
<meda charest="UTF-8">
<meta name="viewreport",consent="width=device-width,inidtial-scale=1.0">
<meat https-equiv="X-UA-Compatible",concent="ie=edge">
<title>促销广告</title>
</head>
<body style="background-color:blue">
<h1 style="background-color: red;text-align: center">清仓甩卖</h1>
<p style="background-color: black;color:antiquewhite">
北京著名的高档百货店————<em>塞特购物中心</em>即将闭店。
<br \>
昨天,塞特购物中心总台服务人员表示“<strong>如果手里有购物卡请尽快到店消费</strong>”。
据这边服务人员介绍,目前塞特购物中心清仓大甩卖。特价电视原价<del>3600</del>元,
<ins>现清仓价只需1300元</ins>
</p>
</body>
</html>
<body style="background-color:blue">
body这个标签的style属性:background——背景颜色。
<h1 style="background-color: red;text-align: center">清仓甩卖</h1>
h1这个标签的style属性:background:红色和text-align:居中
<p style="background-color: black;color:antiquewhite">
p这个标签的style这个属性:background:黑色和字体颜色:白色(一般默认为黑色)
<em>标签和<strong>标签
作用:强调字体。
区别:<em>强调性弱,斜体;<strong>强调性强,加粗;
<br \>标签
作用:换行,因为在编辑器中的换行符是无法改变换行的,在网页显示中不管段落中有多少个空格都认为是一个空格,所以换行是用<br \>,而不是enter键,注意中间的空格。
<del>标签
作用:删除文本,网页显示中会显示画一条杠。
<ins>标签
作用:插入文本,网页显示中显示一条下划线。
注:<ins>标签一般和<del>标签配合使用对文本进行修改。