HTML 5 <nest> 標(biāo)簽
定義和用法
<nest> 標(biāo)簽在數(shù)據(jù)模板中為子元素定義嵌套點(diǎn)。與 <datatemplate> 和 <rule> 元素一同使用。
HTML 4.01 與 HTML 5 之間的差異
<nest> 標(biāo)簽是 HTML 5 中的新標(biāo)簽。
提示和注釋
提示:插入的子節(jié)點(diǎn)必須匹配 <nest> 元素的 <rule> 元素。
屬性
屬性 | 值 | 描述 |
---|---|---|
filter | selector | 定義能夠進(jìn)一步處理哪個子節(jié)點(diǎn)。 |
mode | mode | 定義數(shù)據(jù)模板的規(guī)則將擁有哪種模式。 |
標(biāo)準(zhǔn)屬性
class, contenteditable, contextmenu, dir, draggable, id, irrelevant, lang, ref, registrationmark, tabindex, template, title
如需完整的描述,請?jiān)L問 HTML 5 中標(biāo)準(zhǔn)屬性。
事件屬性
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
如需完整的描述,請?jiān)L問 HTML 5 中事件屬性。