HTML Q & A
HTML Q & A
1. What is HTML?
Answer: HTML is the abbreviation for Hypertext Markup Language. It is the typical
documents’ markup language for developing web pages to display on the web
browser.
The extensions used to save HTML pages are .html and .htm.
HTML Elements
The sections of the web page, such as a paragraph, an image, or a link is an element,
and an element has a certain way of execution. For example, the link is used to be
clicked, and the text boxes can be used to input text.
HTML Tags
HTML elements communicate with the browser how to represent the text and
become HTML tags when enclosed within angular brackets <>.
4. If you want to display some HTML data in a table in tabular format, which HTML
tags will you use?
Answer: The HTML has a specific tag, i.e., the table tag to display data in tabular form.
Below is the list of the HTML tags used to display data in tabular form in HTML:
Tag
Description
<table>
For defining a table.
<caption>
For mentioning a caption to the table.
<tr>
For defining a row in a table.
<td>
For defining a cell in a table.
<th>
For defining a header cell in a table.
<tbody>
For grouping the body’s content in a table.
<col>
For specifying the column properties for each column of the table.
Answer:
An Image map lets you link different web pages with a single image. It is represented
with the <map> tag. Every employer expects the applicant to know about this, and this
has been one of the most commonly asked HTML interview questions.