+ 5

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

3rd Sep 2020, 5:44 PM
I M J
I M J - avatar
3 Antworten
+ 5
pre{ font-family: Arial; } Try this
3rd Sep 2020, 5:49 PM
Muhammadamin
Muhammadamin - avatar
+ 3
Muhammadamin How many fonts are supported?? I applied my favourite, "Comic Sans", but it did not work!
4th Sep 2020, 12:47 AM
I M J
I M J - avatar
+ 3
Try to download font Comic Sans on the internet than connect that file with css
4th Sep 2020, 4:10 AM
Muhammadamin
Muhammadamin - avatar