Wednesday 28 November 2012

HTML Formatting Tags

HTML
HTML (Hyper Text MarkUp Language) is used to create web pages. The codes are called tags. The tags are given within < and >.
There are two types of tags ,
i.                   Container Tag : It has both opening and closing tags.
                         e.g : <html>  </html>
ii.                 Empty Tag     : It has only a opening tag.
                        e.g : <br>
The basic structure of a HTML document is
<html>
<head>
<title>
</title>
</head>
<body>
………
……..
</body>
</html>
 Whatever is typed between <title> and </title>  will be displayed on the title bar not in the web page.

<html>
<head><title> My Page BCBS</title>
</head>

<body>
Your text goes here.
</body>
</html>

Example 1 :
<html>
<head><title> My Page BCBS</title>
</head>
<body>
Bishop Cotton Boys' School
</body>
</html>


The output will be :

 


The data entered between <body> and </body> only  will be displayed in the web page.

 I.                   Formatting Tags :
1.     Bold :  <b>  …</b>
2.     Italics  : <I> …. </I>
3.     Underline  : <U> ….</U>
 
4.     Center Tag: The spelling is important. It positions the text in the center of the screen. <center>....</center>

 
II.                Marquee Tag : It helps the text or image move from one direction to the other.
i.                   Background  color:
<marquee bgcolor=olive> ….. </marquee>
ii.                 Behavior : No u in the spelling.
a.     Scroll : It is a default attribute.It moves the text from right to left.
b.     Slide : It moves to the opposite direction and stops.
c.      Alternate : It moves to the opposite direction , bounces back to the original direction and continues.
<marquee behavior=alternate>…..</marquee>
iii.              Speed :
<marquee scrolldelay=number>…..</marquee>
It determines the speed of the marquee. If the number is small, the marquee will move faster, and it moves slower if the number is big.
iv.              Direction :
<marquee direction= right or left or up or down>….</marquee>
v.                 Loop : It gives the number of times the text will move.
<marquee loop=number> ….. </marquee>

Sunday 25 November 2012

HTML - Worksheet

HTML – Worksheet I

Identify the formatting tags applied in the passage.
25th November  ‘2012
Top 3 highly  paid
1.  Oprah Winfrey :world’s highest paid.
2. Michael Bay  : Scored 2nd place.
3. Steven Spielberg : his Dreamworks forayed into TV.
     HTML  - Worksheet II
Find the error(s) if any in the following program:
<html>
<head>
<title> My Page </head>
</title>
</body>
A postcard signed by the first man on the moon, Neil Armstrong sold for $2,384 </br>
more than three times its pre sale estimate.
<body>
</html>
HTML  -Worksheet III
Write programs in HTML to display the following designs:
1.       
                          @
                @                 @
                          @
2.       
                 
            *  * *  * *
            *            *
            * * *  * * 
4.Predict the output :                                                                      
                   <html>
<head>
<title> Format</title></head>
<body>
_ _&nbsp_ _&nbsp_ _&nbsp__ _<br>
\_/&nbsp\_/&nbsp\_/&nbsp\_/ <br>
 </body>
</html>

Virus - Worksheet

Cross Word  : Refer the Computer Virus chapter.

1
2
3









4
5




6










7















8


9



10











11
12







13













14










Across
3.
Area in the hard disk
6.
Anti Virus
7.
Executable files
9.
Symptom of virus
10.
Greak Myth
12.
Master Boot Record
13.
Changes code
14.
Data files
Down
1.
Swen
2.
Type of virus
4.
Duplicate
5.
Computer Bomb
8.
General Infector
11.
This chap is a dangerous one.
 Clue :
Slow,JerusalemB,Macro-Virus,Stealthvirus,Bomb,MBR,Virus,Trojan,GeneralInfector,Worm,McAfee,Program-Virus,Boot-Sector,Replicate