当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > DOM 参考

HTML DOM
DOM TableRow 对象
DOM Textarea 对象
DOM Window 对象

HTML DOM 中的 DOM 参考


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

HTML DOM 对象

Follow the links to learn more about the objects and their collections, properties, methods and events.
跟随下面的连接来学习更多有关对象以及它们的集合,属性,方法以及事件。

对象 描述
Anchor Represents an HTML a element (a hyperlink)
代表了HTML的 a 元素 (超级链接)
Applet Represents an HTML applet element. The applet element is used to place executable content on a page
代表了HTML的applet元素,applet元素可用来放置页面内可执行的内容
Area Represents an area of an image-map. An image-map is an image with clickable regions
代表了图象映射区域。带有可点击的图片可称为图象映射
Base Represents an HTML base element
代表了HTML的 base元素
Basefont Represents an HTML basefont element
HTML的basefont元素
Body Represents the body of the document (the HTML body)
文档的主体(body)
Button Represents a push button on an HTML form. For each instance of an HTML <input type="button"> tag on an HTML form, a Button object is created
HTML表单上的按钮。HTML表单中只要出现了<input type="button">标签,一个Button对象就建立了
Checkbox Represents a checkbox on an HTML form. For each instance of an HTML <input type="checkbox"> tag on an HTML form, a Checkbox object is created
HTML表单中的复选框。只要HTML表单中出现了<input type="checkbox">标签,就会建立起Checkbox对象
Document Used to access all elements in a page
可用来访问所有在页面中的元素
Event Represents the state of an event, such as the element in which the event occurred, the state of the keyboard keys, the location of the mouse, and the state of the mouse buttons
代表事件的状态,比如某个元素的事件发生了,键盘按键的状态,鼠标的位置,鼠标按钮的状态
FileUpload For each instance of an HTML <input type="file"> tag on a form, a FileUpload object is created
当HTML表单中有<input type="file">,FileUpload对象就建立起来了
Form Forms are used to prompt users for input. Represents an HTML form element
表单可用于用户信息的输入递交。可代表HTML中的form元素
Frame Represents an HTML frame
代表了HTML中的框架
Frameset Represents an HTML frameset
HTML的框架集
Hidden Represents a hidden field on an HTML form. For each instance of an HTML <input type="hidden"> tag on a form, a Hidden object is created
在HTML中的隐藏区域。每当HTML表单中出现<input type="hidden">标签,Hidden对象就建立起来了
History A predefined object which can be accessed through the history property of the Window object. This object consists of an array of URLs. These URLs are all the URLs the user has visited within a browser window
通过Window对象的history属性所访问的预先确定对象。这个对象由一组URLs所构成。这些URLs是所有用户曾经在浏览器中访问过的URLs。
Iframe Represents an HTML inline-frame
HTML中的内联框架
Image Represents an HTML img element
HTML的img元素
Link Represents an HTML link element. The link element can only be used within the <head> tag
HTML的link元素。只能在<head>标签里使用link元素
Location Contains information about the current URL
含有当前URL的信息
Meta Represents an HTML meta element
HTML的meta元素
Navigator Contains information about the client browser
含有客户端信息
Option Represents an option in a selection list on an HTML form. For each instance of an HTML <option> tag in a selection list on a form, an Option object is created
在HTML表单中的选择项。每当HTML表单中出现<option>标签,Option对象就建立了
Password Represents a password field on an HTML form. For each instance of an HTML <input type="password"> tag on a form, a Password object is created
代表了HTML表单中的password区域。每当HTML表单中出现<input type="password"> 标签,就会建立该对象
Radio Represents radio buttons on an HTML form. For each instance of an HTML <input type="radio"> tag on a form, a Radio object is created
代表了HTML表单中的单选按钮。每当表单中出现了<input type="radio">标签,就会建立该对象
Reset Represents a reset button on an HTML form. For each instance of an HTML <input type="reset"> tag on a form, a Reset object is created
代表了HTML表单中的reset按钮。每当表单出现了<input type="reset"> 标签就会建立该对象
Screen Automatically created by the JavaScript runtime engine and it contains information about the client's display screen
会由JS工作环境引擎自动建立,它包含了有关客户显示屏幕的信息
Select Represents a selection list on an HTML form. For each instance of an HTML <select> tag on a form, a Select object is created
代表了HTML表单中的选择列表。每当表单中出现<select>标签就会建立该对象
Style Represents an individual style statement. This object can be accessed from the document or from the elements to which that style is applied
代表了独立的样式声明。我们可以访问这个对象对象,可要文档或是表单中的元素支持style
Submit Represents a submit button on an HTML form. For each instance of an HTML <input type="submit"> tag on a form, a Submit object is created
代表了HTML表单中的提交按钮。每当表单中出现<input type="submit"> 标签该对象就建立起来了
Table Represents an HTML table element
代表了HTML的表格元素
TableData Represents an HTML td element
代表了HTML里的td元素
TableHeader Represents an HTML th element
代表了HTML里的th元素
TableRow Represents an HTML tr element
代表了HTML里的tr元素
Text Represents a text field on an HTML form. For each instance of an HTML <input type="text"> tag on a form, a Text object is created
代表了表单中的文字输入区域。每当表单中出现<input type="text">标签该对象就建立起来了
Textarea Represents an HTML textarea element
代表了HTML的textarea元素
Window Corresponds to the browser window. A Window object is created automatically with every instance of a <body> or <frameset> tag
当出现<body>或是<frameset>标签,这个对象就会自动建立起来。

评论 (0) All

登陆 | 还没注册?