liaoxiaolao

html列表

html 无序列表 ul-li

案例:

<html>
<head>
</head>
<body>
<ul type="square">
<li>传奇</li>
<li>反恐</li>
<li>跳舞团</li>
</ul>
</body>
</html>

html有序列表 ol-li

<ol type="i">
<li>传奇</li>
<li>反恐</li>
<li>跳舞团</li>
<li>反恐</li>
<li>跳舞团</li>
</ol>

type可以决定有序列表前面的数字类型。

<ol type="1" start="6">
<li>传奇</li>
<li>反恐</li>
<li>跳舞团</li>
<li>反恐</li>
<li>跳舞团</li>
</ol>

html的框架标记

html的框架标记(元素) frameset  /frame

案例:

使用<framset></frameset>时,不能有body。

如:

<html>
<head>
<title>all.html</title>
</head>

<frameset cols="50%, *">
<frame src="aa.html"/>
<frame src="bb.html"/>
</frameset>

</html>

并不希望用户对页面进行拖拽。

这样设置即可:

<frame src="aa.html" noresize/>

all.html:

<html>
<head>
<title>all.html</title>
</head>

<frameset cols="50%, *" frameborder="0">
<frame src="aa.html" noresize/>
<frame src="bb.html"/>
</frameset>

</html>

aa.html:

<html>
<head>
<title></title>
</head>
<body bgcolor="yellow">
周杰伦的歌
</body>
</html>

bb.html:

<html>
<head>
<title></title>
</head>
<body>
歌词......
</body>
</html>

all.html中不能有body标签。

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-12-01
  • 2022-01-12
  • 2022-02-09
  • 2021-11-28
猜你喜欢
  • 2021-11-29
  • 2021-12-29
  • 2022-12-23
  • 2022-02-19
  • 2022-01-22
  • 2022-01-31
相关资源
相似解决方案