0% found this document useful (0 votes)
5 views2 pages

Structure

The document outlines the structure of an HTML document, detailing the purpose and components of key tags such as doctype, html, head, and body. It explains the role of sub-tags within the head, including title, script, style, link, and meta, which provide essential information and functionality for web pages. The body tag is described as the area where content is placed within the webpage.

Uploaded by

Sreenivas Kaza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Structure

The document outlines the structure of an HTML document, detailing the purpose and components of key tags such as doctype, html, head, and body. It explains the role of sub-tags within the head, including title, script, style, link, and meta, which provide essential information and functionality for web pages. The body tag is described as the area where content is placed within the webpage.

Uploaded by

Sreenivas Kaza
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

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.
-->

You might also like