BizTalk Utilities CV ,   Jobs ,   Code library  
 
Home Page
XHTML
The XHTML <tfoot> Tag
The XHTML <textarea> Tag
The XHTML <td> Tag
The XHTML <tbody> Tag
The XHTML <table> Tag
The XHTML <s> and <strike> Tags
The XHTML <sub> and <sup> Tags
The XHTML <style> Tag
The XHTML <span> Tag
The XHTML <select> Tag
The XHTML <script> Tag
The XHTML <q> Tag
The XHTML <pre> Tag
The XHTML <phrase_tags> Tag
The XHTML <param> Tag
The XHTML <p> Tag
The XHTML <option> Tag
The XHTML <optgroup> Tag
The XHTML <ol> Tag
The XHTML <object> Tag
<< XALAN
XML DOM >>

By :Mark Wilson
I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :03/24/2008
Times viewed :375

 

The <th> Tag (XHTML Reference)

Introduction

The <th> tag is used to define a table header. You should include this tag nested in a <tr> row tag. It can be useful to show some header information about the current row. The <th> tag just displays the text as bold.

Example

<table border="1">

  <thead>

  <tr>

    <th>User</th>

    <th>EMail</th>

    <th>Permission</th>

  </tr>

  </thead>

  <tbody>

  <tr>

    <td>Sonu</td>

    <td>sonu@XXXX.com</td>

    <td>Admin</td>

  </tr>

  <tr>

    <td>Mark</td>

    <td>Mark@XXXX.com</td>

    <td>Admin</td>

  </tr>

  </tbody>

  <tfoot>

  <tr>

    <td colspan="3"><b>2 Users found</b></td>

  </tr>

  <tr>

  </tfoot>

</table>

Output

Attributes

Name:

Description:

abbr

Defines a short version of the content of the cell.

align

Aligns the table cell with one of the following options horizontal.

left

right

center

axis

Defines a list of categories, which belongs to the cell.

bgcolor

The background color of the page. The value can be one of the following:

rgb(x,x,x) = the color values from 0-255

#xxxxxx = hex value of the color

Colorname = any colorname

char

This attribute can be only used if you set the align attribute to char. The usage of the attribute is to set the alignment character. This can be very useful if you have a table row with decimal numbers and would like to align the row according to the decimal point.

charoff

Defines in conjunction with the “align” attribute the position of the alignment character.

colspan

Defines through how many cells the current cell is spanned.

headers

Defines a list of IDs of rows and columns that supplies header information.

height

Defines the height of the cell in pixel or percent.

nowrap

This is an empty attribute and defines that the cell isn’t wrapped.

rowspan

Defines through how many rows the current row is spanned.

scope

Specifies for the rest of the row and column the header information. The value must be one of the following values.

row

col

rowgroup

colgroup

valign

Aligns the cell vertically with one of the following options.

top

middle

bottom

baseline

width

Defines the width of the cell in pixel or percent.


Rate this article on a scale of 1 to 10

Your vote :  


 

Recent Jobs

An immediate job opportunity as a B
Software Developers Needed in Charl
Sr. Software Engineer - Analytics
Immediate Mainframe openings for Ch
Immediate TANDEM-TAL openings for C

View all Jobs (Add yours)
View all CV (Add yours)



answering service
it outsourcing
swimming pool builder
conference call for CA
water softener
Teleconference
Host Department NOLIMIT Web Hosting
MSN
sunglasses


    Email TopXML  

Front Page Daily Stuff TopXML Forum XML blogs XML Newsgroups BizTalk Biztalk Utilities Biztalk Utilities Tutorial B2B SAP XML Microsoft .NET Dotnet System XML Soapformatter SQLXML XMLserializer XQuery PHP PHP SimpleXML PHP XML Dom PHP XML RPC PHP XSLT Java Java Java XML Xalan Microsoft ASP ASP Schemas XML SQL Server XML XMLDom XSL XSL Tutorial XSLT Stylesheets General Javascript CSS XHTML WAP