Practical-3-Create a Web Page displaying Personal Information on the following topics: Your Name, Address, Date of Birth, Hobbies, Favorite pastime, Ideals, Favorite Music, Favorite Films.

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>&emsp;<b><font color="blue">Your Name</font></b></td>

        <th>:&emsp;</th> 

        <td><i>Bhanu Pratap Singh</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Address</font></b></td>

        <th>:&emsp;</th>

        <td><i>Khajuri kala Bihari Colony.</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Date of Birth</font></b></td>

        <th>:&emsp;</th>

        <td><i>20/08/1990</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Hobbies</font></b></td>

        <th>:&emsp;</th>

        <td><i>Playing Cricket</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Favorite Pastime</font></b></td>

        <th>:&emsp;</th>

        <td><i>Childhood</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Ideals</font></b></td>

        <th>:&emsp;</th>

        <td><i>Akshay Kumar</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Favorite Music</font></b></td>

        <th>:&emsp;</th>

        <td><i>English Music</i></td>

    </tr>

    <tr>

        <td>&emsp;<b><font color="blue">Favorite Films</font></b></td>

        <th>:&emsp;</th>

        <td><i>Science Fiction Movies</i></td>

    </tr>

    </table>

  </body>

</html>


Step-2: Open File in Any Browser.

Output of a Practical


Web Design Practical-3 Output
Web Design Practical-3 Output


No comments:

Post a Comment