Basics of Web Design: Html5 & Css3
Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 9, Problem 1RQ
Program Description Answer

<tr> tag is used to begin a table row while </tr> tag is used to end a table row.

Hence, the correct option is “B”.

Expert Solution & Answer
Check Mark

Explanation of Solution

“<tr> </tr>” tag pair:

  • In a Hypertext Markup Language (HTML) table, <tr> tag represents a table row. Hence <tr> </tr> is the HTML tag pair which is used to begin and end a table row.
  • Different attributes of <tr> tag include align which sets the horizontal alignment, valign which sets the vertical alignment, bgcolor which sets the background color, background which sets the background image and border color which sets color for all borders of a table.
  • <tr> element may consist of one or more <th> which contains header information or  <td> which contains data.
  • In HTML, <tr> tag generally supports both event and global attributes.

Explanation for incorrect options:

<td </td>  tag pair:

  • In HTML, <td> tag is used to define a cell which contains data in a table. It begins with <td> tag and ends with </td> tag.

Hence, the option “A” is wrong.

“<table> </table> tag pair:

  • In HTML, it defines a table. It begins with <table> tag and ends with </table> tag.

Hence, the option “C” is wrong.

“<th> </th> tag pair:

  • In HTML, <th> tag is used to define a header cell in a table. It begins with <th> tag and ends with </th> tag.

Hence, the option “D” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Of the optional table tags, which is the least likely to be used?   this is for HTML
Here a HTML code to create following table. Also set its border color to “red”. Dislike for incorrect also. Be.
Which one of the following function operates similarly to fgets(), except that it also strips any HTML and PHP tags form the input? i. fgetsh() ii. fgetsp() iii. fgetsa() iv. fgetss()
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning