Title: https://www.javatpoint.com/html-tutorial
1 HTML Hyper Text Markup Language
HTML BASIC TAGE lt/gt
Javatpoint.com
2HTML INTRODUCTION
HTML is the standard markup language for creating
web pages .
Javatpoint.com
HTML Stand for Hyper Text Markup Language. In
HTML language hypertext is a way for linking one
webpage to another markup is a computer language
which provides layout formating convention to
HTML text document. HTML is used to Create
webpages . HTML is widely used language on the
web. We can create static website by HTML only.
3HTML HEADING TAg
Delimits the page head H1 is the largest
heading tag and h6 is the smallest one.
Javatpoint.com
Output
Example
Heading no. 1 Heading no. 1 Heading no. 1 HeadingÂ
no. 1 Heading no. 1 Heading no. 1
lth1gtHeading no. 1lt/h1gt  lth2gtHeading no. 2lt/h2gt Â
lth3gtHeading no. 3lt/h3gt  lth4gtHeading no. 4lt/h4gt Â
lth5gtHeading no. 5lt/h5gt  lth6gtHeading no. 6lt/h6gt Â
4HTML Head TAG
The HTML ltheadgt element is used as a container
for metadata (data about data).
Javatpoint.com
Example-
lthtmlgt ltheadgt lttitlegt HTML HEAD
lt/titlegt lt/headgt ltbodygt ltpgt HTML Stand for Hyper
Text Markup Language. lt/pgt ltpgt HTML is used to
Create webpages lt/pgt lt/bodygt HTML is used to
Create webpages lt/htmlgt
HTML Stand for Hyper Text Markup Language. HTML
is used to Create webpages.
Output-
5TITLE TAG
HTML title tag is used to provide a title name
for your webpage.
Example -
lthtmlgt ltheadgt lttitlegtname for your
webpagelt/titlegt lt/headgt ltbodygt ltPgtHTML title tag
is used to provide a title name for your
webpage.lt/pgt lt/bodygt lt/htmlgt
Javatpoint.com
title
Output -
your webpages
HTML title tag is used to provide a title name
for your webpage.
6BODY TAG
The HTML ltbodygt tag is used for Delimits the
pages body
Example-
Javatpoint.com
lthtmlgt ltheadgt lttitlegt html body tag
lt/titlegt lt/headgt ltbodygt ltpgtDelimits the pages
bodylt/pgt lt/bodygt lt/htmlgt
Output-
Delimits the pages body
7Paragraph Tag
HTML paragraph or HTML p tag is used to define a
paragraph in a webpage.
Javatpoint.com
Example -
lthtmlgt ltbodygt ltpgtDefine a paragraph in a
webpagelt/pgt ltpgtDefine a paragraph in a
webpagelt/pgt ltpgtDefine a paragraph in a
webpagelt/pgt lt/bodygt lt/htmlgt
Output -
Define a paragraph in a webpage Define a
paragraph in a webpage Define a paragraph in a
webpage
8HTML br TAG
HTML ltbrgt tag or element is used to break line in
a paragraph.
Example -
Javatpoint.com
lthtmlgt ltbodygt ltpgt HTML ltbrgt tag orltbrgt element
is used to ltbrgtbreak line in a paragraph
lt/pgt lt/bodygt lt/htmlgt
Output -
HTML tag orelement is used to break line in a
paragraph
9HTML hr TAG
HTML lthrgt tag is used to specify a
paragraph-level thematic break in HTML
document. It draw a horizontal line between them
.
Example -
lthtmlgt ltbodygt ltpgt It draw a horizontal line
between them lt/Pgt lthr/gt lth3gt html hr tag
lt/h3gt ltpgt It draw a horizontal line between them
lt/pgt lt/bodygt lt/htmlgt
Javatpoint.com
Output-
It draw a horizontal line between them html hr
tag It draw a horizontal line between them
10HTML bold (b) tag
HTMLltbgt tag is used to display the written text
in bold format .
Javatpoint.com
Example -
lthtmlgt ltbodygt ltpgtltbgtHTML taglt/bgt is used to
display theltbgt written text lt/bgtin bold format
.lt/pgt lt/bodygt lt/htmlgt
Output-
HTML tag is used to display the written text in
bold format .
11HTML Style TAG
HTML Style is used to change or add the style on
existing HTML elements. There si a default Style
for every HTML element e.g background color is
white,text color is black etc.
Javatpoint.com
Example-
lthtmlgt ltbodygt lth2 style"coloryellow"gt HTML
Style lt/h2gt lth2 style"colorred"gtHTML Style
taglt/h2gt lt/bodygt lt/htmlgt
Output-
HTML Style HTML Style tag
12HTML Table tag
HTML table tag is used to display data in tabular
form (row column). There can be many columns
in a row.
Example-
Output-
Javatpoint.com
lthtmlgt ltbodygt lttable border"1"gt lttrgt
ltthgtHTMLlt/thgt ltthgtTAGSlt/thgt lt/trgt lttrgt
lttdgtHyper text markup languagelt/tdgt
lttdgtTABLE TAGSlt/tdgt lt/trgt lttrgt
lttdgtHyper text markup languagelt/tdgt
lttdgtTABLE BORDER TAGSlt/tdgt lt/trgt
lt/tablegt lt/bodygt lt/htmlgt
13HTML Anchor Tag
The HTML anchor tag defines a hyperlink that
links one page to another page.Â
Example-
Javatpoint.com
lthtmlgt ltbodygt lta href"javatpoint"gtHTML
Anchorlt/agt lt/bodygt lt/htmlgt
Output-
HTML anchor
14Marquee HTML Tag
The Marquee HTML tag is a non-standard HTML
element which is used to scroll a image or text
horizontally or vertically.
Example-
Javatpoint.com
lthtmlgt ltbodygt ltmarqueegtMarquee HTML
taglt/Marqueegt lt/htmlgt lt/bodygt
Output-
Marquee HTML tag
15HTML Image TAG
Example-
lthtmlgt ltbodygt lth2gtHTML Imagelt/h2gt ltimg src
"C\Users\window\Desktop\1200px-HTML5_logo_and_wor
dmark.svg.png" alt"HTML Image"/gt lt/bodygt lt/htmlgt
Javatpoint.com
OutPut-