NAME
HTML::Object::DOM::Element::TableCol - HTML Object DOM TableCol Class
SYNOPSIS
use HTML::Object::DOM::Element::TableCol;
my $col = HTML::Object::DOM::Element::TableCol->new ||
die( HTML::Object::DOM::Element::TableCol->error, "\n" );
VERSION
v0.2.0
DESCRIPTION
This interface provides special properties (beyond the HTML::Object::DOM::Element interface it also has available to it inheritance) for manipulating single or grouped table column elements using the colgroup
or col
HTML tag.
The <colgroup> HTML element defines a group of columns within a table. The <col> HTML element defines a column within a table and is used for defining common semantics on all common cells. It is generally found within a <colgroup> element.
<table>
<colgroup span="4">Countries information</colgroup>
<col>
<col class="economic">
<col span="2" class="people">
</colgroup>
<tr>
<th>Countries</th>
<th>Capitals</th>
<th>Population</th>
<th>Language</th>
</tr>
<tr>
<td>Japan</td>
<td>Tokyo</td>
<td>126 million</td>
<td>Japanese</td>
</tr>
<tr>
<td>Taiwan</td>
<td>Taipei</td>
<td>23 million</td>
<td>Traditional Chinese</td>
</tr>
</table>
INHERITANCE
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +--------------------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Node | --> | HTML::Object::DOM::Element | --> | HTML::Object::DOM::Element::TableCol |
+-----------------------+ +---------------------------+ +-------------------------+ +----------------------------+ +--------------------------------------+
PROPERTIES
Inherits properties from its parent HTML::Object::DOM::Element
span
Is an unsigned long that reflects the span HTML attribute, indicating the number of columns to apply this object's attributes to. Must be a positive integer.
See also Mozilla documentation
METHODS
Inherits methods from its parent HTML::Object::DOM::Element
DEPRECATED PROPERTIES
align
Is a string that indicates the horizontal alignment of the cell data in the column.
See also Mozilla documentation
ch
Is a string representing the alignment character for cell data.
See also Mozilla documentation
chOff
Is a string representing the offset for the alignment character.
See also Mozilla documentation
choff
Alias for "chOff"
vAlign
Is a string that indicates the vertical alignment of the cell data in the column.
See also Mozilla documentation
valign
Alias for "vAlign"
width
Is a string representing the default column width.
See also Mozilla documentation
AUTHOR
Jacques Deguest <jack@deguest.jp>
SEE ALSO
Mozilla documentation, Mozilla documentation on tablecol element
COPYRIGHT & LICENSE
Copyright(c) 2022 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.