定义和用法
标签内部,你可以放置表格的标题、表格行、表格列、表格单元以及其他的表格。
HTML 4.01 与 HTML 5 之间的差异
在 HTML 4.01 中,不赞成使用 “align” 和 “bgcolor” 属性。
在 HTML 5 中,不支持
例子
Cell A | Cell B |
属性
标准属性
class, contenteditable, contextmenu, dir, draggable, id, irrelevant,
lang, ref, registrationmark, tabindex, template, title
如需完整的描述,请访问 HTML 5 中标准属性。
事件属性
onabort, onbeforeunload, onblur, onchange, onclick, oncontextmenu,
ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover,
ondragstart, ondrop, onerror, onfocus, onkeydown, onkeypress, onkeyup,
onload, onmessage, onmousedown, onmousemove, onmouseover, onmouseout,
onmouseup, onmousewheel, onresize, onscroll, onselect, onsubmit, onunload
如需完整的描述,请访问 HTML 5
中事件属性。