Aim: To Enter Five Student Details Using Table Tags Code
Aim: To Enter Five Student Details Using Table Tags Code
Code:
<html>
<head>
<title> My First Web Page </title>
</head>
<body bgcolor="blue">
<b><i><font color="black">
<center><h1>NCU University,Gurgaon</h1></center></font></i></b>
<b><u><hr>
<center>
<font color="red"><center> <h1> Student Details </h1></center></font></u></b>
<center>
<table border ="1" bordercolor="red" bgcolor="white" cellspacing="3" cellpadding="3"
onclick="alert('This Is Student Details')">
<tr>
<td align="center"><b><font color="black"> S.No.</font></b></td>
<td align="center"><b><font color="black"> Name</font></b> </td>
<td align="center"><b><font color="black"> Roll No.</font></b> </td>
<td align="center"><b><font color="black"> DOB</font></b> </td>
<td align="center"><b><font color="black"> Department</font></b></td>
</tr>
<tr>
<td align="center"><b><font color="violet"> 1.</font></b></td>
<td align="center"><b><font color="violet"> Anurag vats</font></b> </td>
<td align="center"><b><font color="violet"> 15csu039</font></b> </td>
<td align="center"><b><font color="violet"> 10 04 1997</font></b> </td>
<td align="center"><b><font color="violet"> CSE</font></b></td>
</tr>
<tr>
<head>
<title> Sports Meet</title>
<body background="C:\Users\ANURAG\Downloads\GGSIPU_SPORTS_MEET.jpg"
leftmargin="25">
<b><u><center><h1><font color="blue" size="17">NCU
University</font></h1></center></u></b>
<hr>
<br>
<marquee><b><center><font color="yellow" size="5">Join us as we cheer our young
athletes at our</font></center></b></marquee>
<br>
<b><center><font color="red" size="7">Fifth Annual Althelete
Meet</font></center></b>
<b><center><font color="yellow" size="5">on December
19,2016</font></center></b>
<b><center><font color="yellow" size="5">at 9:00 am</font></center></b>
<br><br><br><br><br>
<b><center><font color="red" size="6">Venue :</font></center></b>
<b><center><font color="yellow" size="5">Sports Authority of India,<br>Sports
Complex,Near police staton,<br> Akurli Road, Gurgaon 132140</font></center></b>
<table border="2" >
<tr>
<td bgcolor="red"><font color="white">Admit Two Only</font></td>
</tr>
</table>
<br>
<b><font color="yellow" size="5">Please Note :<br> For Security Purpose, Kindly
provide<br>this invitation at the gate</font></b>
</body>
</head></html>
Design:
Code :
<html>
<head>
<title> Html Quiz </title>
<body bgcolor="yellow">
<center><h1>HTML Quiz Competition </h1></center>
<hr>
<center><h3> Round 1 </h3></center>
<ol type="1">
<li>To align multiple lines of text we use
<form>
<input type="radio" name="quiz" value="a">justify
<br>
<input type="radio" name="quiz" value="b">DIV
<br>
<input type="radio" name="quiz" value="c">Align
<br>
<input type="radio" name="quiz" value="d">None of these
</form>
<li> To create a bulleted list use
<form>
<input type="radio" name="quiz" value="a">il tag
<br>
<input type="radio" name="quiz" value="b">ul tag
<br>
<input type="radio" name="quiz" value="c">ol tag
<br>
<input type="radio" name="quiz" value="d">u tag
</form>
<li>To jump to new page, we use
<form>
<input type="radio" name="quiz" value="a">img
<br>
<input type="radio" name="quiz" value="b">A
<br>
<input type="radio" name="quiz" value="c">Align
<br>
<input type="radio" name="quiz" value="d">None of these
</form>
<li>Which of the following is not a valid value for align attribute of IMG tag
<form>
<input type="radio" name="quiz" value="a">top
<br>
<input type="radio" name="quiz" value="b">middle
<br>
<input type="radio" name="quiz" value="c">bottom
<br>
<input type="radio" name="quiz" value="d">center
</form>
</ol>
<br>
<center><A href="C:\Users\ANURAG\Downloads\quiz1.html">Click for next page </A>
</body>
</head>
</head>
Now code for the Hyper link
<html>
<head>
<title> Html Quiz </title>
<body bgcolor="yellow">
<label for="sketching">Sketching</label>
<input type="checkbox" name="hobbies" value="sketching">
<br>
<p><b>Comment:</b>
<br>
<textarea name="comment" rows=6 cols=40></textarea>
<br>
<br>
<input type="submit" value="Send"> <input type="Reset">
</p>
</body>
</head>
</html>
Design :
<td>4
<td><A href="sferr.html">Staff</A>
</tr>
<tr>
<td>5
<td><A href="sferr.html">Student</A>
</tr>
<tr>
<td>6
<td><A href="sferr.html">Graduates and Alumni</A>
</tr>
<tr>
<td>7
<td><A href="sferr.html">Jobs</A>
</tr>
<tr>
<td>8
<td><A href="sferr.html">Research</A>
</tr>
<tr>
<td>9
<td><A href="sferr.html">Departments,Colleges and Schools</A>
</tr>
</table><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br
><br><br><br><br><br>
<font align="bottom"><h4><center>For futher equiries <A
href="mailto:[email protected]"> Contact Us</A></center></h4></font>
</body></head></html>
Desgn: