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

2) HTML Syntax

The document explains the basic syntax of HTML, highlighting the use of tags such as <html>, <head>, and <body>. It describes how to structure an HTML document, including the placement of the <title> tag within <head> and the main content within <body>. The example provided illustrates a simple HTML page displaying 'Hello World'.

Uploaded by

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

2) HTML Syntax

The document explains the basic syntax of HTML, highlighting the use of tags such as <html>, <head>, and <body>. It describes how to structure an HTML document, including the placement of the <title> tag within <head> and the main content within <body>. The example provided illustrates a simple HTML page displaying 'Hello World'.

Uploaded by

aliali99887131
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML Basic Syntax

Iski sari coding tags mein hoti hain.

Tag symbol < >

<tag>

Starting tag ke baad jo us mein info put karni ho vo karte hain, then tag close karte hain,
e.g. <tag>
Hello World
< /tag>

HTML Tag:

<html>

</html>

HTML mein 1st tag <head> aata hai.

USES OF <head>: Is mein jo b chez likhn gy vo hamen front pe show nahi hogi, vo ya to
hmary backgroung mn show ho rahi hogi ya title bar mein.

< head> ke andar 1 aur tag use hoga <title>

E.g
<head> k close hony k bad <body> ayga
USES OF <body>: website ka sara kam is mn hoga
e.g: <html>
<head>
<title> First Web Page </title>

</head>

<body>
Hello World
</body>

</html>

You might also like