W3Schools

home HOME

HTML DOM
DOM HOME
DOM Intro
DOM Nodes
DOM Node Tree
DOM Methods
DOM Node Access
DOM Node Info
DOM How To
DOM Reference
DOM Summary

DOM Examples
DOM Examples

DOM Objects
DOM Window
DOM Navigator
DOM Screen
DOM History
DOM Location

DOM Document

DOM Anchor
DOM Area
DOM Base
DOM Body
DOM Button
DOM Event
DOM Form
DOM Frame
DOM Frameset
DOM IFrame
DOM Image
DOM Input Button
DOM Input Checkbox
DOM Input File
DOM Input Hidden
DOM Input Password
DOM Input Radio
DOM Input Reset
DOM Input Submit
DOM Input Text
DOM Link
DOM Meta
DOM Object
DOM Option
DOM Select
DOM Style
DOM Table
DOM TableCell
DOM TableRow
DOM Textarea

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

HTML DOM TableHeader Object


TableHeader Object

The TableHeader object represents an HTML table header element.

For each instance of a <th> tag in an HTML document, a TableHeader object is created.

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

TableHeader Object Properties

Property Description IE  F O W3C
abbr Sets or returns an abbreviated text for the table header cell (for non-visual media such as speech or Braille) 6     Yes
accessKey Sets or returns the keyboard key to access the table header cell 5     ?
align Sets or returns the horizontal alignment of data within the table header cell 4     Yes
axis Sets or returns a comma-delimited list of related table header cells (categories) 6     Yes
cellIndex Returns the position of the cell in the cells collection of a row 4     Yes
ch Sets or returns the alignment character for the table header cell 6     Yes
chOff Sets or returns the offset of alignment character for the table header cell 6     Yes
colSpan Sets or returns the number of columns the table header cell should span 4     Yes
headers Sets or returns a list of space-separated header cell ids 6     Yes
height Sets or returns the height of the table header cell 4     ?
id Sets or returns the id of the table header cell (In IE 4 this property is read-only) 4     Yes
innerHTML Sets or returns the HTML between the start and end tags of the table header cell 4     ?
innerText Sets or returns the text between the start and end tags of the table header cell 4     ?
noWrap Sets or returns a Boolean value indicating whether or not the browser automatically performs word wrap in the table header cell 4     Yes
rowSpan Sets or returns the number of rows the table header cell should span 4     Yes
scope   6     Yes
tabIndex Sets or returns the tab order for the table header cell 5     Yes
vAlign Sets or returns how header cell content are vertically aligned 4     Yes
width Sets or returns the width of the table header cell 4     Yes



Learn XML with <oXygen/> XML Editor - Free Trial!

oXygen - Probably The World's Best XML Editor   

oXygen helps you learn to define, edit, validate and transform XML documents. Supported technologies include XML Schema, DTD, Relax NG, XSLT, XPath, XQuery, CSS.

Understand in no time how XSLT and XQuery work by using the intuitive oXygen debugger!

Do you have any XML related questions? Get free answers from the oXygen XML forum and from the video demonstrations.

Download a FREE 30-day trial today!




Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2008 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999
SITE SEARCH
 
About W3Schools
W3Schools Forum
Shopping Cart
ASP.NET
Shopping Cart
WEB HOSTING
$15 Domain Name
Registration
Save $20 / year!
UK Domain Names
UK Web Hosting

Alojamiento Web
Buy UK Domain Names
Register Domain Names
Cheap Domain Names
Cheap Web Hosting
Best Web Hosting
Domain Name Registration
PHP MySQL Hosting
Top 10 Web Hosting
Web Hosting Providers
Web Hosting Company
UK Reseller Hosting
Web Hosting
WEB BUILDING
Website Templates
Flash Templates
Website Builder
Internet Business Opportunity
Custom Programming
FREE Trial or Demo
Web Content Manager
Forms,Web Alerts,RSS
Ecommerce Software
XMLSpy XML Editor
Azbuz Blog
SHOPPING
UK Wholesalers
UK Wholesale
UAE Dubai Property
Private Student Loans
UK Dropshippers & Wholesalers Directory
EDUCATION
US Web Design Schools
HTML Exam
YELLOW PAGES
www.nettkatalogen.no
www.gulex.dk
www.gulex.se
www.gelbex.de
www.teloos.fi
www.teloos.fr
www.teloos.co.uk
www.teloos.at
www.teloos.de