Computer Applications
What is the correct CSS syntax for making all the <p> tag's font size 14px ?
p {14px}p {font-size: 14px;}p {text-size: 14px;}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
Which HTML attribute is used to define inline CSS styles ?
- css
- style
- type
- id
How do you make each word in a text start with a capital letter ?
- text-transform:capitalize
- text-transform:uppercase
- You can't do that with CSS
- text:capitalize
Which CSS property controls the text size ?
- font-height
- text-size
- font-size
- text-style
How do you insert padding so that it is :
10 pixels at the top 15 pixels at the bottom 5 pixels at the right 10 pixels to the left- padding:10px 15px 5px 10px ;
- padding:15px 5px 10px 10px ;
- padding:10px 5px 10px 15px ;
- padding:10px 5px 15px 10px ;