HTML一些基本的常用标签
2015-12-14 20:58
495 查看
type:text password checkbox radio select textarea submit reset button imag hidden
<b>黑体</b> <i>斜体</i> <u>下划线</u> <s>中线</s> <sup>上标</sup> <sub>下标</sub> <img> src:路径 alt:鼠标放在上面的提示 width:宽度 height:高度
常用的转义字符
< < > > & & 空格 " " ' ' \ \
<p> 换行回车 <br> 换行 <pre> 保存原始格式 <ul> 无序 <ol> 有序
<div> 之间有换行,从上往下排列 <span> 无换行,横着排
<a href="" target=""> _blank 新窗口中打开 _self 当前窗口打开(默认) _parent 父窗口打开 _top 覆盖当前所有窗口
经典布局排列
<frameset rows="15%,*"> <frame></frame> <frameset cols="15%,*"> <frame></frame> <frame></frame> </frameset> </frameset> <iframe> 实现网页数据的局部刷新