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 .

example


My first heading is

My first paragraph is .



HTML headings
HTML headings are placed between

to

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

tag:

example

This is a paragraph.

This is the second paragraph.

HTML Links
Links are defined with the tag:

example
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:

example
leanrsa2z.com
HTML Buttons
HTML buttons are defined with the tag: example
click
HTML lists
HTML lists are defined with

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

Leave a Comment