Hosting Solutions
mobile_logo Table of Contents
seal_frontseal_back

thead

The <thead> element is used to contain rows of table header cells and other cells that might make up the table head.

Code Example

<table border="1"> <thead style="color:#900;"> <tr> <th>Technology</th> <th>Technicians</th> </tr> <tr> <td>In-house Development</td> <td>Developers to call on</td> </tr> </thead> <tbody> <tr> <td>CSS</td> <td>Craig, Susan, Edward, Ryan</td> </tr> <tr> <td>JavaScript</td> <td>Lisa, Anthony, Kevin, Sarah</td> </tr> <tr> <td>PHP</td> <td>Sandeep, Scott, Patricia, Deepak</td> </tr> </tbody> </table> open in code editor

Attributes

globals - the global attributes common to all elements possible values: see global attribute list

Official Documentation

http://www.w3.org/TR/html/tabular-data.html#the-thead-element

HTML

Elements

aabbraddressareaasidearticleaudiobbasebdobdiblockquotebodybrbuttoncanvascaptioncitecodecolcolgroupdatadatalistdddeldetailsdfndialogdivdldtemembedfieldsetfigcaptionfigurefooterformh1 h2 h3 h4 h5 h6headheaderhrhtmliiframeimginputinskbdkeygenlabellegendlilinkmainmapmarkmetameternavnoscriptobjectoloptgroupoptionoutputpparampreprogressqrb rp rt rtc rubyssampscriptsectionselectsmallsourcespanstrongstylesub supsummarytabletbodytdtemplatetextareatfootththeadtimetitletrtrackuulvarvideowbr