how to use body tag in html
<body> tag is the part of html document that contains all the content that appears on the webpage.
webpage use anything see text, videos, images, link, buttons, forms inside the <body> tag.
<body> tag Syntax
Syntax
Syntax of HTML <body> tag
. <!-- body tag content visible to webpage-->
.
how to use body tag in html
Example
how to use body tag in html
Explain Program
Step 1]
<!DOCTYPE html>
This declare the document type.
browser that the document is written in html
Step 2 ]
<html>.... . </html>
html is the root element of the html page.
Every thing inside it is part of the webpage.
Step 3]
<body>.....</body>
<body> tag contains all the visible content of the page.
inside <body> show the browser screen.
Step 4]
<h2> Web designing theory blogspot.com</h2>
<h2> is heading tag.
displays text in a larger bold style.
headings from<h1> (largest) to <h6> (smallest).
Step 5]
<p>...</p>
<p> tag paragraph tag.
contains your normal text content.
<br>
<br> tag line break.
moves text to the next line inside a paragraph.
Step 6]
closing the Tag
