×

Html & Html5

The World's best Software Development Study Portal

HTML Basic


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-


Output:


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:


OUTPUT:


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-


Output:




4. HTML List


All lists contain one or more list items.There are differnt type of list in Html.
Example


Output:



5. HTML image tag


It is used to display image on the web page.
Example:


Output:



6. HTML Link


It is used to link one page with another page.
Example:


Output: