Chapter 7: Cascading Style Sheets
A.Fill in the blanks.
Answer 1. Semi-colon (;)
2. A…………..is a type of an attribute of HTML tag.
Answer 2. Property
3. Each ……………is separated by a semicolon.
Answer 3. Declaration
4. An ………… is used to change the appearance of the whole website.
Answer 3. External style sheet
5.A…………….tag is used on every webpage to link it with the style sheet.
Answer 3. <link>
6.Using the …………. attribute of the relevant tag, you can apply style sheet rule directly to any HTML element.
Answer 3. Style
B: Answer in one word
1.It points to the HTML element you want to style.
Answer: Selector
2.It is given to the attribute or property.
Answer: Value
3.It contains one or more declarations.
Answer: Declaration block
4.It can be saved with a .css extention.
Answer: External Style Sheet
5.Tag used to apply Style Sheet rules to a single document only.
Answer: <style>
6.It has the properties related to the font using CSS
Answer: CSS Fonts
C. Write T for True and F for False statements.
1.Using CSS,it is neccessary to write HTML tag attributes every time
Answer: F
2.A CSS rule-set consists of a selector and a declaration.
Answer: T
3.A <link> tag is used on every webpage to link inline style sheet.
Answer: F
4.Using the style attribute of the relevant tag, you can apply style sheet rules directly to any HTML element.
Answer: T
5.The CSS color property defines the font to be used.
Answer: F
6.CSS Background-size properly is used to add the image in the background.
Answer: F
7.Font style properly is mostly used to specify italic text.
Answer: T
8.To center align an element horizontally you can use the align attribute.
Answer: F
D. Answer these Questions.