Solution
Step-1: Write below code in any HTML Editor and save it as .html file.
<html>
<head>
<title> Personal Information</title>
</head>
<body>
<table cellspacing="0" border="1" style="font-size:22px" cellpadding="0" align="center" height="300px" width="500px" bgcolor="pink">
<tr>
<td> <b><font color="blue">Your Name</font></b></td>
<th>: </th>
<td><i>Bhanu Pratap Singh</i></td>
</tr>
<tr>
<td> <b><font color="blue">Address</font></b></td>
<th>: </th>
<td><i>Khajuri kala Bihari Colony.</i></td>
</tr>
<tr>
<td> <b><font color="blue">Date of Birth</font></b></td>
<th>: </th>
<td><i>20/08/1990</i></td>
</tr>
<tr>
<td> <b><font color="blue">Hobbies</font></b></td>
<th>: </th>
<td><i>Playing Cricket</i></td>
</tr>
<tr>
<td> <b><font color="blue">Favorite Pastime</font></b></td>
<th>: </th>
<td><i>Childhood</i></td>
</tr>
<tr>
<td> <b><font color="blue">Ideals</font></b></td>
<th>: </th>
<td><i>Akshay Kumar</i></td>
</tr>
<tr>
<td> <b><font color="blue">Favorite Music</font></b></td>
<th>: </th>
<td><i>English Music</i></td>
</tr>
<tr>
<td> <b><font color="blue">Favorite Films</font></b></td>
<th>: </th>
<td><i>Science Fiction Movies</i></td>
</tr>
</table>
</body>
</html>
Step-2: Open File in Any Browser.
Output of a Practical
No comments:
Post a Comment