w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

HTML DOM TableCell Object

« Previous Next Chapter »

TableCell Object

The TableCell object represents an HTML table cell.

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

IE: Internet Explorer, F: Firefox, O: Opera, W3C: W3C Standard.

TableCell Object Properties

Property Description IE F O W3C
abbr Sets or returns an abbreviated version of the content in a table cell 6 1 9 Yes
align Sets or returns the horizontal alignment of data within a table cell 4 1 9 Yes
axis Sets or returns a comma-delimited list of related table cells 6 1 9 Yes
cellIndex Returns the position of a cell in the cells collection of a row 4 1 9 Yes
ch Sets or returns the alignment character for a table cell       Yes
chOff Sets or returns the offset of alignment character for a table cell       Yes
colSpan Sets or returns the number of columns a table cell should span 4 1 9 Yes
headers Sets or returns a list of space-separated header-cell ids       Yes
id Sets or returns the id of a table cell 4 1 9 Yes
innerHTML Sets or returns the HTML between the start and end tags of a table cell 4 1 9 No
rowSpan Sets or returns the number of rows a table cell should span 4 1 9 Yes
scope Sets or returns if this cell provides header information       Yes
vAlign Sets or returns the vertical alignment of data within a table cell 4 1 9 Yes
width Sets or returns the width of a table cell 4 1 9 Yes

Standard Properties

Property Description IE F O W3C
className Sets or returns the class attribute of an element 5 1 9 Yes
dir Sets or returns the direction of text 5 1 9 Yes
lang Sets or returns the language code for an element 5 1 9 Yes
title Sets or returns an element's advisory title 5 1 9 Yes

« Previous Next Chapter »


Altova® XMLSpy® - The industry-leading XML editor!

Altova XMLSpy

Whether you're new to XML or already an advanced user, the user-friendly views and powerful entry helpers, wizards, and debuggers in XMLSpy are designed to meet your XML and Web development needs from start to finish. New features in Version 2010!

  • XML editor
  • Graphical XML Schema / DTD editors
  • XSLT 1.0/2.0 editor, debugger, profiler
  • XQuery editor, debugger, profiler
  • XBRL validator, taxonomy editor, taxonomy wizard
  • Support for Office Open XML (OOXML)
  • Graphical WSDL 1.1/2.0 editor & SOAP debugger
  • JSON editing & conversion
  • Java, C#, C++ code generation
  • And much more!

Download a free trial today!

  Altova XMLSpy


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
Download XML Editor
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display