Computer Applications
What is the correct CSS syntax to change the font name ?
- font-name:
- font:
- font-family:
- fontname:
CSS
2 Likes
Answer
font-family:
Reason — font-family: is used to define a list of fonts that should be used to display a given element or web page.
Answered By
3 Likes
Related Questions
What property is used to change the text color of an element ?
- fontcolor:
- textcolor:
- color:
- font-color:
Which is the correct CSS syntax ?
{p:color=black(p}p {color: black;}{p;color:black}p:color=black
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