Question

In: Computer Science

Mark is a fitness trainer and uses a webpage that maintains his list of client information...

  1. Mark is a fitness trainer and uses a webpage that maintains his list of client information and training schedules. Mark's webpage maintenance in charge, Jenny, has been asked to use tables instead of bulleted lists to keep track of all the data in an organized and clear manner.

    ​Jenny has to create a table that contains one header row and three columns, one each for Balance exercise, Strength exercise, and Endurance exercise. Identify the format that Jenny uses to create this type of a table.

    a. <th>

       <tr>Balance exercise</tr>

       <tr>Strength exercise</tr>

       <tr>Endurance exercise</tr>

    </th>

    b.

    <tr>

       <th>Balance exercise</tr>

       <th>Strength exercise</tr>

       <th>Endurance exercise</tr>

    </th>

    c.

    </tr/>

       <th>Balance exercise</th>

       <th>Strength exercise</th>

       <th>Endurance exercise</th>

    </tr/>

    d.

    <tr>

       <th>Balance exercise</th>

       <th>Strength exercise</th>

       <th>Endurance exercise</th>

    </tr>

  2. ​The figure element may contain an optional _____, which is used to provide a caption for the figure element.

    a.

    ​figure caption element

    b.

    ​image caption element

    c.

    ​embedded figure element

    d.

    ​external figure element

  3. Identify the Hypertext Markup Language (HTML) element that can be used to incorporate video.​

    a.

    ​create

    b.

    ​load

    c.

    ​embed

    d.

    ​insert

Solutions

Expert Solution

Answer 1) (D) is the correct option.

<tr>

<th>Balance exercise</th>

   <th>Strength exercise</th>

   <th>Endurance exercise</th>

</tr>

In order to create a table header. we first create a row using <tr> tag and then we include each header column using <th> tag. In option (D) we first created a table row <tr> and then included the columns using <th> which is the correct format to create a header in Html table.

option (A) is wrong because the format is wrong because we are using <th> to create a row and <tr> for the column which is the wrong format.

option (B) is incorrect because the syntax is wrong. As opened the <tr> tag and closing it with the opposite tag </th>.

option (C) is incorrect because the syntax is wrong as there are two slashes in </tr/>. There should be only one slash for the closing tag.

Answer 2) (A) figure caption element

<figcaption> tag is used to provide a caption to a figure in Html. See example beow how <figcaption> is used.

<figure>
  <img src="abc.jpg">
  <figcaption>Fig.1 - Apple Image.</figcaption>
</figure>

Answer 3) (C) embed

<embed> tag is used as a container for external resources such as video, images and so on. See example below how to embed a video.

<embed type="video/webm" src="animals.mp4" width="450" height="350">

Please Rate the Question. Thank you!

   


Related Solutions

Mark is a radiologist and maintains a radiology practice (X-ray). Jennifer is an Information Systems Specialist...
Mark is a radiologist and maintains a radiology practice (X-ray). Jennifer is an Information Systems Specialist and has created a computer program for the administration and operation of radiology offices. Both have decided to join to create the X-Rays Software Corp. (hereinafter X-Rays). The corporation, for profit, was organized under the laws of its state of organization on January 2, 2018. X-Rays made the election of Corporation S after complying with all the requirements established in the Federal Internal Revenue...
Mark Ilescu is a 44-year-old client who has been diagnosed with primary hypertension. His medical history...
Mark Ilescu is a 44-year-old client who has been diagnosed with primary hypertension. His medical history includes type 1 diabetes mellitus, with early signs of nephropathy. He had a myocardial infarction 2 years ago and has been treated with a beta-blocker, metoprolol, since that time. He has been taking hydrochlorothiazide in addition to the beta-blocker to treat his hypertension. His blood pressure today is 138/92 mm Hg, which is consistent with the readings on his last three visits. His physician...
(Accountinf Information system) List the three DBMS "languages" and describe who uses each and for what...
(Accountinf Information system) List the three DBMS "languages" and describe who uses each and for what purpose.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT