HTML Tutorial - HTML Basics


Here we are covering the most basic HTML that are used extensively in any webpage.

HTML Heading


The Tags <h1> to <h6> are used for making heading. You can use these 6 tags based on the text size required.

HTML Heading Example.
Source: Result:



HTML Paragraphs


For creating paragraph in HTML document use the <p> tag.

HTML Paragraphs Example.
Source: Result:



HTML Div Tag


The <div> Tag is used in HTML mainly for applying styles on certain portion of the text in the webpage.

HTML Div Example.
Source: Result:



HTML Links


To link different webpages we use a Tag <a>. This is the Tag widely used to link webpages, not only HTML webpages. Here the href is an attribute that uses link address to load the webpage in the internet browser.

HTML Links Example.
Source: Result:



HTML Images


The <img> tag is used in HTML to load the Image in the internet browser. The src attribute is used to provide the image file name and the size can be provided using the width and height.

HTML Images Example.
Source: Result:



The HTML Examples are simple to demonstrate the HTML Tags usage. If you are planning to create your own website using HTML, you have started your Journey. You have to get used to the HTML Tags so you need to practice. We have shown HTML examples in Text Editors so that you can practice by changing the HTML.