0
How do we write "font-family"
2 Respuestas
+ 2
You already wrote answer correctly in your question.
Open css tab, use a selector, then use font-family property and just give it a value.For example:-
div{
font-family: cursive;
}
+ 1
"font-family" is correct in your answer!
Just need to add the font name, there are several fonts out there, like:
courier new
fantasy
cursive
Arial
But some might not working, so you should have a link of that font to apply it in the code, like this:
@import url('https://fonts.googleapis.com/css2?family=Lacquer&display=swap');
when the link have added, you can use the font like normal, so this font named "Lacquer", and you want to apply it to all texts, then the code will looks like this:
body {
font-family: Lacquer;
}