course content

Course Content

Ultimate HTML


An HTML document looks like a tag tree. The next set of following tags is the bare minimum required for any HTML document and serves as its foundation, much like the foundation of a house.

Document type declaration

<!DOCTYPE > is not considered as a tag but a mandatory declaration specifying the document type and version. This declaration is necessary for the browser to interpret and render the HTML document correctly. Based on the doctype browser can display the page correctly. The document-type declaration must be the first thing the browser meets when working with an HTML document.

Top-level Elements

Top-level Elements are designed to establish the fundamental structure of a webpage and identify the document's head and body sections.

<html> tag

The root element of an HTML document is the <html> tag, which serves as a container for all the content on the page. It is the first tag that appears in an HTML document and defines the beginning and end of the document's HTML code. Anything outside the <html> tag is not recognized as HTML code by the browser and is not processed. The attribute lang is used to identify the language of text content.

<head> tag

An HTML document's <head> tag contains metadata for the web page, such as the page's heading, description, encoding, etc. This information is not visible in the browser window. However, it instructs the browser on processing and displaying the page.

<body> tag

The <body> tag contains all the visible content of a web page, such as text, images, links, and multimedia. It is the main section where website authors add the content users see in the browser window.

1. What is the minimum required set of tags, which serves as the basis for any HTML document?
2. What are the correct statements?


What is the minimum required set of tags, which serves as the basis for any HTML document?

Select the correct answer


What are the correct statements?

Select the correct answer

Section 3.

Chapter 1