All HTML Interview Questions & Answers

The complete set of HTML Interview Questions & Answers. These FAQs focus on mostly HTML but also on CSS, JavaScript & jQuery. HTML FAQs available for freshers as well as experienced.

What is the full form of HTML?

HTML stands for Hyper Text Markup Language. It is used to create and format Web documents.


How to add Comments in HTML?

Comment tags <!-- and --> are used to insert comments in HTML.


How do you create links to sections within the same page?

Internal links make it easy for your users to jump to different parts of your page.
Destination Anchors: <a name="top"></a> Source Anchors: <a href="#top">Top </a>


Do all HTML tags require both a begin and end tag?

No, some tags do not come in pair.

For an example: <img> tag and <br> tag do not require end tags.


How to Add the Copyright Symbol to Web Page?

To insert the copyright symbol, use &copy; or &#169; in an HTML file.


What do you mean by HTML Links?

Html links are used to jump on various web pages or to the same or another document. A web page contains various links in a document. The tag which is used to create link is anchor tag i.e. <a> </a>. The <a> tag defines a hyperlink, which is used to link from one page to another.

In a web browser, by default link appear like this – A visited link is underlined and purple, An unvisited link is underlined and blue, An active link is underlined and red.