How to change font of text? I tried font tag but it didn't worked | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to change font of text? I tried font tag but it didn't worked

18th Jun 2021, 3:03 PM
Learner
Learner - avatar
4 Answers
+ 3
Font-family Go in fonts.google.com find your font and click on + copy link write in <head> and css in your css Font-size Just write font-size: number and px/em/rem/%..; Font-weight In css write Font-weight: bold/bolder or numbers; More you can see in w3schools.com Thanks!
18th Jun 2021, 3:30 PM
Սոֆի Մովսեսյան
Սոֆի Մովսեսյան - avatar
+ 2
Anand Raj why don't you see others code who have used different fonts :)
18th Jun 2021, 3:21 PM
Abhiyantā
Abhiyantā - avatar
0
bro I have completed 14 out of 18 but still not able to write html code properly.
18th Jun 2021, 3:06 PM
Learner
Learner - avatar