Learn html

html is mother language of web and it is introduced in 1990 to publish content online. This html tutorial will help you to learn html from basics to advance. This html tutorial will cover the content of HTML4 with example. in this html4 tutorial we have covered all important topics like list, table, text, form, doctype, block inline elements, hyperlinks etc.

Learn HTML online

what is html and its tag

Hyper Text Markup language or HTML, is the standard language on Web, used to build a website or web application. HTML is a markup language, as it contains markup tags or tags. HTML is used to write content or structure of web pages.

Html Basics

Block and inline elements

HTML Elements are classified as Block Level and Inline Level elements on the basics of their display behaviour. <p> <div> <h1> < h2> <address> etc are block level elements, whereas <b>, <strong>, <i>, <span>, <u> and <s> are inline level elements..

Html Block & inline elements


Doctype defines the type of web document we are using. Doctype includes the version of HTML and its DTD..

Html doctype


Every Thing in HTML is written in tags. Mostly commonly used tags are PAIR TAGS. Like HTML,HEAD,BODY, TITLE, ETC.
Pair Tags are written in pairs, means separate opening and closing tag. Both are written same except the closing or end tags include slash(/) or Forward Slash.

html tags

HTML Attributes

HTML elements can have attributes. Attributes provide additional information about an element. Attributes are always specified in the start tag. Attributes come in name/value pairs like: name="value".

attribute in html

HTML Heading

HTML includes 6 headings. <h1>, <h2>, <h3>, <h4>, <h5> and <h6>. Heading elements are used to write headings on a webpage, whereas p tag is only for plain text. All Headings are bold and block level elements.

Headings in HTML

HTML Image

HTML includes images from its 4th version (HTML-4) ie since 1998. Images enhance the look and feel of a website. We uses images as a logo, banner, icons, symbols, product etc. .

img in html

HTML list

There are three types of list in HTML, unordered lists , ordered lists & description list..

list in html


Forms can be used to send data across the web and are often used as contact form to convert information input by a user into Leads..

form in html