0

How do we write "font-family"

8th Jan 2025, 12:00 PM
Myint Myat
Myint Myat - avatar
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; }
8th Jan 2025, 12:39 PM
Gulshan Mahawar
Gulshan Mahawar - avatar
+ 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; }
10th Jan 2025, 5:05 AM
☕︎︎AstroParrot✦
☕︎︎AstroParrot✦ - avatar