当前位置: 首页 > 网络学院 > 网页制作基础教程 > HTML > HTML 属性

HTML
HTML Head
HTML Meta
HTML URLs
HTML Scripts
HTML 属性
HTML 事件
HTML URL-encode
HTML Web服务器
HTML 摘要
HTML 实例
标签列表
标准属性
事件属性
ASCII码
特殊字符
HTTP状态消息

HTML 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 490 ::
收藏到网摘: n/a

HTML tags can have attributes. The special attributes for each tag are listed under each tag description. The attributes listed here are the core and language attributes that are standard for all tags (with a few exceptions):
HTML标签有属性.各标签都有各自特殊的属性.在这里罗列的属性是其中的核心并对所有标签来讲都是标准的(个别除外):


Core Attributes
核心属性

Not valid in base, head, html, meta, param, script, style, and title elements.
在 base, head, html, meta, param, script, style, 和 title元素中无效

Attribute
属性
Value
Description
描述
class class_rule or style_rule The class of the element
元素类别
id id_name A unique id for the element
唯一ID
style style_definition An inline style definition
内样式
title tooltip_text  A text to display in a tool tip
提示


Language Attributes
语言属性

Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.
在base, br, frame, frameset, hr, iframe, param, 和 script中无效

Attribute
属性
Value
Description
描述
dir ltr | rtl Sets the text direction
设置文序
lang language_code Sets the language code
语言代码


Keyboard Attributes
键盘属性

Attribute
属性
Value
Description
描述
accesskey character Sets a keyboard shortcut to access an element
设置键盘快捷访问
tabindex number Sets the tab order of an element
设定元素的定位键命令

评论 (0) All

登陆 | 还没注册?