ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing ExpertRating - Online Certification and Employment Testing

ExpertRating Home
ExpertRating Benefits
Recommend ExpertRating
Suggest More Tests
Privacy Policy
XHTML Tutorial - Index
XHTML Tutorial - Introduction to XHTML
XHTML Tutorial - Formatting
XHTML Tutorial - Links
XHTML Tutorial - Images
XHTML Tutorial - Forms
XHTML Tutorial - Tables
XHTML Tutorial - Frames
XHTML Tutorial - Style Sheets
XHTML Tutorial - Advanced Tags

Online Personal Trainer Certification
Personal Trainer Certification (Spanish)
Six Sigma Certification
Find a Personal Trainer
Project Management Certification
Six Sigma Certification
Six Sigma Black Belt Certification
Master Black Belt Certification
Six Sigma Green Belt Certification
Life Coach Certification
Lean Management Certification
Lean Six Sigma Certification
First Aid Certification
CPR Certification
Yoga Certification
Aerobics Certification
Pilates Certification
Business Analyst Certification
SEO Certification
Online Business Writing Course & Certification
Makeup Artist Certification
Baby Sitting Course & Certification
Time Management Certification
Health Club Management Certification
Medical Coding Certification
Medical Billing Certification
Business Analysis Course
Master Trainer Certification
Total Quality Management Certification
Kaizen Certification
Creative Writing Certification
Event Management Certification
Test Search by Job Title
Administrative Assistant Certification
Virtual Assistant Certification
  All Online Courses


  Home > Courses, Tutorials & eBooks > XHTML Tutorial > Tables
Previous  Next

XHTML Tutorial - Tables

                                                                             Page 5 of 5

This is how the web page looks


In this chapter you have learnt:

  • The table tag defines a table. Table headers, table rows, table cells and other tables can be displayed inside the <table> tags.
  • The “align” and “bgcolor” attributes of the <table> tag in HTML have been are not supported in XHTML.
  • Border, cellpadding, cellspacing, width, background, are all attributes of the table tag.
  • The tr tag is used to designate a table row.
  • Halign and valign are the attributes used for the alignment of the cells in the row.
  • The td tags sets a single table cell in which data is shown.
  • The th tag is used to write the header for a column or a row.
  • The col tag is used to define the attributes for one or more columns in an HTML table.
  • Colgroup defines a group of columns in the table and allows the user to set the properties of these columns.
Review Questions

Question 1

How can the border surrounding a table be set?


<table border=2> </table>

Question 2

What is the function of cellpadding?


It sets the amount of space between the cell walls and the contents

Question 3

What does align attribute do?


It sets the position of the table in relation to the page

Question 4

Which tag is used to designate a table row?


Tr tag

Question 5

What is the function of the col tag?


It defines the attributes for one or more columns in an HTML table

Question 6

What is the function of span attribute of col tag?


It indicates that how many columns the col tag effects


What's Next

The next chapter will acquaint you with the basic concepts of frames. This chapter will further elucidate how to divide the web page into different frames.

Hop over to the next chapter to get a close up on tables.



Home  |  About Us  |  Privacy Policy  |  Site Map  |  FAQs  |  Contact Us
© ExpertRating 2015. All Rights Reserved.