Professional Documents
Culture Documents
• HTML is the building block for web pages (ie) language for describing web pages.
• Internet browser, such as Internet Explorer, Google Chrome, Microsoft Edge, Opera,
Firefox, etc.
HTML TAGS
• Container Tag -> start and end tag. Eg: <b>… </b>
HTML ELEMENTS AND
DESCRIPTION
<font> </font> Size, align, color, Face It specifies the colors, size of
the text
STRUCTURE OF HTML
<HTML>
<HEAD>
<TITLE>……. </TITLE>
</HEAD>
<BODY>
.
.
.
.
</BODY>
</HTML>
SAMPLE CODING
<html>
<head>
<title>My first page </title>
</head>
<body bgcolor="percheff" text="red">
<center><h1> My Page </h1></center>
Welcome to my page
<b><h5><left>Hi bold</b></h5></left><br>
<i><h4><p align=right>hi italic </i><h5></p><br>
<u><h3><center>hi underline </u></h3></center>
<br> <font size="20">first line </font>
<br> <font color="black", size="30"> second line </font>
</body>
</html>
OUTPUT
INSERTING IMAGES
• Any images can be added to a webpage, provide with file format.(jpeg, gif)
Image tag:
<html>
<head>
<title>My first page </title>
</head>
<body bgcolor="percheff" text="red">
<center><h1> My Page </h1>
<img src= "indhu.jpg" width="400",height="400"/>
</center>
</body>
</html>
HOW TO SAVE IMAGE FILE