HTML Programmes
HTML Programmes
HTML Programmes
<html>
<head>
</head>
<body>
</body>
</html>
CREATE A WEBPAGE USING HTML TAGS FONT COLOR AND FONT SIZE
<html>
<head>
</head>
<body>
<font color="red">
<font size=72>
</body>
</html>
CREATE A WEBPAGE USING TAGS FONT COLOR, FONT SIZE, BACKGROUND COLOR AND
PRE
<html>
<head>
</head>
<body>
<body bgcolor="cyan">
<font color="red">
<font size=72>
<pre>
</pre>
</body>
</html>
<head>
</head>
<body background=”tulips.jpg”>
<body>
</body>
</html
CREATE A WEBPAGE USING HTML HEADING STYLES
<html>
<head>
<title>Heading styles</title>
<body bgcolor="blue">
</head>
<font color="pink"
<body>
<font size=36>
</body>
</html>
CREATE A WEBPAGE USING html TABLE PROPERTIES
<html>
<head>
<title>creating table</title>
<style type="text/CSS">
body{background-color:RGB(255,251,214);}
</head>
<body>
<table>
<TR><TD>Anand</TD><TD>[email protected]</TD></TR>
<TR><TD>Sheena</TD><TD>[email protected]</TD></TR>
<TR><TD>Radha</TD><TD>[email protected]</TD></TR>
</TABLE>
</BODY>
</HTML>
CREATE A WEBPAGE USING TABLE PROPERTIES WHICH SHOWS STATES AND THEIR
CAPITALS
<html>
<head>
<title>creating table</title>
<style type="text/CSS">
body{background-color:RGB(255,251,214)}
caption{caption-side:bottom}
TABLE{bordercollapse:collapse;padding:5px;width:100%;height:30%;text-allign:center;background-
color:RGB(250,223,223)}
TH{color:blue}
</style></head>
<body><table>
<TR><TH>STATE</TH><TH>CAPITAL</TH></TR><TR><TD>J&K</TD><TD>Srinagar(summer)
Jammu(winter)</TD>
<TR><TD>Punjab</TD><TD>Chandigarh</TD>
</TR><TR><TD>Gujarat</TD><TD>Gandhinagar</TD>
</TR></TABLE>
</BODY>
</HTML>
CREATE A WEBPAGE USING HTML TABLE PROPERTIES WHICH SHOWS STUDENT
INFORMATION
<html>
<head>
th{color:blue}
</style> </head>
<body> <table>
</tr> <tr>
</tr> </table>
</body>
</html>
CREATE A WBPAGE USING HTML LIST PROPERTIES
<html>
<head>
<title> character</title>
<style type="text/css">
body{background-color:RGB(255,251,214)}
H1{color:red}
L1{color:green}
</style>
</head>
<body>
<LI> Integrity
<LI>Unselfishness
<LI>Understanding
</OL>
</body>
</html>
CREATE A WEBPAGE USING HTML NESTED LIST PROPERTIES
<html>
<head>
<style type=''text/css''>
body{background-color:RGB(255,251,214)}
ol{list-style-type:lower-roman;}
ul{list-style-type:circle;}
li{font-size:20px;}
h1{color:blue}</style></head><body>
<h1>Vitamins</h1>
<ol><li style=color:darkgreen>Vitamin-A
<li style=color:darkgreen>Vitamin-D
<li style=color:darkgreen>Vitamin-E
<li style=color:darkgreen>Vitamin-K
<ol style=list-style-type:upper-alpha>
<li style=color:darkgreen>Vitamin-B1
<li style=color:darkgreen>Vitamin-B2
<li style=color:darkgreen>Vitamin-B3
<li style=color:darkgreen>Vitamin-B5
<li style=color:darkgreen>Vitamin-B6
<li style=color:darkgreen>Vitamin-B7
<li style=color:darkgreen>Vitamin-B9
<li style=color:darkgreen>Vitamin-B12
<li style=color:darkgreen>Vitamin-C</ol></ul>
</body></html>
<head>
<title>Characters</title>
<body{background-color:RGB(255,251,214)}
H1{color:red}
LI{color:green}>
<styletype="text/css">
<body bgcolor="pink">
</style>
</head>
<body>
<font color="white">
<LI>Integrity</LI>
<LI>Unselfishness</LI>
<LI>Understanding</LI>
</ol>
</body>
</html>
CREATE WEBPAGE USING HTML TAGS PRE TOPMARGIN AND LEFT MARGIN
<html>
<head>
</head>
<body bgcolor="Red">
<body>
<Font color="Black">
<font size=30>
<PRE>
</font>
</PRE>
</body>
</html>
CREATE WEBPAGE USING HTML TAGS SUBSCRIPT AND SUPERSCRIPT
<html>
<head>
</HEAD>
<body>
<center><h1><b><i><u>Formula</u></i></b></center>
<h2>H<sub>2</sub>O<br>
A<sup>3</sup>B<sup>3</sup><br>
</h2>
</body>
</html>