表格标题属性返回表格的
句法
tableObject.caption
下面的程序说明了 Table caption() 属性:
示例:提醒标题元素内的文本。
Table caption Property in HTML
GeeksforGeeks
Table caption Property
To return the caption element
for the table, double-click the
"Return Caption" button.
Courses by Geeksforgeeks
Subject
Courses
Java
Fork Java
Python
Fork Python
Placements
Sudo Placement
输出:
点击按钮前:
点击按钮后:
支持的浏览器:
- 苹果Safari
- IE浏览器
- 火狐
- 谷歌浏览器
- 歌剧