Page 366 - Web Applications (803) Class 11
P. 366

10.  Create a simple webpage with a heading and a paragraph. Add background and font colour to the webpage.

               Ans.  <html>
                   <head>
                   <title> My Webpage </title>

                   </head>
                   <body bgcolor=pink text=”red”>
                   <h3>Asteroids, Comets, and Meteors</h1>
                   <font color=”blue” size=5>
                   <p align=”left”>
                   Asteroids, comets, and meteors are among the tiny things in our solar system, but they are incredibly surprising.
                   These fragments of rock, ice, and metal are remains from the creation of our solar system 4.6 billion years ago.
                   They resemble a geological record of our early solar system in many ways. 3,865 known comets and 1,277,525
                   known asteroids are both known at this time.
                   </p> </font>

                   </body>
                   </html>

















                11.  Create a webpage and add 2 images to it. Align the first image to the left and the second to the right.

               Ans.

                   <html>
                   <head>
                   <title> The 3 islands of the river Kaveri</title>
                   </head>
                   <body text=”blue”>

                   <font color=”red”>
                   <h1> Did You Know?</h1> </font>
                   <img src=”smiley.jpg” width=”120” height=”80” align=”left”/>
                   <font size=4>

                   The Kaveri River rises as a spring at Brahmagiri Hill in Talakaveri, Karnataka’s
                   Kodagu region. In reality, a sizable temple was constructed here, and she
                   is revered as the Goddess Kaveri. One of the must-see locations in Coorg is
                   Talakaveri. One of the holiest places, a tiny tank has been built to point
                   to the river’s source.


                364   Touchpad Web Applications-XI
   361   362   363   364   365   366   367   368   369   370   371