正在加载图片...
第23章可扩展超文本标记语言( XHTMLY Defines a table footer Defines a table header 3.0 3.0 STF head> Defines a table header 4.0 ST Defines the document title 3.0 3.0 STF Defines a table row 3.0阝3.0|ST Defines underlined text 3030hF Defines an unordered list var> Defines a variable 3.0 3.0 STF 2352 XHTML标签的属性 XHTML标签可以有属性。对几乎所有标签都适用的核心属性列在表23-3,语言属性列 在表23-4,键盘标签列在表23-5 表23-3核心属性 class rule or style rule The class of the element name a unique identifier for an element title tooltip text a text to display in a tool tip 不用核心属性的标签:base,head,html,meta, param, script, style,te 表23-4语言标签 属性 说明 Itr rtl Sets the text direction language code Sets the language code 不用语言属性的标签:base,br, frame, frameset,h, iframe, param, script 表235键盘标签 属性 characte Sets a key board shortcut to access an element tabindex Number Sets the tab order of an element 2353 XHTML事件的属性 Window事件列在表23-6,表单元素事件列在表23-7,键盘事件列在表23-8,鼠标器事 件列在表23-9。 表23-6 Window事件 属性 说明 Script to be run when a document loads onunload Script to be run when a document unloads 不用 Windows事件属性的标签:body, frameset第 23 章 可扩展超文本标记语言(XHTML) 9 <tfoot> Defines a table footer 4.0 STF <th> Defines a table header 3.0 3.0 STF <thead> Defines a table header 4.0 STF <title> Defines the document title 3.0 3.0 STF <tr> Defines a table row 3.0 3.0 STF <tt> Defines teletype text 3.0 3.0 STF <u> Defines underlined text 3.0 3.0 TF <ul> Defines an unordered list 3.0 3.0 STF <var> Defines a variable 3.0 3.0 STF 23.5.2 XHTML 标签的属性 XHTML 标签可以有属性。对几乎所有标签都适用的核心属性列在表 23-3,语言属性列 在表 23-4,键盘标签列在表 23-5。 表 23-3 核心属性 属性 值 说明 class class_rule or style_rule The class of the element id id_name A unique identifier for an element title tooltip_text A text to display in a tool tip 不用核心属性的标签:base, head, html, meta, param, script, style, title。 表 23-4 语言标签 属性 值 说明 dir ltr | rtl Sets the text direction lang language_code Sets the language code 不用语言属性的标签:base, br, frame, frameset, hr, iframe, param, script。 表 23-5 键盘标签 属性 值 说明 accesskey character Sets a keyboard shortcut to access an element tabindex Number Sets the tab order of an element 23.5.3 XHTML 事件的属性 Window 事件列在表 23-6,表单元素事件列在表 23-7, 键盘事件列在表 23-8, 鼠标器事 件列在表 23-9。 表 23-6 Window 事件 属性 值 说明 onload scri pt Script to be run when a document loads onunload scri pt Script to be run when a document unloads 不用 Windows 事件属性的标签:body,frameset
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有