HTML tag

Definition and Usage

The body element defines the documents′ body. It contains all the contents of the document (like text, images, colors, graphics, etc.).

数据挖掘交友


Differences Between HTML and XHTML

All "presentation attributes" of the body element were deprecated in HTML 4.01. 数据挖掘实验室

All "presentation attributes" of the body element are not supported in XHTML 1.0 Strict DTD. 数据挖掘实验室


Example

<html>
<head>
</head>

<body>
The content of the document......
</body> 数据挖掘实验室

</html> 数据挖掘工具



Optional Attributes

DTD indicates in which DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute Value Description DTD
alink rgb(x,x,x)
#xxxxxx
colorname
Specifies the color of the active links in the document. Deprecated. Use styles instead. TF
background file_name An image to use as the background. Deprecated. Use styles instead. TF
bgcolor rgb(x,x,x)
#xxxxxx
colorname
The background color of the document. Deprecated. Use styles instead. TF
link rgb(x,x,x) 数据挖掘工具
#xxxxxx
colorname
Specifies the color of all the links in the document. Deprecated. Use styles instead. TF
text rgb(x,x,x)
#xxxxxx
colorname
Specifies the color of the text in the document. Deprecated. Use styles instead. TF
vlink rgb(x,x,x)
#xxxxxx
colorname
Specifies the color of the visited links in the document. Deprecated. Use styles instead. TF

Standard Attributes

id, class, title, style, dir, lang, xml:lang

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).


Core Attributes

Not valid in base, head, html, meta, param, script, style, and title elements.

数据挖掘交友

Attribute Value Description
class class_rule or style_rule The class of the element
id id_name A unique id for the element
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.

数据挖掘研究院

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
数据挖掘实验室

Window Events

Only valid in body and frameset elements 数据挖掘实验室

Attribute Value Description
onload script Script to be run when a document loads
onunload script Script to be run when a document unloads


Form Element Events

Only valid in form elements.

Attribute Value Description
onchange script Script to be run when the element changes
onsubmit script Script to be run when the form is submitted
onreset script Script to be run when the form is reset
onselect script  Script to be run when the element is selected
onblur script  Script to be run when the element loses focus
onfocus script  Script to be run when the element gets focus
数据挖掘研究院

Keyboard Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements. 数据挖掘交友

Attribute Value Description
onkeydown script  What to do when key is pressed
onkeypress script  What to do when key is pressed and released
onkeyup script  What to do when key is released


Mouse Events

Not valid in base, bdo, br, frame, frameset, head, html, iframe, meta, param, script, style, and title elements.

数据挖掘交友

Attribute Value Description
onclick script  What to do on a mouse click
ondblclick script  What to do on a mouse doubleclick
onmousedown script  What to do when mouse button is pressed
onmousemove script  What to do when mouse pointer moves
onmouseover script What to do when mouse pointer moves over an element
onmouseout script What to do when mouse pointer moves out of an element
onmouseup script  What to do when mouse button is released
数据挖掘工具
[数据挖掘专家] [数据挖掘研究院] [数据挖掘论坛] [数据挖掘实验室]
上一篇:用HTML编写应用程序
下一篇:Introduction to HTML
最新评论共有 0 位网友发表了评论 , 查看所有评论
发表评论( 不能超过250字,需审核,请自觉遵守互联网相关政策法规。 )
匿名?
数据挖掘网站导航 数据挖掘论坛导航
  • 数据挖掘工具
  • 数据挖掘论坛
  • DataCruncher - Cognos
  • MineSet - MathSoft
  • Intelligent Miner - GainSmarts
  • Sqlserver - SAS - Clementine
  • CART - Weka - WizSoft
  • NeuroShell - ModelQuest
  • data mining tools - Darwin
  • 数据挖掘交友
  • 数据挖掘博客
  • 数据挖掘工具
  • 数据挖掘资源
  • 数据挖掘技术算法
  • 数据挖掘相关期刊、会议
  • 研究院联盟合作专区
  • 数据挖掘基础与相关技术
  • 数据挖掘厂商与就业
  • 数据挖掘研究者乐园
  • 知名厂商数据挖掘工具资料
  • 国内数据挖掘实验室
  • Foreign Data Mining Lab
  • 热点关注
  • 新年矢量素材下载大集合
  • frame高度宽度固定
  • JavaScript语言参考手册_目录
  • 用XMLHTTP Post Form时的表单乱码解决方案
  • 使用Filter实现动态页面的静态HTML缓冲
  • javascript 通用库(二)
  • 用CSS制作鼠标经过图像
  • javascript 差错功能函数
  • 急死了~~checkbox传值的问题
  • javaScript基础
  • 论坛最新话题
  • Foundations of Statistical Natural Langu
  • Game Theory meet Data Mining: A Recent P
  • System Building: How does it help or hin
  • 数据挖掘与Clementine培训
  • 新手报到
  • 求 SASEM 客户流失预测分析
  • 数据挖掘工程师/搜索研究院—北京——无线
  • 数据挖掘入门介绍(如何着手数据挖掘)
  • Information Overload Survey Results
  • The INEX 2005 Workshop on Element Retrie
  • 相关资讯
  • javascript lanscape打印
  • javascript 差错功能函数
  • javascript 通用库(二)
  • javascript 通用库(一)
  • javascript 正则表达式
  • 脚本攻击防范策略完全篇
  • javaScript基础
  • 用XMLHTTP Post Form时的表单乱码解决方案
  • 中文排版CSS心得
  • 使用Filter实现动态页面的静态HTML缓冲
  • 数据挖掘实验室资料
  • 数据挖掘博客地址
  • 数据挖掘实验室网站地址
  • Prepare for Medicare audits by using dat
  • 注册成为SAS用户与爱好者俱乐部会员
  • 水南梅
  • 明日烟
  • 新人报道
  • 下载
  • 厦门服务器托管,450元/月—0592-5177319 高
  • 买空间送域名--0592-5177319 高静