HTML5, CSS3, and JavaScript Fourth Edition

(Ben Green) #1

CHAPTER 16. TABLES 163


The size of each cell is determined automatically by the browser so the web
designer does not have to worry about it. You can specify the width if you
want. More on that below.


Theclosing tag is optional because it is implied whenever a new row
starts or when the table ends.


Theandclosing tags are optional because they are implied
whenever a new cell starts or when the row ends.


Exam Question 287(p.353): For each

tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:required


Exam Question 288(p.353):The HTML tag “tr” stands for what word(s)?
Acceptable Answer:table row


Exam Question 289(p.353): For each

tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:optional


Exam Question 290(p.353):The HTML tag “th” stands for what word(s)?
Acceptable Answer:table heading


Exam Question 291(p.353): For each

tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:optional


Exam Question 292(p.353):The HTML tag “td” stands for what word(s)?
Acceptable Answer:table data


Exam Question 293(p.353): For each

tag in valid HTML5, is a
separate closing tag required, optional, or forbidden?
Required Answer:optional


Exam Question 294(p.353):Can tables be nested (a table inside a table)?
Required Answer:yes


Here is an example of a simple table:



Left HeaderMiddle HeaderRight Header
Upper LeftUpper MiddleUpper Right
Middle LeftMiddle MiddleMiddle Right
Lower LeftLower MiddleLower Right