HTML CLASS X

 

Worksheet 1  

1. Multiple choice questions:-



a. HTML is acronym for

i) High Text Marker Language

ii) Higher Text Markup Language

iii) Hyper Text Markup Language

iv) Hyper Transfer Makeup Language

b. A coded HTML command that indicates how part of a web page is displayed is called……………

i) Attribute

ii) Tag

iii) Style

iv) All of these

c. The tags that require a starting as well as ending tag are called………

i) Pair element

ii) Twin element

iii) Container element

iv) Empty element

d. To specify the background image for the document, Background attribute is used with which of the following tags?

i) <BODY>

ii) <HTML>

iii) <P>

iv) None of these

e. The attribute used to choose the type of font in HTML is

i) Character

ii) Face

iii) Text-type

iv) Font-type

2. What is the difference between container tags and empty tags?

Ans2. CONTAINER ELEMENTS- This type of HTML elements require pair tags i.e.

a starting as well as an ending tag e.g. <TITLE>……</TITLE>,

<HEAD>…..</HEAD>.

EMPTY ELEMENTS- This type of HTML elements requires just a starting tag

and not an ending tag e.g. <BR>, <BASE>. Empty elements just carry out their

specific job e.g., <HR> inserts a horizontal rule and <BR> breaks a line.

3. Write the basic structure of HTML?

Ans3. Basic Structure of HTML-

<HTML>

<HEAD>

<TITLE>My first Web page </TITLE>

</HEAD>

<BODY>

The HTML tags that define your page go here

</BODY>

</HTML>

4. Explain the usage of each of the following tags:-

Ans4. HTML Tags and its usage-

1. <HTML>. It is a structural tag used to mark the beginning and end of an HTML document.

2. <BODY>. It is a structural tag that encloses all the visible content of a webpage.

3. <P>. It is a formatting tag used to mark the beginning of a new paragraph.

4. <U>. It is a formatting tag used to underline text on a webpage.

5. <CENTER>. It is a formatting tag used to centralize text on a webpage.

5. Write a sample HTML code to display an address in exactly the same way as given here:

Tina Lal

<M9>, Cannaught Circus,

New Delhi-1

Ans5. <HTML>

<HEAD>

<TITLE> Address </TITLE>

</HEAD>

<BODY>

Tina Lal <BR>

<M9>, Cannaught Circus, <BR>

New Delhi-1

</BODY>

</HTML>


Worksheet 02 

1. Multiple choice questions:-

a. HTML is a

i. Package ii. Software iii. Language iv. None of these

b. Choose the correct HTML tag for the largest heading?

i. <H1> ii. <H6> iii. <H10> iv. <HEAD>

c. The page title is inside the…………tag.

i. Body ii. Head iii. Division iv. Table

d. Which of the following is the HTML tag used to insert a horizontal rule?

i. <h1> ii. <hr> iii. <rule> iv. <br>

e. Which attribute is not valid for <BODY> tag?

i. Background ii. Color iii. vlink iv. Left margin

2. Write the full form of the following tags:

i. <VLINK> ii. <ALINK> iii. <BR>

Ans2. i. VLINK- Visited Link

ii. ALINK- Active Link iii. BR - tag is used for line break.

3. Differentiate between <TITLE> and <HEAD> tags

Ans3. The TITLE tag- The title element contains document title and identifies its content in a global context. The title is typically displayed in the title bar at to top of the browser window, but not inside the window itself. A title is also used to identify your page for search engine. This tag is used inside <HEAD>……</HEAD> tags.

The BODY tag- The Body tag defines the documents body. It contains all the contents

of an HTML document, such as text, images, lists, tables, hyperlinks etc.

4. Identify the errors and write the corrected HTML Statements:

a. <BODY BACKGROUND=”Red”>

b. <FONT TYPE=”Arial”>

Ans4. a. < BODY BGCOLOR=”RED”>

b. <FONT FACE=”Arial”>

5. Write html code to display a background of image on your web page.

Ans5. <HTML>

<HEAD>

<TITLE> Background image </TITLE>

</HEAD>

<Body background=”C:\Users\Administrator\Desktop\maths.jpg”>

Sample webpage

</BODY>

</HTML>

Comments

Popular posts from this blog

HTML FORM (10 NOVEMBER 2021 ONLINE CLASS NOTES..........)

YOUTUBE LINKS FOR COMPUTER APPLICATIONS FOR BETTER UNDERSTANDING THE TOPICS

Practical file questions (15 Marks)