Page 410 - Webapplication11_C11_Flipbook
P. 410
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>
Output:
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
408 Touchpad Web Applications-XI

