Retrieves the caption object of the table.
dhtml语法
html | n/a |
---|
scripting | [ ocaption = ] table.caption |
---|
dhtml可能的值
oCaption | String that
receives the table caption, or the following value:null | Default. No caption exists for the table. |
|
The property is read-only.
The property has a default value of
null.
DHTML代码范例
This example sets the inline style for the caption property.
document.all.myTable.caption.style.color = "blue"
是否符合公共标准
This property is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To