WEBsite
WEBsite
DOCTYPE html>
<HTML>
<HEAD>
<STYLE>
BODY {background-image: url("D:\001.jpg");
background-repeat:repeat-y;}
H1 {background-color:green;
text-align:center;}
</STYLE>
</HEAD>
<BODY>
<H1>Tiles</H1>
</BODY>
</HTML>
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> HR Tag </Title>
</HEAD>
<BODY>
<p>This is the first
paragraph of the tag. HTML
is the standard markup
language for Web pages. </p>
<hr Size="10" width="80%" >
<p>This is the second paragraph of the tag. HTML is the standard markup
language for Web pages.</p>
<hr Size="10" width="80%" color="grey">
<hr Size="10" width="80%" color="Red">
</BODY>
</HTML>
<!DOCTYPE HTML>
<HTML>
<HEAD>
<TITLE> Heading Tag </TITLE>
</HEAD>
<BODY>
<H1>Level 1 heading. </H1>
<H2>Level 2 heading. </H2>
<H3>Level 3 heading. </H3>
<H4>Level 4 heading. </H4>
<H5>Level 5 heading. </H5>
<H6>Level 6 heading. </H6>
</BODY>
</HTML>
<!DOCTYPE html>
<HTML> <HEAD> <STYLE>
H1 {color: Black; font-family: verdana; font-size: 32px; text-align:
center)
<!DOCTYPE html>
<HTML>
<HEAD> <TITLE>Changing Margin</TITLE>
<STYLE>H1 {font-family: Comic Sans MS; text-align:center;
text-Decoration: underline;color:Black}
P(Margin-left:40px}
</STYLE> </HEAD>
<BODY><H1>Energy</H1>
<P style="font-family: Times New Roman; text-transform:uppercase">Energy is
the bcapacity for doing work. It may exist in potential,
kinetic, thermal,electrical, chemical, nuclear, or other various forms.</P>
<hr Size="10" width="80%" color="grey">
<P style="font-family: Times New Roman; text-transform:lowercase">Energy is
a requirement in our everyday life as a way of improving human development
leading to economic growth and productivity.</P>
</BODY>
</HTML>
<HTML>
<HEAD> <TITLE> Ordered List or Numbered List </TITLE> </HEAD>
<BODY>
<B> Cup of Tea </B>
<HR>
Steps to make a cup of Tea.
<OL>
<LI> Take 3/4 cup of water and boil it in kettle.
<LI> Add a table spoon sugar.
<LI> Add 1/4 cup of milk.
<LI> Pour the tea into a cup.
<LI> Add a tea bag.
</OL>
</BODY>
</HTML>
<HTML>
<HEAD> <TITLE> Unordered List or Bulleted List </TITLE> </HEAD>
<BODY>
<B> Winter Clothes </B>
<HR>
<UL>
<LI> Sweaters
<LI> Woollen Caps
<LI> Gloves
<LI> Jackets
</UL>
</BODY>
</HTMl>
<HTML>
<HEAD> <TITLE> Definition List </TITLE> </HEAD>
<BODY>
<B> Example of Definition List </B>
<HR>
<DL>
<DT> Beverages </DT>
<DD> Hot and Cold Drinks</DD>
<DT> Cappuccino </DT>
<DD> Hot Drinks </DD>
</DL>
</BODY>
</HTML>
<HTML>
<HEAD> <TITLE> Nesting of Lists </TITLE> </HEAD>
<BODY>
<B> Fruits and Vegetables </B> <BR>
<UL TYPE "square">
<LI> Fruits </ LI >
<UL>
<LI> Mango </ LI >
<LI> Grapes </ LI >
</UL>
<LI> Vegetables </ LI >
<UL>
<LI> Potato </ LI>
<LI> Onion </ LI >
</ UL >
</BODY>
</HTML>
</STYLE>
</HEAD>
<BODY>
<TABLE>
<CAPTION> Table: Student </CAPTION>
<TR>
<TH> Roll No. </TH>
<TH> Name </TH>
<TH> Grade </TH>
<TH> Gender </TH>
</TR>
<TR>
<TD> 1 </TD>
<TD> Aarav </TD>
<TD>B </TD>
<TD> M </TD>
</TR>
<TR>
<TD> 2 </TD>
<TD> Gauransh </TD>
<TD> A </TD>
<TD> M </TD>
</TR>
<TR>
<TD> 3 </TD>
<TD> Himakshi </TD>
<TD> A </TD>
<TD> F </TD>
</TR>
<TR>
<TD> 4 </TD>
<TD> Rakshit </TD>
<TD>B </TD>
</TR>
<TD> M </TD>
</TR>
</TABLE>
</BODY>
</HTML>
<style>
table, th, td
{
border:2px;
border-style:solid;
border-color:green;
border-spacing:15px;
}
</style>