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

Com Test

Uploaded by

Satrajit Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Com Test

Uploaded by

Satrajit Das
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

FM=40

1. Fill in the blanks: 10 X 1 = 10


a. We define CSS rules using the…………… element in the embedded style sheet.
b. The values more large and larger can be given to the………Property in CSS.
c. To display a dotted border surrounding the element, the……………… property can be used.
d. The property in CSS used to Specify the spacing between characters is…………………………… .
e. The property in CSS used to change the text colour of an element is………………. .
f. The HTML attribute used to define the inline style is…………… .
g. The CSS property used to make the text bold is……………… .
h. To transform text to upper case : style=”…………………. : …………………… ;” .
i. An HTML element to Which a style rule is applied is called…………… In CSS.
j. The……………….. property can be used to specify the style as italic or oblique for the text.
2. Choose the correct answers: 10 X 1 = 10
A. Which of the following is the correct method(s) to specify colours in CSS?
i) Color: red
ii) Color: #ff000
iii) Color: rgb(255,0,0)
iv) All of these
B. Find the odd one out:
i) Font-size
ii) Font-type
iii) Font-family
iv) Font-weight
C. Which of the following syntax is correct in CSS to make each word of a sentence start with capital letter?
i) Text-style : capital;
ii) Transform : capitalize;
iii) Text-transform : capitalize;
iv) Text -transform : capital;
D. Which of the following CSS property is used To intend the first line of the text:
i) Font-family
ii) Font-decoration
iii) Font-indent
iv) Text-indent
E. Which of the following code will U use to display the following output in the browser window?

i) <h1 style=”text-align : center; text-decoration : overline;”> Hello, World! </h1>


ii) <h1 style="text-align : center; design : overline;"> Hello, World! </h1>
iii) <h1 style="text-align : center; text-graph : overline;"> Hello, World! </h1>
iv) <h1 style="text-align : center; text-design : upperline;"> Hello, World! </h1>
F. Find out which of the following codes is wrong:
i) <h1 style="text-align : center; color:green;"> Hello, World! </h1>
ii) <h1 style="text-align : center; border-color:green;"> Hello, World! </h1>
iii) < p style =”font-weight : bolder;”> the text is bold.</p>.
iv) All are correct.
G. Which of the following CSS property is used To get a rounded corner border:
i) Border-corner
ii) Border-circular
iii) Border-radius
iv) None of these
H. None, underline, overline, line-through -These values apply to which of the following properties?
i) Text-design
ii) Text-indent
iii) Text-graph
iv) Text-decoration
I. Which type of CSS is used in the below code?- body {background -color : blue;}
i) Inline css
ii) External css
iii) Internal css
iv) None of the above
J. which of the following cases property is used to make the text bold?
i) Text-decoration: bold
ii) Font-weight: bold
iii) Front-style: bold
iv) Font-style: bold
3. Answer the following questions 5 X 2 = 10
A. What is the acronym for CSS? Write the definition of CSS.
B. What are the types of CSS ? write the difference between them.
C. What is inline css? Explain the syntax of inline css with examples
D. What is Margin Property in CSS? Explain with examples.
E. What is border property in css? Explain with examples.
4. Design the following webpage with html & CSS: 10

You might also like