html用过标签记录

 nowrap="nowrap"   //用于列表中td不许换行

maxlength="100"  //用于输入框的长度限制

colspan="2"  //用于td横向合并

rowspan="2"  //用于td纵向合并

style="text-align: center;"  //用于字体居中

style="display: none;"  //用于隐藏但实际存在

readonly="readonly"  //只读标签

type="hidden"  //input隐藏标签 
 
style="white-space:nowrap;overflow:hidden;text-overflow: ellipsis;" title="${}" //不换行,多余的字省略为... 
 

 
转载于猿2048:→《html用过标签记录》

评论

暂无评论