Basic structure of HTML
<HTML>
<Head>
<title>
</title>
</Head>
<body>
</body>
</HTML>
1.<HTMl>……..</HTML>
This tag are backbone on which other tags are located.Other tag like <HEAD>..</HEAD>,<TITLE>….</TITLE> etc tag are located between <HTML> and </HTML>.
<HTML> tag is places in beginning and </HTML> is places in end of HTML document.
2.<TITLE>…</TITLE>
Under this tag title of webpage is written.Which is display in top of the web browser .
Example:
<TITLE>
MY PAGE
</TITLE>
3.<BODY>….</BODY>
The <BODY> is the main body of HTML document in which multimedia link, several images are placed.
SEE HTML TAG
HTML code for basic webpage
<html>
<HEAD>
<title>
welcome to my page
</title>
<body>
<BODY BGCOLOR="#FF0000" TEXT="#000000" TOPMARGIN="25" LEFTMARGIN="30">
<body background="androidw.jpg">
<CENTER>
<H1><U>EXAMPLE</U></H1>
</CENTER>
<HR>
<li><a href="#EXAMPLE">EXAMPLE</a></li>
</ul>
<h2><a name="EXAMPLE" id="EXAMPLE"></a>EXAMPLE</h2>
<BR>EXAMPLE<BR>EXAMPLE2<Br>EXAMPLE
</body>
</head>
</html>
Output is:
0 comments:
Post a Comment