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

HTML
HTML 介绍
HTML 元素
HTML 基本标签
HTML 格式
HTML 实体字符
HTML 链接
HTML 框架
HTML 表格
HTML 列表
HTML 表单
HTML 图片
HTML 背景
HTML 颜色
HTML 颜色值
HTML 颜色名
HTML 便条
HTML 布局
HTML 字体
HTML 4.0
HTML 样式

HTML 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 491 ::
收藏到网摘: 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

登陆 | 还没注册?