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
language: HTML   Create a responsive webpage for food items. there are three requirements 1: when the user hovers over the item name ('item 1') the details of the item should be displayed. the text should return back to the original (aka from the food description to the food name ) after the mouse pointer moves away   2. When the user clicks 'add to cart' for an item, the 'cart total' is updated, and the button to add the item to the cart is disabled so that it cannot be added twice. 3. the user can input an amount into the 'confirm purchase' section and click the button. If the amount is less than the 'cart total', the following alert should be shown:  "payment amount is less than cart total" otherwise: "payment complete"
JavaScript
write html code for drawing given table. give some choices in select city option as well
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
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L