- 常用的实体字符:
空格
小于号 <
大于号 >
-----------------------------
人民币 ¥;
版权 ©
商标 ®
<body>
段落标签是使用<p>标"签"<br/>
该毛衣的价格:¥298<br/>
<<深入javaweb>>该书版权归属于:©张孝祥
<hr/>
本次活动最后的解释器归属于:®传智播客
</body>
2.媒体标签:
<embed></embed>
hidden : 设置隐藏插件是否隐藏。
src :用于指定音乐的路径
<embed src="1.mp3" ></embed>
<marquee> 飘动标签
direction : 指定飘动的方向
scrollamount : 指定飘动的速度。
loop :指定飘动的次数
<marquee loop="-1" scrollamount="30" direction="right"><font size="+6" color="red"> 我飞起来了...</font></marquee>
3.图片标签:
img标签常用的属性:
width: 设置图片宽度
height 设置图片高度
alt: 如果图片资源无法找到,那么就显示对应的文字对图片进行说明。
热点图:
<area shape="rect" coords="171,178,304,227" href="http:\\www.baidu.com" target="_blank" />
<area shape="circle" coords="189,135,27" href="蓝天白云.html" target="_blank" />
<img src="11.jpg" alt="这个是路飞" width="400" height="300" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="171,178,304,227" href="http:\\www.baidu.com" target="_blank" />
<area shape="circle" coords="189,135,27" href="蓝天白云.html" target="_blank" />
</map>