*The markup tags tell the Web browser how to display the page
If we want to try HTML then.................
*First we have to start running windows and start notepad
*If we are on a Mac, start SimpleText
Rules for HTML program................
*The program contains mainly three tags they are
1.html
2.head
3.body
*Every tag should contain one open tag and close tag
EXAMPLE 1 :
<html>
<head>
</head>
<body>
</body>
</html>
< > this is open tag and </ > this is closed tag
1. Head tag contains only titles of the websits, documents, pages etc……………
2. What we want as output we need to write in body tag.
EXAMPLE 2 :
<html>
<head>
<title>SRIHITHA TECHNOLOGIES</TITLE>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>
<body>
<h1 align="center" class="style1" :="" red="">SRIHITHA TECHNOLOGIES</h1>
<b><u><ol type = "a"> OFFERED COURSES </u></b>
<h3>
<li>SEO</li>
<li>PHP</li>
<li>JAVA</li>
<li>WEB DESIGNING</li>
<li>C,C++</li>
</h3>
</body>
<html>
*another important thing is that we have to save the file as "name.html".
|