HTML is a markup language. HTML stands for Hyper Text Markup Language


Represents Document Type, this helps browsers to display webpages correctly. HTML5 format
<!DOCTYPE html>

Headings / paragraph / anchor Tags

HTML headings are defined using
<h1> content to be displayed </h1>

HTML Paragraphs are defined using
<p> content to be displayed </p>

HTML Anchor are defined using
<a href="url"> content to be displayed </a>

Let's see few examples:

Heading 1

Heading 3

Heading 6

Paragraph(Has margin)

Span (Has no margin) anchor tag


To add Image to your Website use img tag
<img src="path to image" alt="alternate name to display if image load fails" >
image tag


Html elements can be style by using style attribute on the tag
<p style="color:red;"> content to be displayed </p>

Similarly other styling property like background-color, font-family, font-size etc.

content to be displayed


Display other document within the element using iframe Tag
<iframe src="url or content to display" title="description"/>