0% found this document useful (0 votes)
7 views

class 7 revision assignment

This document is a revision assignment for Class VII Computer Science at Delhi Public School, Dwarka, covering topics related to HTML and CSS. It includes multiple-choice questions, fill-in-the-blanks, true/false statements, definitions, and questions about HTML document structure and CSS application methods. The assignment aims to assess students' understanding of web development concepts and coding syntax.

Uploaded by

Happiness always
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

class 7 revision assignment

This document is a revision assignment for Class VII Computer Science at Delhi Public School, Dwarka, covering topics related to HTML and CSS. It includes multiple-choice questions, fill-in-the-blanks, true/false statements, definitions, and questions about HTML document structure and CSS application methods. The assignment aims to assess students' understanding of web development concepts and coding syntax.

Uploaded by

Happiness always
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DELHI PUBLIC SCHOOL, DWARKA

REVISION ASSIGNMENT 2( 2022-23}


r SUB: COMPUTER SCIENCE
CLASS VII
.

SECTION A
1. HTML stands for
----
a) HyperText Markup Language
b) HyperText Machine Language
c) HyperText Marking Language
d) HighText Marking Language
2. Choose the correct tag for the largest heading in HTML.
a) h6 . b) ·heading c) h1 d) head
3. Among the following, which is the HTML paragraph tag?
a) <p> b) <pre> c) <hr> d) <a>
4. Which of the following extension is used to save an HTML file?
a) .hi b) .h c) .htl d) .html
5. What is the use of <hr> tag in HTML?
a) For making content appearance in italics
b) To create verti.cal rule between sections
c) To create a line break
d) To create horizontal rule between sect.ions
6. _ _ _ _allow you to customize a tag, and are defined within the opening tag.
a) Elements · b) Tags · ,~ c) Attributes d) Editor
7. Left, Right, Center and Justify are types of:
a) Alignment b. Styles c. Paragraphs d. Elements
8. Which is an empty tag?
a) <br> b. <hr> , c. Both a and b d. None of these
9. Which .of the following is the correct syntax for referring the external style sheet?
a) <style src = example.css>
b) <style src = "example.css" >
c) <stylesheet> example.css </stylesheet>
d) <link rel="sty/esheet" type="text/css" href="example.css">
10. The property in CSS used to change the background color of an element is -
a) Bgcolor b) color c).background-color d) All of the above
11. Text-color can be set by using the: ·
a) Hex value b) RGB value c) name d) all of these
12. Times New R~man, Candara, Calibri are types of:
a) Fonts b) sty/es c) colours d) borders
3. The border property is shorthand for setting border-
a) Color b) width c) style d) All of these
4. Which one of the following properties enable you to change the look of your text?
a) Font-family b) Text-color c) Background d) None of these
>. The HTML attribute used to define the inline styles is -
a) Style b) styles c) class d) None of the above
. In how many ways can CSS be written in?
a) 1 b) 2 c) 3 d) 4
17. What type of CSS is the following code snippet?

<h1 style="color:blue;">A Blue Heading</h1 >


a) lnline b) lnterncll c) External d) None of these
18. Wh~t type of CSS is generally recommended for designing 'large web pages?
a) lnline . b) Internal c) External d) None of these
19. In the below code, in what order will the margins be added?
p{
margin: 25px 50px 75px 100px;
}
a) Top, Right, Bottom, Left c) Top, Left, Bottom, Right
b) Top, Bottom, Right, Left d) Right, Left, Top, Bottom
20. What will be the output of following CSS code?
H1 {color:"green";}
a) nothings happen b) error occurs
c) heading becomes dark-green d) heading becomes green
SECTION B
.Q 1) Fill in the blanks .
1. In order to specify margin to have same value as that of its parent element. It's value should be set to _ _
2. _ _ _ _ styles are placed straight into the HTML tags using the style attribute.
3. The information between curly brackets is called a
4. The text/bracket combinations are called
---------
----
Q2) Write T for true and F for false.
1. Paragraph tag is used to display the text in the form of paragraph
2. Internet Explorer, Opera, Mozilla Firefox etc are'types of HTML editor
3. In CSS, the properties is written to the left of the first curly bracket.
4. There is always a beginning tag and an end tag.

Q3) Define the following:


a) Tags b) <Head> tag c) <Body> tag d) <p> tag

Q3) Specify the CSS property used to add following to an HTML page along with its syntax-

a) Background colour
b) Change text to uppercase/lowercase
c) Set the direction of text
d) To define a double border
e) To underline a text

Q4) Answer the following questions

a) Define the structure of HTML document with an example.


b) What are different ways to apply a CSS?

Q5) Differentiate between the following:

a) <p> and <br> Tags b) lnline and Internal stylesheets

You might also like