CSS Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - CSS

Which CSS property controls the text size?


 

 

 

 



B


Solution:-

CSS font-size Property Definition and Usage:-
Using CSS the size of the font sets by the font-size property.

CSS Syntax for font-size is as follows,

font-size: medium | xx-small | x-small | small | large | x-large | xx-large | smaller | larger | length | initial | inherit;

Example:-

Set the font size for different elements,

div.a { font-size: 15px; }
div.b { font-size: large; }
div.c { font-size: 150%; }

 




Next 5 multiple choice(s)

1

What are the correct CSS syntax for making all the <p> elements bold?

2

How do you display hyperlinks without an underline?

3

How do you make each word in a text start with a capital letter?

4

Which property is used to change the font of an element?

5

How do you make the text bold?

Comments