Introduction to Html
Component of Html
1. Simple HTML Document:
All HTML documents must start with a document type declaration: !DOCTYPE html.
The HTML document itself begins with html and ends with /html.
The visible part of the HTML document is between body and /body.
Example-
My Paragraph.
2. HTML Heading
Heading tag is used to give the heading or sub headings to your web page.
Size of the text will depend upon the heading tag used.
Example:
h1 defines most important heading and h6 defines least important heading.
3. HTML Paragraph
This tag is used to define a paragraph in the web page. It is used as p to start and end /p a paragraph.
Note:Browser itself add an empty line before and after a paragraph.
Example-
Welcome to Ittraining classes in Gurgaon(Haryana). We provide Best training in AWS, Digital marketing
4. HTML List
All lists contain one or more list items.There are differnt type of list in Html.
Example
5. HTML image tag
It is used to display image on the web page.
Example:
6. HTML Link
It is used to link one page with another page.
Example:
HTML anchor Tag