继上次总结了点html标签,现在再写一些

来源:互联网 发布:远程会诊软件 编辑:程序博客网 时间:2024/06/06 13:14

首先感谢两位大哥提出的我总结的标签的错误或者不实用的地方,小弟在此表示衷心的感谢。

两个地方:1、h5之后编程更加简单,语义化要求用strong和em标签,不使用前面的标签。

2、字体效果建议不使用html

继续我自己的笔记总结:

1、跑马灯滚动:

<marquee>…</marquee>普通卷动

【<marquee behavior=slide>…</marquee>滑动

<marquee behavior=alternate>…</marquee>来回卷动

<marquee direction=down/up/right/left>…</marquee>向下/上/右/左卷动】

<marquee loop=xxx>…</marquee>卷动xxx次

<marquee width=xxx>…</marquee>宽度xxx

<marquee height=xxx>…</marquee>高度xxx

<marquee bgcolor=xxxxxx>…</marquee>背景颜色xxxx

<marquee scrollamount=xx>…</marquee>卷动距离xx

<marquee scrolldelay=xxx>…</marquee>卷动时间xxx

2、表格(好像现在用的不是很多)

<table aling=left/center>…</table>表格位置,置左/中

<table background=图片路径>…</table>背景图片的URL

<table border=xxx>…</table>边框大小xxx

<table bgcolor=xxxxxx>…</table>背景颜色xxxxxx

<table borderclor=xxxxxx>…</table>边框颜色xxxxxx

<table borderclordark=xxxxxx>…</table>暗边框颜色xxxxxx

<table borderclorlight=xxxxxx>…</table>亮边框颜色xxxxxx

<table cellpadding=xx>…</table>内容与网格线之间的间距xx

<table cellspacing=xx>…</table>网格线与网格线之间的距离xx

<table cols=xx>…</table>表格的栏数

<table =xx>…</table>外框线的显示方式

<table width=xx>…</table>表格的宽度xx

<table height=xx>…</table>表格的高度xx

<td colspan=xx>…</td>合并栏的栏数xx

<td rowspan=xx>…</td>合并列的列数xx

<table height=xx> 表格的高度xx

<table width=xx> 表格的宽度xx

<table>…</table> 表格的卷标

<td align> 表格字段左右对齐

<td bgcolor> 表格字段背景颜色

<td colspan rowspan> 表格字段合并

<td nowrap> 表格字段不换行

<td valign> 表格字段上下对齐

<td width> 表格字段宽度

<td>…</td> 表格的数据位

表格一般应该用在邮件或者格式规整的数据中,

现在大部分用<ul><li></li></ul> [无序列表]

<ol><li></li></ol>[有序列表]

<dl><dt><dd></dd><dd></dd></dt></dl>[定义列表]

如果要是有错误的或者过时的信息或者标签,还请各位大哥大姐不吝相告,小弟在这谢谢各位了,继续努力......

如果有错的离谱的,也请大家使劲的喷,我会吸取教训,马上改正。谢谢大家。

0 0