Structure of a html document
============================
<!doctype html PUBLIC "-//W3C//DTD HTML 5.2 Transitional//EN">
<html>
<head>
<title>Document title</title>
<style>
css code
</style>
<script>
javascript code
</script>
<link/>
<meta charset="UTF-8">
<meta name="html" content="html stands for hypertext markup language">
</head>
<body>
contents
</body>
</html>
Doctype Tag:
============
This Tag is used to specifies the Documentation type. and which DTD file is used
to develop the webpage
<!doctype html public "-//W3C//DTD HTML 5.2 Transitional/En">
or
<!doctype html>
HTML Tag:
=========
It is the root tag of all the html tags. and it is having 3 subtags
[Link]
[Link]
[Link]
Head Tag:
=========
It is used to represents the header part of webpage. Header parts consists
title bar,address bar bookmarks bar., And This Tag is having 5 sub tags.
[Link]
[Link]
[Link]
[Link]
[Link]
Title:
======
By using this tag we can give title of the webpage.
<title>Webpage title</title>
Script:
=======
It is used to write script code inside the webpage
Style:
======
It is used to write Internal Style Sheets Code.
Link:
=====
This tag links/embeds the external CSS file in html document
Meta:
====
It is used to give extra information about the webpage to the search engines.
and By using meta tag we can create responsive webpages also.
Body:
=====
It represents the body part of a webpage and if We can place any type of
contents inside the Body tag.
-->