Font in <pre> tag @HTML | SoloLearn: Learn to code for FREE!

+4

Font in <pre> tag @HTML

Does the code inside pre tag will be represented in courier font ?? How can I change that font ?? Please modify it here ↓↓↓ https://code.sololearn.com/WaDv9lXUtBpv/?ref=app

9/3/2020 5:44:41 PM

I M J

3 Answers

New Answer

+5

pre{ font-family: Arial; } Try this

+3

Try to download font Comic Sans on the internet than connect that file with css

+2

Muhammadamin How many fonts are supported?? I applied my favourite, "Comic Sans", but it did not work!