KnowledgeBoat Logo
|

Computer Applications

What is the correct CSS syntax for making all the <p> tag's font size 14px ?

  1. p {14px}
  2. p {font-size: 14px;}
  3. p {text-size: 14px;}
  4. p {font: 14px;}

CSS

5 Likes

Answer

p {font-size: 14px;}

Reason — The correct syntax for changing all the <p> tag's font size is :

p {font-size : value ;}

The given option follows the correct CSS syntax.

Answered By

1 Like


Related Questions