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

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

HTML DOM 中的 DOM Body 对象


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

Body Object
Body 对象

The Body object represents the body of the document (the HTML body).
Body对象代表了文档中的body元素

IE: Internet Explorer, F: Firefox, N: Netscape, W3C: World Wide Web Consortium (Internet Standard).

Body 对象属性

Property
属性
Description
描述
IE  F N W3C
className Sets or returns the class attribute of the element
设置或返回元素的class属性
5 1 9 Yes
dir Sets or returns the direction of text
设置或返回文字的方向
5 1 9 Yes
id Sets or returns the id of the body
设置或返回body的id
5 1 9 Yes
lang Sets or returns the language code for the element
设置后返回元素的语言代码
5 1 9 Yes
title Sets or returns the element's advisory title
设置或返回元素的咨询标题
5 1 9 Yes

评论 (0) All

登陆 | 还没注册?