Beruflich Dokumente
Kultur Dokumente
Computer Programming
Dr. Deepak B Phatak
Dr. Supratik Chakraborty
Department of Computer Science and Engineering
IIT Bombay
• Introduction to HTML
• Simple HTML tags
<html>
<head>
<title>
Title of the Page
</title>
</head>
<body>
…..
</body>
</html>
Tag Attributes
IIT Bombay
<head>
<title> Title </title>
</head>
<body>
<h1 style="color:red"> Simple HTML Page</h1>
<div style="color:blue">
<b>Hello World !</b> <br />
This is our <i>first <u>HTML page.</u></i> <br />
</div>
<div style="color:green">
<pre><b><i> <br /><br />Hope this session gets you going...
</i></b></pre>
</div>
</body>
</html>
Simple HTML Page (myFirstHTML.html)
IIT Bombay
<html>
<head>
<title> Title </title>
</head>
<body>
<h1 style="color:red"> Simple HTML
Page</h1>
<div style="color:blue">
<b>Hello World !</b> <br />
This is our <i>first <u>HTML
page.</u></i> <br />
</div>
<div style="color:green">
<pre><b><i> <br /><br />
Hope this session gets you going...
</i></b></pre>
Fig: Output
</div>
</body>
Summary
IIT Bombay
• Introduced HTML
• Examined some basic tags