(1)、请用html5标准完成以下页面布局(要求完整书写整个页面的html代码,不需要写CSS)
写得有点罗嗦,里面很多css可以归纳出来一个的,另外,这个页面也具有响应式web设计的味道,浏览器缩小,相应版块也会适当缩小
复制代码
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77<!DOCTYPE html> <html> <head> <title></title> <meta charset="utf8"> <style> body{margin:0;padding:0;} header{ border:solid 1px #CCC; border-radius:5px 5px 5px 5px; text-align:center; } .h20{height:60px;} .h40{height:40px;} .h500{height:500px;} nav{ border:solid 1px #CCC; border-radius: 5px 5px 5px 5px; margin:30px 0; text-align: center; } article{ border:solid 1px #CCC; border-radius:5px 5px 5px 5px; margin:20px 25%; position:absolute; width:74%; text-align: center; } aside{ border:solid 1px #ccc; border-radius:5px 5px 5px 5px; margin:20px 0 0 10px; width:20%; text-align: center; float:left; } footer{ border:solid 1px #CCC; border-radius:5px 5px 5px 5px; margin:20px 0; margin-top:540px; text-align: center; } .hauto{ border:none 1px #CCC; border-radius:5px 5px 5px 5px; margin:auto 0; width:100%; text-align: center; } </style> </head> <header class="h20">页头</header> <nav class="h40">导航 </nav> <body> <article class="hauto"> <aside class="h500"> 侧边栏</aside> <article class="h500"> 内容区 </article> <footer class="h40">页尾</footer> </article> </body> </html>
最后
以上就是紧张小猫咪最近收集整理的关于请用html5标准完成以下页面布局(要求完整书写整个页面的html代码,不需要写CSS)的全部内容,更多相关请用html5标准完成以下页面布局(要求完整书写整个页面内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复