Introduction To HTML
Introduction To HTML
TECHNICAL CAMPUS
JHANJERI , MOHALI
Submitted by : Submitted to :
Lakshay Arora Ms. Kamna
HTML stands for Hypertext Markup Language. It is used to create a document that contains
text or creating webpages. Tim Breners Lee is the founder of HTML in 1991.
HTML Versions
Since the early days of the web, there have been many versions of HTML:
Version Year
HTML 1991
XHTML 2000
HTML5 2004
Syntax of HTML :-
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Disadvantages of HTML:
1. It can create only static and plain pages so if we need dynamic pages then HTML
is not useful.
2. Need to write lot of code for making simple webpage.
3. Security features are not good in HTML.
4. If we need to write long code for making a webpage then it produces some complexity.
HTML tags :
HTML contains lots of predefined tag. Some of them are described below:
Content container tag:
Font tag: It is used to specify the font size, font color and font-family in html document.
Syntax:
<font> Statements ... <font>
Tables Tags:
<html>
<head><title>table</title>
<body>
<tr>
<th><b>S.No</b></th>
<th><b>NAME OF STUDENT</b></th>
<th><b>FATHERS NAME</b></th>
<th><b>MOTHERS NAME</b></th>
<th><b>PHONE NUMBER</b></th>
<th><b>EMAIL ID</b></th>
<th><b>BOOKS ISSUED</b></th>
</tr>
<tr><td>1.</td>
<td>Mohit Verma</td>
<td>Santosh Verma</td>
<td>Mamta Verma</td>
<td>7026084565</td>
<td>[email protected]</td>
<td>one</td>
</tr>
<tr><td>2.</td>
<td>Gurjeet singh</td>
<td>Parampreeet singh</td>
<td>Sukhpreet kaur</td>
<td>9663807754</td>
<td>[email protected]</td>
<td>two</td>
</tr>
<tr>
<td>3.</td>
<td>Deep malhotra</td>
<td>Kiran malhotra</td>
<td>7890566807</td>
<td>[email protected]</td>
<td>one</td>
</tr>
<tr><td>4.</td>
<td>Divya Sharma</td>
<td>R k Sharma</td>
<td>Radha Devi</td>
<td>9848360001</td>
<td>[email protected]</td>
<td>all clear</td>
</tr>
<tr><td>5.</td>
<td>Deepak Kumar</td>
<td>Ashwani Kumar</td>
<td>766830574</td>
<td>[email protected]</td>
<td>two</td>
</tr>
<tr><td>6.</td>
<td>Harjot singh</td>
<td>Gurmeet kaur</td>
<td>76605570173</td>
<td>[email protected]</td>
<td>all clear</td>
</tr>
</body>
</html>
OUTPUT :
PRACTICAL 3
AIM : Create a static webpage which includes all the text formatting tags of
html.
<!doctypehtml>
<html>
<head><title>IMAGE</title>
<head>
<body>
<p>
to have it display<br>
on four times.
</p>
</body>
</html>
OUTPUT :
PRACTICAL 4
<html>
<head><title>Lists</title>
<body>
list</U></b></p></font>
<li>ECE</li>
<li>CSE</li>
<li>CE</li>
<li>ME</li></UL>
<hr color="black">
<li><b>ME :</B>in this , you can attain a great knowlege about how the different large scale
mnufacturing occurs.</li>
<li><b>CE :</b>By choosing this branch, you can get a berief knowledge how the huge
infrastructure are maintained.</li></ol></body></html>
OUTPUT:
PRACTICAL 5
AIM : Create a static webpage using image and link tag of html
<!doctypehtml>
<html>
<head><title>Learning</title>
</head>
<body >
Webpage</u></center> </h2>
<p>In this tutorial we will learn how to make a link and add an image to your webpage.<br>In
order to create a link we use" <a> " tags and href is attribute to assign an address of
link.<br>Now, to add an image to the webpage, we use "<img>" tags and "src" attribute to
assign an address of the image.</p><br>
<br>
</img></center>
</body>
</html>
OUTPUT:
PRACTICAL 6
AIM : Create a static webpage using image and link tag of html
<!doctype html>
<html>
<head><title>Sign up</title></head>
<body>
<font size="6">
height="100"><br>
<b><center>            
<hr color="black">
<form align="center">
<font >
<h2>Basic Details</h2>
<tr>
<th><a href="#">PHOTO</a></th>
</tr>
<table></center><br><center>
<b>First Name</b><br>
<br><b>Last Name</b><br>
<br><b>Age</b><br>
<br><b>Contact</b><br>
<br><b>Gender</b><br>
<b>Qualification</b><br>
<br><b>Address</b><br>
<br><b>Experience</b><br>
<br><hr color="black">
<p>I hereby declare that the information provided above will be right as per my knowledge and I
will be dedicated to all the disciplines and rules as decided by the company.</p>
<p><b>Signature of Employee</b>
              &n
bsp         
<b>Signature of Head Manager</b></p>
<br>
</form>
<footer>
<br><p><b>In order to get more details about our company , visit our official site given
below.<br></b></p>
<a href="#">www.Eastmancastaandforge.com</a>
</footer></center>
</body>
</html>
OUTPUT: