81. Which HTML element is used to create a table?
- a) <table>
- b) <tab>
- c) <grid>
- d) <tbl>
Answer: A - The <table> element defines an HTML table.
82. Which HTML element defines a table row?
- a) <td>
- b) <tr>
- c) <th>
- d) <row>
Answer: B - The <tr> element defines a table row.
83. Which HTML element defines a table header cell?
- a) <td>
- b) <thead>
- c) <th>
- d) <header>
Answer: C - The <th> element defines a table header cell.
84. Which HTML element defines a table data cell?
- a) <td>
- b) <tr>
- c) <data>
- d) <cell>
Answer: A - The <td> element defines a standard data cell in a table.
85. Which HTML element groups the header content in a table?
- a) <head>
- b) <thead>
- c) <tfoot>
- d) <header>
Answer: B - The <thead> element groups the header content in a table.
86. Which HTML element groups the body content in a table?
- a) <tbody>
- b) <body>
- c) <main>
- d) <content>
Answer: A - The <tbody> element groups the body content in a table.
87. Which HTML element groups the footer content in a table?
- a) <foot>
- b) <tfoot>
- c) <footer>
- d) <bottom>
Answer: B - The <tfoot> element groups the footer content in a table.
88. Which HTML attribute specifies the number of columns a cell should span?
- a) colspan
- b) rowspan
- c) span
- d) merge
Answer: A - The colspan attribute defines how many columns a cell should span.
89. Which HTML attribute specifies the number of rows a cell should span?
- a) colspan
- b) rowspan
- c) span
- d) merge
Answer: B - The rowspan attribute defines how many rows a cell should span.
90. Which HTML element defines a caption for a table?
- a) <title>
- b) <caption>
- c) <label>
- d) <heading>
Answer: B - The <caption> element defines a table caption.
91. Which HTML element is used to embed audio content?
- a) <music>
- b) <audio>
- c) <sound>
- d) <media>
Answer: B - The <audio> element embeds sound content (HTML5).
92. Which HTML element is used to embed video content?
- a) <movie>
- b) <video>
- c) <media>
- d) <play>
Answer: B - The <video> element embeds video content (HTML5).
93. Which HTML element specifies multiple media resources?
- a) <source>
- b) <media>
- c) <src>
- d) <resource>
Answer: A - The <source> element specifies multiple media resources for <video>, <audio>, and <picture>.
94. Which HTML element defines text tracks for media elements?
- a) <caption>
- b) <track>
- c) <text>
- d) <subtitle>
Answer: B - The <track> element defines text tracks for <video> and <audio> (HTML5).
95. Which HTML element embeds external applications?
- a) <app>
- b) <embed>
- c) <object>
- d) Both b and c
Answer: D - Both <embed> and <object> elements embed external applications.
96. Which HTML element defines parameters for plugins?
- a) <param>
- b) <parameter>
- c) <option>
- d) <setting>
Answer: A - The <param> element defines parameters for an <object> element.
97. Which HTML element defines a container for external content?
- a) <iframe>
- b) <frame>
- c) <inlineframe>
- d) <external>
Answer: A - The <iframe> element defines an inline frame for embedding external content.
98. Which HTML element defines alternative content for users without JavaScript?
- a) <alt>
- b) <noscript>
- c) <nojs>
- d) <fallback>
Answer: B - The <noscript> element defines content for users without client-side scripts.
99. Which HTML element defines a container for SVG graphics?
- a) <svg>
- b) <canvas>
- c) <vector>
- d) <graphic>
Answer: A - The <svg> element defines a container for SVG graphics.
100. Which HTML element defines a drawing surface for JavaScript?
- a) <svg>
- b) <canvas>
- c) <draw>
- d) <artboard>
Answer: B - The <canvas> element provides a drawing surface for JavaScript (HTML5).