An HTML table consists of the <table> element and one or more <tr>, <th>, and <td> elements.
The <tr> element defines a table row, the <th> element defines a table header, and the <td>
element defines a table cell.
A more complex HTML table may also include <caption>, <col>, <colgroup>, <thead>, <tfoot>,
and <tbody> elements.
<tr> Correct Ans-The <tr> tag defines a row in an HTML table.
A <tr> element contains one or more <th> or <td> elements.
<td> Correct Ans-The <td> tag defines a standard cell in an HTML table.
An HTML table has two kinds of cells:
Header cells - contains header information (created with the <th> element)
Standard cells - contains data (created with the <td> element)
The text in <th> elements are bold and centered by default.
The text in <td> elements are regular and left-aligned by default.
, <ol> Correct Ans-The <ol> tag defines an ordered list. An ordered list can be numerical or
alphabetical.
<ul> Correct Ans-The <ul> tag defines an unordered (bulleted) list.
Use the <ul> tag together with the <li> tag to create unordered lists.
<li> Correct Ans-The <li> tag defines a list item.
The <li> tag is used in ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).
<center> Correct Ans-The <center> tag is not supported in HTML5. Use CSS instead.
The <center> tag is used to center-align text.
<iframe> Correct Ans-The <iframe> tag specifies an inline frame.
An inline frame is used to embed another document within the current HTML document.
<h1> to <h6> Correct Ans-The <h1> to <h6> tags are used to define HTML headings.