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.
HTML documents
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
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
HTML paragraphs are defined with



This is a paragraph.

This is the second paragraph.

HTML Links
Links are defined with the tag:

This is the link
Link’s destination to href attribute. is specified by

Attributes are used to provide additional information about HTML elements.

In the coming chapter, you will get more information about attributes.

HTML Images
HTML images are defined by the tag. From

Source file (src), alternative text (alt), width, and height are given as attributes:

HTML Buttons
HTML buttons are defined with the tag: example
HTML lists
HTML lists are defined with

  • tags (list items): example
    • quite
    • milk
    • tea

Leave a Comment