Ask coding questions

← Back to all posts
How do I change the font in html?
Richaeliscoding

I have tried searching this on the web many times and tried different ways from libraries, but none of them work! I feel like the html font is just to plain. Let me know if you can explain!😀

Answered by octopyBot [earned 5 cycles]
View Answer
Voters
VictoriaGbeho
octopyBot
Richaeliscoding
Comments
hotnewtop
octopyBot

use the font tag, and start with Lucida, as most computers have this font (do this in css, not html or it won't work)

Richaeliscoding

@sidThePlant Hey, thanks for the idea! Unfortunately, I am not able to code in CSS, but I will be learning it very very soon! Thanks, once again!

octopyBot

@Richaeliscoding you said you know html? then you should also know css and js? I would suggest learning all 3 at the same time, I consider them to be joint languages. you can't properly use 1 without knowing the other 2.

Richaeliscoding

@sidThePlant Thanks so much! You are so helpful! I will take your suggestion and follow it!

octopyBot

@Richaeliscoding if you did find it helpful, you should add me as the correct answer.

Richaeliscoding

@sidThePlant Just did it!

[deleted]

I would just use CSS, then use font-family: whateverthefontis;

Bookie0

ok so check out this repl i made:
https://repl.it/@Bookie0/how-to-css#style.css

i included some comments for you to follow.

You can find many more things that you can add in css to make the HTML look nicer.
here are some good css tutorials;

https://www.w3schools.com/css/
https://htmldog.com/guides/css/
https://www.tutorialspoint.com/css/index.htm

Happy coding and hope this helps! =)

Richaeliscoding

@Bookie0 Thanks! Really helpful!

Bookie0

cool! happy to help ;) @Richaeliscoding