Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

Important Links

Answer»

HTML is an abbreviation for HyperText Markup Language. It is the standard go-to language to make web pages and is used to make the general structure of a website/webpage. HTML informs the web browser on how to display the content of the website when the user loads it. HTML consists of a series of elements, which label pieces of content as “heading”, “paragraph”, “link”, etc.

A standard HTML file is shown below:

<!DOCTYPE html>
<html>
<head>
<title>Title Page</title>
</head>
<body>

<h1>Heading Line</h1>
<p>Paragraph Lines</p>

</body>
</html>

From the above code, the components of an  HTML file document is as explained below:


  • <!DOCTYPE html> acts as a declaration that this document is an HTML5 document.

  • <html> element is the root element of the HTML page.

  • <head> element contains metadata for the HTML page.

  • <title> tag produces a title for the webpage we are currently rendering(our HTML page).

  • <body> defines the body of the document, and is basically a container for all the contents which is visible in the HTML page like hyperlinks, headings, titles, paragraphs, etc.

  • <h1> tag is basically a heading. The ‘1’ represents the size of the heading, 1 being the largest and 6 being the smallest.

  • <p> tag basically defines a paragraph.

The general syntax for an HTML element is defined by a start tag, an end tag, and some content enclosed within it. For some HTML elements, the end tag is not needed.


  • HTML Cheat Sheet

  • HTML Interview Questions

  • HTML Features

  • HTML IDE

  • HTML Books

  • HTML vs XML

  • HTML vs HTML5

  • HTML vs XHTML

  • HTML vs CSS

  • HTML vs Javascript

HTML MCQs