Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Structure | Document Structure
Ultimate HTML
course content

Course Content

Ultimate HTML

Ultimate HTML

1. Web Development
2. Tags and Attributes
3. Document Structure
4. Media and Tables
5. Forms

book
Structure

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

html

index

css

index

js

index

copy

Document type declaration

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

html

index

css

index

js

index

copy

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.

html

index

css

index

js

index

copy

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.

html

index

css

index

js

index

copy

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.

html

index

css

index

js

index

copy
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?

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?

What are the correct statements?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 3. Chapter 2
We're sorry to hear that something went wrong. What happened?
some-alt