CSS Multiple choices


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

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


 

 

 

 



B


Solution:-

CSS font-weight Property describes as below:-

Definition and Usage of the font-weight property set how thick or thin characters in text should be displayed.

The following example shows how to set different font-weight for different three paragraphs,

p.normalFont { font-weight: normal; }
p.thickFont { font-weight: bold; }
p.thickerFont { font-weight: 900; }

 




Next 5 multiple choice(s)

1

How do you display hyperlinks without an underline?

2

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

3

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

4

How do you make the text bold?

5

How do you display a border like this:
The top border = 10 pixels
The bottom border = 5 pixels
The left border = 20 pixels
The right border = 1pixel?

Comments