class 7 revision assignment
class 7 revision assignment
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?
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