htm之实体、媒体标签和浮动标签

1、实体标签:
因为> < 等一些符号在html页面中是有着特殊含义,这些字符如果需要在页面中显示,这时候就应该使用实体标签。

常用的实体字符:
空格 &nbsp;
小于号 &lt;
大于号 &gt;
-----------------------------
人民币 &yen;
版权 &copy;
商标 &reg;

2、媒体标签:

<embed></embed>
hidden : 设置隐藏插件是否隐藏。
src :用于指定音乐的路径

<embed src="1.mp3" ></embed>


3、飘动标签
<marquee> 
direction : 指定飘动的方向
scrollamount : 指定飘动的速度。
loop :指定飘动的次数

<marquee  loop="-1" scrollamount="30" direction="right"><font size="+6" color="red"> 我飞起来了...</font></marquee>

 

posted @ 2017-02-24 16:19  mslog  阅读(197)  评论(0编辑  收藏  举报