复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> *{ padding: 0; margin: 0; border: 0; list-style: none;/*无标记*/ } a{ color: orange; text-decoration: none;/*无文本格式*/ } a:hover{/*鼠标指向时的动作*/ text-decoration: underline; /*下划线*/ } body{ background: #ccc; /*背景颜色*/ font-size: 12px; /*字体大小*/ color: #3e3e3e; /*颜色*/ } dl{ /*小框*/ width: 530px; height: 210px; border-radius: 11px; /*圆角边框*/ background: #fff;/*背景颜色*/ margin: 50px auto;/*外边距*/ overflow: hidden;/*隐藏溢出文本*/ } dl dt{ float: right; /*浮动 靠右*/ } dl dd{ width: 180px; float: left; margin-left: 10px; /*左边距10*/ margin-top: 10px; /*上边距10*/ } dd p{ margin-top: 10px; line-height: 19px; } </style> </head> <body> <dl> <dt><a href="#"><img src="../案例/浮动与定位图片/UI.png" width="310" height="200"></a></dt> <dd> <h3><a href="#">传智教育UI设计学院</a></h3> <p>“UI 设计师(简称UID)”已经成为全球性知名IT 企业招最热门的岗位,正逐渐成为大学毕业生所追捧的热职业方向·传智教育UI 设计学院花一份钱同时学习四门技术,针对平面设计、网页设计、UI 设计、web 前端培训一步到位,让你从小白变大神,高薪就业!</p> </dd> </dl> </body> </html>
最后
以上就是大意小熊猫最近收集整理的关于HTML作业的全部内容,更多相关HTML作业内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复