HTML Basic Example
Don’t worry if you haven’t read about these used tags.
You are going to read about these tags in our next chapter.
All HTML documents must begin with a declaration of the document type >.
HTML document itself starts with and ends with .
The visible part of an HTML document is the part between and .
My first heading is
My first paragraph is .
HTML headings are placed between
tags. is defined with.
defines the most important heading.
defines the least important heading: example
This is the heading 1
This is the heading 2
This is the heading 3
HTML paragraphs are defined with
This is a paragraph.
This is the second paragraph.
Links are defined with the tag:
Attributes are used to provide additional information about HTML elements.
In the coming chapter, you will get more information about attributes.
HTML images are defined by the tag. From
Source file (src), alternative text (alt), width, and height are given as attributes:
HTML buttons are defined with the tag: example
HTML lists are defined with
- tags (list items): example