what is <!DOCTYPE> declaration in html
what is doctype declaration in html
Example
what is doctype declaration 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]
<head>.....</head>
head section contain metadata about the webpage information
for the browser not display on the webpage.
Step 4]
<title> Title of the webdesigningtheory.blogspot.com </title>
title tag set title of the webpage
on the browser tag
search engine results.
Step 5]
body section contains content that will be displayed on the webpage.
Body section contains content plain text that will appear on the page.
<br>
<br> tag use create line break.
Step 6 ]
closing the Tag
what is doctype declaration in html
