HTML All Topics
HTML All Topics
An HTML element's structure in detail is given in the picture above. An HTML file
is saved with the.htm or.html extension, is provided by a web server, and may
be viewed in any web browser.
An example which shows the usage of the <ol>, <ul>, <li> elements is given below
<em>...</em>: The HTML <em> element denotes text with a strong focus on
it.
The em> element can be used in a variety of ways, nested, with each level
of nesting denoting a higher level of importance. An example that shows
the usage of the <em> element is given below:
<ins> element.
An example which shows the usage of the <del> element and <ins> element is
given below:
11. HTML Elements: Tables
<table>...</table>: The HTML <table> element is used to display
tabular data, which is information presented in a two dimensional table with
rows and columns of data filled cells.
<caption>...</caption>: The HTML Table Caption element (<caption>)
specifies a table's caption (or title), and is always the first child of a
<table> if it is utilised.
<thead>...</thead>: The HTML <thead> element creates a series of rows
that constitute the table's column heads.
<tbody>...</tbody>: The HTML Table Body element (<tbody>) incorporates
a collection of table rows (<tr> elements) that make up the table's body
(<table>).
<td>...</td>: The HTML <td> element designates a data-filled table cell.
It is a part of the table model.
<tr>...</tr>: A row of cells in a table is defined using the HTML <tr>
element.
Cells for the row can then be created using a combination of <td> (data cell)
and
<th> (header cell) components.
<th>...</th>: A cell is designated as the header of a set of table cells by
the HTML <th> element. The scope and header attribute specify the exact
nature of this group.
<tfoot>...</tfoot>: The HTML <tfoot> element defines a series of rows that
summarise the table's columns.
An example that shows the usage of a table in HTML is given below:
12. HTML Elements: Forms
<option> components that indicate the values that can be used for other
controls
<input>: The HTML <input> element is used to create interactive controls
for web based forms in order to accept data from the user; depending on
the device and user, a range of sorts of input data and control widgets are
accessible.
Examples of the usage of the input element have been given above.