HTML Table Headers
HTML tables can have headers for each column or row, or for many columns/rows.
EMIL | TOBIAS | LINUS |
---|---|---|
8:00 | ||
---|---|---|
9:00 | ||
10:00 | ||
11:00 | ||
12:00 | ||
13:00 |
MON | TUE | WED | THU | FRI | |
---|---|---|---|---|---|
8:00 | |||||
9:00 | |||||
10:00 | |||||
11:00 | |||||
12:00 |
DECEMBER | ||
---|---|---|
HTML Table Headers
Table headers are defined with th
elements, each th
element represents a table cell.
Example
<table> <tr> <th>Firstname</th> <th>Lastname</th> <th>Age</th> </tr> <tr> <td>Jill</td> <td>Smith</td> <td>50</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> <td>94</td> </tr> </table>
Vertical Table Headers
To use the first column as table headers, define the first cell in each row as a th
element:
Example
<table> <tr> <th>Firstname</th> <td>Jill</td> <td>Eve</td> </tr> <tr> <th>Lastname</th> <td>Smith</td> <td>Jackson</td> </tr> <tr> <th>Age</th> <td>94</td> <td>50</td> </tr> </table>
Align Table Headers
By default, table headers are bold and centered:
Firstname | Lastname | Age |
---|---|---|
Jill | Smith | 50 |
Eve | Jackson | 94 |
To left-align the table headers, use the CSS text-align
property:
Example
th {
text-align: left;
}
Header for Multiple Columns
You can have a header that spans over two or more columns.
Name | Age | |
---|---|---|
Jill | Smith | 50 |
Eve | Jackson | 94 |
To do this, use the colspan
attribute on the <th>
element:
Example
<table> <tr> <th colspan="2">Name</th> <th>Age</th> </tr> <tr> <td>Jill</td> <td>Smith</td> <td>50</td> </tr> <tr> <td>Eve</td> <td>Jackson</td> <td>94</td> </tr> </table>
Table Caption
You can add a caption that serves as a heading for the entire table.
Month | Savings |
---|---|
January | $100 |
February | $50 |
To add a caption to a table, use the <caption>
tag:
Example
<table style="width:100%"> <caption>Monthly savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$50</td> </tr> </table>
<caption>
tag should be inserted immediately after the <table>
tag.
levaquin 250mg ca generic levofloxacin 500mg
dutasteride generic avodart pills ondansetron 8mg for sale
aldactone 100mg sale buy valacyclovir online purchase fluconazole online
buy ampicillin 500mg sale erythromycin 250mg for sale order erythromycin 500mg for sale
cheap fildena nolvadex 20mg brand oral robaxin
buy suhagra 100mg generic buy aurogra online buy estradiol 2mg without prescription
oral lamotrigine lamotrigine 50mg sale tretinoin uk
tadalis 10mg pills avana 200mg pill buy diclofenac 100mg online cheap
oral isotretinoin accutane 40mg sale zithromax usa
indomethacin online buy buy generic indocin 75mg buy amoxicillin 500mg pills
buy tadalafil online cheap Brand viagra over the net viagra 25mg price
order anastrozole 1mg Buy generic viagra online sildenafil 50mg usa
acheter 40mg cialis en ligne viagra 25mg generique viagra 200mg pour homme
deltasone 10mg brand viagra sildenafil 50mg buy sildenafil 100mg pills
cialis 10mg kaufen tadalafil kaufen generika sildenafil 200mg kaufen generika
isotretinoin 20mg pill buy stromectol 6mg generic stromectol 3mg
provigil online buy buy modafinil 200mg for sale order acetazolamide 250mg generic
doxycycline 100mg oral buy lasix 100mg pill order furosemide 100mg online cheap
order altace 5mg for sale order astelin sale azelastine 10ml without prescription
clonidine order online order clonidine 0.1mg pills tiotropium bromide 9mcg cost
purchase buspirone sale phenytoin order online purchase oxybutynin pills
hytrin 1mg for sale arava 10mg without prescription sulfasalazine for sale online
olmesartan 20mg oral buy benicar 20mg online buy diamox 250 mg
cost prograf 1mg tacrolimus 5mg canada urso 300mg for sale
order imdur generic telmisartan usa buy micardis for sale
zyban online order zyban 150mg for sale order quetiapine pills
buy molnunat without prescription order naproxen 250mg generic buy lansoprazole 15mg sale
order sertraline 50mg online order sildenafil pill order sildenafil sale
order imuran sildenafil overnight shipping sildenafil overnight
buy generic tadalafil generic viagra super active 100mg female viagra sildenafil
cheap tadalafil online cost cialis 5mg symmetrel 100 mg generic
purchase revia without prescription order aripiprazole 30mg online cheap purchase aripiprazole pills
avlosulfon 100mg over the counter brand dapsone 100 mg generic perindopril 8mg
buy provera online cheap periactin 4 mg cheap buy cyproheptadine online
buy generic fluvoxamine 100mg fluvoxamine 50mg pill order glipizide 5mg
buy accutane 20mg generic accutane 40mg oral order prednisone 40mg without prescription
buy nootropil pills viagra 50mg without prescription usa viagra sales
guaranteed cialis overnight delivery usa purchase tadalafil online cheap viagra tablets
coupon for cialis order clomipramine 50mg generic anafranil 25mg tablet
https://drugsoverthecounter.shop/# best over the counter medicine for sore throat
over the counter steroid cream tamiflu over the counter
best over the counter toenail fungus treatment over the counter eye drops for pink eye
https://over-the-counter-drug.com/# hydroxychloroquine over the counter
best sleep aid over the counter uti over the counter
https://over-the-counter-drug.com/# over the counter erectile dysfunction pills
best allergy medications over-the-counter ivermectin over the counter
strongest diuretic over the counter eczema treatment over the counter
https://over-the-counter-drug.com/# over the counter pills like viagra
wellcare over the counter ordering over the counter essentials login
over the counter heartburn medicine pantoprazole over the counter
rightsource over the counter over the counter antibiotics for tooth infection
over the counter bv treatment diflucan over the counter
over the counter yeast infection treatment yeast infection treatment over the counter
https://over-the-counter-drug.com/# best over the counter sleep aid
over the counter sleeping pills over the counter inhaler walmart
over the counter bv treatment strongest antifungal over the counter
https://over-the-counter-drug.com/# muscle relaxer over the counter
epinephrine over the counter is zofran over the counter
uti over the counter strongest over the counter painkiller
minocycline hydrochloride stromectol pills
https://stromectol.science/# stromectol xr
generic zithromax buy zithromax online fast shipping
ivermectin 6mg tablet for lice buy minocycline 50 mg tablets
https://zithromax.science/# zithromax over the counter canada
buy zithromax online where can i purchase zithromax online
https://doxycycline.science/# buy doxycycline online 270 tabs
buy amoxil order amoxicillin no prescription
https://stromectol.science/# stromectol buy uk
zithromax 1000 mg online buy zithromax
https://doxycycline.science/# order doxycycline 100mg without prescription
generic for amoxicillin amoxicillin capsule 500mg price
buy doxycycline online doxycycline prices or doxycycline tablets
http://www.yu-kari-ofuna.com/feed2js/feed2js.php?src=http://doxycycline.science doxycycline order online
online doxycycline cheap doxycycline online and buy doxycycline hyclate 100mg without a rx buy generic doxycycline
buy minocycline 100 mg online buy stromectol
https://stromectol.science/# stromectol generic name
where can i buy amoxicillin without prec amoxicillin 500 mg cost
ivermectin buy online minocycline pill or buy ivermectin nz
http://voiceoflincolnshire.com/__media__/js/netsoltrademark.php?d=stromectol.science ivermectin cream 1%
stromectol xr stromectol xr and minocycline 50mg tablets online ivermectin goodrx
https://stromectol.science/# cost of ivermectin pill
buy zithromax online generic zithromax india
zithromax 500 mg zithromax 500 mg lowest price online or generic zithromax azithromycin
http://objectifconseils.com/__media__/js/netsoltrademark.php?d=zithromax.science zithromax prescription in canada
buy zithromax online fast shipping generic zithromax 500mg and can you buy zithromax over the counter in mexico azithromycin zithromax
amoxicillin 500 coupon amoxil
https://amoxil.science/# azithromycin amoxicillin
doxycycline 100mg tablets doxycycline 100mg capsules
amoxicillin online canada amoxil for sale
https://stromectol.science/# stromectol tablets 3 mg
zithromax zithromax order online uk
https://zithromax.science/# zithromax generic price
how much is amoxicillin prescription cheap amoxicillin 500mg or amoxil generic
http://theflavorsoffrance.com/__media__/js/netsoltrademark.php?d=amoxil.science amoxicillin 500 mg without prescription
buy amoxicillin 250mg amoxicillin 500mg tablets price in india and amoxicillin 500 mg price amoxicillin over the counter in canada
https://stromectol.science/# minocin 50 mg for scabies
stromectol pills minocycline 100mg without doctor
doxycycline 100mg buy doxycycline online or doxycycline 50mg
http://www.radioranchobelago.net/__media__/js/netsoltrademark.php?d=doxycycline.science doxycycline 100mg
doxy doxycycline hydrochloride 100mg and doxycycline generic doxycycline tetracycline
doxycycline monohydrate generic doxycycline or buy doxycycline 100mg
http://door4me.com/__media__/js/netsoltrademark.php?d=doxycycline.science buy doxycycline hyclate 100mg without a rx
doxylin buy doxycycline without prescription uk and doxycycline generic buy doxycycline 100mg
where to buy zithromax in canada zithromax
https://zithromax.science/# zithromax for sale online
generic zithromax order zithromax without prescription
stromectol covid ivermectin buy online or stromectol 6 mg tablet
http://alarmsystemreview.com/__media__/js/netsoltrademark.php?d=stromectol.science minocycline 100 mg tablets for human
ivermectin cost uk ivermectin 200 mcg and can you buy stromectol over the counter buy minocycline 100 mg
stromectol price cheap stromectol
https://stromectol.science/# minocycline 100mg tablets
buy zithromax online zithromax 500 mg
https://zithromax.science/# generic zithromax over the counter
generic zithromax where can i buy zithromax in canada
Everything information about medication. Prescription Drug Information, Interactions & Side.
ivermectin 8000
Actual trends of drug. Read information now.
Read information now. Read here.
ivermectin 50 mg
Long-Term Effects. Drugs information sheet.
Get information now. Read information now.
https://stromectolst.com/# ivermectin 4
Prescription Drug Information, Interactions & Side. drug information and news for professionals and consumers.
Everything information about medication. Drug information.
stromectol where to buy
Commonly Used Drugs Charts. Everything about medicine.
Commonly Used Drugs Charts. Learn about the side effects, dosages, and interactions.
https://stromectolst.com/# stromectol how much it cost
Drug information. Drugs information sheet.
ivermectin 12 mg minocycline generic or stromectol in canada
http://earnestcontender.com/__media__/js/netsoltrademark.php?d=stromectol.science minocycline efectos secundarios
buy minocycline 100 mg otc minocycline 100 mg without a doctor and ivermectin 5 ivermectin cream cost
ivermectin 3mg stromectol tab 3mg or ivermectin 4000 mcg
http://bostonhotsauce.com/__media__/js/netsoltrademark.php?d=stromectolst.com stromectol where to buy
generic ivermectin cost of ivermectin 1% cream and cost of ivermectin stromectol generic name
ivermectin humans buy ivermectin or ivermectin pill cost
http://eurongbeachresort.com/__media__/js/netsoltrademark.php?d=stromectolst.com where to buy ivermectin
buy stromectol ivermectin 50 and buy ivermectin nz ivermectin lotion price
Read now. Best and news about drug.
https://stromectolst.com/# cost of ivermectin pill
Generic Name. Get information now.
п»їMedicament prescribing information. Learn about the side effects, dosages, and interactions.
ivermectin 1% cream generic
Definitive journal of drugs and therapeutics. п»їMedicament prescribing information.
stromectol 0.5 mg ivermectin buy canada or stromectol 3 mg tablets price
http://riskythoughts.com/__media__/js/netsoltrademark.php?d=stromectol.science ivermectin 0.08%
stromectol xl stromectol liquid and minocycline 50mg pills minocycline 100mg tablets
Get information now. Best and news about drug.
ivermectin lotion price
п»їMedicament prescribing information. Cautions.