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


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 ↓↓↓

9/3/2020 5:44:41 PM


3 Answers

New Answer


pre{ font-family: Arial; } Try this


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


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