Class 7 - Term III - Lab Activity

4,498 views

Published on

Class 7 - Term III - Lab Activity

Published in: Education, Technology, Design
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,498
On SlideShare
0
From Embeds
0
Number of Embeds
25
Actions
Shares
0
Downloads
81
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Class 7 - Term III - Lab Activity

  1. 1. Lab Activity Class 7 III Term Exercise 1: Write a HTML document to display your name and residential details in a web browser. (Use BGCOLOR and TEXT attributes) Program Code: <HTML> <HEAD><TITLE>My Residential Details</TITLE></HEAD> <BODY BGCOLOR = "YELLOW" TEXT = "RED"> <B><U>R. Andrew</U><BR> # 13, Casa Major Road,<BR> Egmore, Chennai - 600 008.</B> </BODY></HTML> Output: (to be drawn of the left page) Exercise 2: Karan has to create a Web Page in HTML on the topic “National Festivals of India”. His teacher has told him to set the left and top margins as 50, background color as yellow and the text color as green. Write a HTML document and view it in a web browser. Program Code: <HTML> <HEAD><TITLE>Festivals of India</TITLE> </HEAD> <BODY BGCOLOR = "YELLOW" TEXT = "GREEN" TOPMARGIN = "50" LEFTMARGIN = "50"> <B>NATIONAL FESTIVALS OF INDIA</B><BR><BR> There are three National Festivals of India:<BR><BR> 1. Independence Day - It is celebrated on 15th August every year<BR> 2. Republic Day - It is celebrated on 26th January every year<BR> 3. Gandhi Jayanti - It is celebrated on 2nd October every year as Mahatama Gandhi’s Birthday<BR> </BODY></HTML>
  2. 2. Output: (to be drawn of the left page) Exercise 3: Create a web page on the topic “Importance of the Ozone Layer”. Program Code: <HTML> <HEAD> <TITLE>OZONE LAYER</TITLE> </HEAD> <BODY> <H1>Importance of the Ozone Layer</H1> <FONT COLOR = "DARKGREEN" SIZE = "5"> <P>Ozone layer cuts some of the ultraviolet light coming from the sun.</P> </FONT> <FONT COLOR = "BLUE" SIZE = "5"> <P>It forms a sort of sunscreen high up in the atmosphere, shielding the biosphere from the harmful effects of ultraviolet light which is bad for us and for crops. The most serious outcome of ultraviolet exposure in humans is skin cancer.</P> </FONT></BODY></HTML> Output: (to be drawn of the left page)
  3. 3. Exercise 4: Create a web page on the topic “Facilities in My School”. Set text color to purple and background color to purple and background color to yellow. The heading should be center-aligned. Select a suitable font style, size, and color for the text. A horizontal line should appear below the heading. Program Code: <HTML> <HEAD><TITLE>MY SCHOOL</TITLE></HEAD> <BODY BGCOLOR = "YELLOW" TEXT = "PURPLE"> <H2 ALIGN = "CENTER">ABC INTERNATIONAL SCHOOL</H2> <HR ALIGN = "CENTER" WIDTH = "50%" COLOR = "GREEN" SIZE = "3"> <FONT FACE ="COMIC SANS MS" SIZE = "4" COLOR = "BLUE"> <P>Facilities available in the school:</P> </FONT> <FONT FACE="ARIAL" SIZE= "4" COLOR= "GREEN"> <P>Computer Centre</P> <P>Sports Academy</P> <P>Art and Craft Centre</P> <P>Language Lab.</P> <P>Science Lab.</P> </FONT> </BODY> </HTML> Output: (to be drawn of the left page)

×