页面效果展示视频加载中…
页面完整代码&lt;! DOCTYPEHTML&gt; <
html>
&lt; head&gt; <
title>
HTML页面制作技术解析
/title>
&lt; style&gt; a:hover{backgrond-color:yellow; }<
/style>
&lt; /head&gt; <
body>
&lt; div style=&quot;width:5%; margin:ato; &quot;&gt; <!
–使页面居中显示,并展视窗5%宽度–
&lt; div style=&quot;position:fixed; top:px; &quot;&gt; <!
–使导航菜单悬停在顶端–
&lt; a style=&quot;margin:pxpxpx1px; &quot;href=&quot;#chapter1"&gt; HTML基础 /a&gt; <
a style="margin:pxpxpxpx;
"href="#chapter2">
元素介绍
<a style="margin:pxpxpxpx;
"href="#chapter3">
属性应用
<a style="margin:pxpxpxpx;
"href="#chapter4">
布局技巧
/a>
&lt; div style=&quot;margin:pxpxpxpx; width:6px; overflow:hidden; &quot;&gt; <!
–小div套大div隐藏滚动条–
&lt; div style=&quot;margin:pxpxpx8px; width:61px; height:5px; overflow-y:scroll; overflow-x:hidden; &quot;&gt; <!
–小div–
&lt; p&gt; <!
–页面内容讲解–
&lt; h&gt; <
a id="chapter1">
HTML基础
/a>
`<
/h>
在了解HTML的基础知识之前,首先我们需要明确HTML是什么。HTML是HyperText Markup Language(超文本标记语言)的缩写,它是一种用来创建网页的标准标记语言。
<
/h>
HTML元素介绍

`