Friday, 22 May 2020

Hash program


Style.css
div.ex
{
width:400px;
padding:10px;
border:5px solid gray;
margin:0px;
}

Example.html
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="first.js"></script>
</head>
<body>

<center>
            <div class="ex">
            <b>Welcome Foresight College</b><br /><br />
            <ol>
            <li><a href="#elctronics"> Electronics Department</a></li>
            <li><a href="#mathdept">Mathematics Department</a></li>
            <li><a href="#microdept">Microbiology Department</a></li>
            <li><a href="#compdept">Computer Science Department</a></li>
            <li>Biotechnology Department</li>
            </ol>
            </div>
</center>

<br><br>
<a name="elctronics"><h3>Electromics Department:</h3></a>

<div align="center">
<font size="4" face="TIMES NEW ROMAN" color="BROWN">
<p>----------------------------</p>
<p>----------------------------</p>
<p>-----------------------------</p>
</div>

<a name=" mathdept "><h3>Mathematics  Department:</h3></a>

<div align="center">
<font size="4" face="TIMES NEW ROMAN" color="BROWN">
<p>----------------------------</p>
<p>----------------------------</p>
<p>-----------------------------</p>
</div>
</body>
</html>