6.Explain the terms of ALINK and VLINK.

Ans:The ALINK is called an active link. This attribute specifies the colour of an active link in a doucument(A link is activated when it is clicked).Example: < Body Alink ="#FFOOFF">

When you close the website that has been opened using a link and now you go and see the link, you will find that it will be in purple colour. It mean that the website connected to the link has already been opened using the link.Whenever You open the website containing the link until the history is erased, the Vlink will appear in purple only. Example:< BODY Vlink ="FFAAOO" >

7.What's purpose of using the tag< H1 >...< H6 >?

Ans :The Heading tag is used to define the diterent heading levels in an HTML document. These are used to emphasise the text. There are six heading levels, < HI > to < H6 >. The < H1 > heading style displays the text in the largest size and is mainly used for main headings. The loner levels are used for subheadings. It is not essential to use these heading levels in hierarchy. The heading tags are written within the < BODY > tag.

8. What are comments and how do you give them in HTML?

Ans:Comments are useful for the programmers as they can write notes for themselves explaining the source code .There are two ways of creating a comment:

• Using < !--and-- >

Example:< !--This text will not be displayed by the browser-->

• Using < COMMENT > tag

Example: < COMMENT > This is a comment

9.what is the purpose of using the type attribute in lists? {CESE 2003}

Ans:The type attribute specifies the type of numbering and bullets used to mark items in an ordered list and ordered lut respectively. By default, its value is'1' 'for ordered list and 'Disc'for an unordered list.

10 .differentiate between < UL > and < OL > tags.

Ans:< UL >tag is used to define the unordered in an HTML document. The unordered list is used when the items are not to be displayed in any particular order. The < UL > tag indents each item in the list and adds a bullet against each of them .

< OL >tag is used to define the ordered list in an HTML document. The ordered list is used to display the list of items in a specific order. The < OL > tag indents and gives a number to each item in the list, and is also known as the Numbered list.

SECTION 3: APPLICATION BASED QUESTIONS-(SOLVED)

1.Shiv is doing a school project based on HTML .His HTML fle is getting saved as a text document: therefore, he cannot view his project through the browser. Find the errot.

Ans:He is not saving the project with the extension .htm or .html.

2. Shruti wants to set the text colour, size, and style for the whole HTML document. Which tag should Shruti use to complete this task?

Ans:< BASEFONT >Tag.

3.Find the errors in the following lines of HTML code and write the correct code.

< HTML >

< TITLE > HABITS< TITLE >

< HEAD >

< BODY >

< FONT="Lucida Handwriting" >

< P Align =Center >

< B >< U >THOUGHT FOR THE DAY


page no:103
         
Home