Page 97 - Computer - 7
P. 97
INFO RETENTION
INFO RETENTION
A. Select the correct option for each of the following statements.
1. A text document that contains various CSS rules for formatting elements in a web page is
called ______.
(a) External CSS (b) Embedded CSS
(c) Inline CSS (d) Notepad CSS
2. The margin property used to set all margins of an element in one declaration is ______.
(a) margin-all (b) all-margin (c) margin (d) four margin
3. The property used to control the horizontal position of blocks of text in a web page is ______.
(a) text-align (b) text-place (c) text-shadow (d) text-transform
4. The property that is used to control the capitalisation of text in a web page is
(a) text-capitalisation (b) text-transform (c) text-case (d) text-decoration
5. An Inline CSS is specified by adding the style attribute to the
(a) <html> tag (b) <body> tag (c) <title> tag (d) <html> tag
B. Fill in the blanks with the correct answer.
1. A _________ holds formatting codes that control your web page’s appearance.
2. The _________ specifies the element to which you want to apply a style rule.
3. The _________ property is used to specify the colour of a border.
4. The _________ property is used to specify a font for the text.
5. The various properties with the _________ attribute need to be enclosed within double quotes.
C. Write ‘T’ for True and ‘F’ for False statement.
1. You must place the image to be used for the background of a web page in the same
folder as the HTML document for the web page. _______
2. Inline CSS are used to specify a style to a specific HTML element on a web page. _______
3. An embedded CSS is saved with the extension .css. _______
4. The code margin: 25px sets the top margin of a web page. _______
5. The text properties are used to specify the font, size and style of text on a web page. _______
D. Answer the following questions.
1. What is CSS? Write the syntax for writing a CSS rule.
2. List the different ways in which you can insert CSS in an HTML document.
95