how to change font styles? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to change font styles?

24th Aug 2016, 3:10 PM
Dalvin Santoso
Dalvin Santoso - avatar
7 Answers
+ 3
in HTML style="font-face:'Arial,Comic Sans Serif;" Or http://fonts.google.com you can use other fonts.
24th Aug 2016, 9:06 PM
HawkEye
HawkEye - avatar
+ 3
<font style = ' Times New Roman'>.....Your Text here.....</ font>
29th Aug 2016, 11:24 AM
Aastha Bhat
Aastha Bhat - avatar
+ 2
The best openion is use CSS
24th Aug 2016, 9:19 PM
Mike Dead
Mike Dead - avatar
+ 1
You can use inline css to change font style For example consider you want to change the font style of a paragraph tag you can use style attribute in paragraph tag <p style="font-family="sans";font-style="italic";color="red";">This is a paragraph</p> you can also use style tag in head element also.
31st Aug 2016, 9:17 AM
Sai krishna Osk
Sai krishna Osk - avatar
0
<font face=anyfontyouhave>
24th Aug 2016, 8:03 PM
Hussain Shimal
Hussain Shimal - avatar
0
You can put your text in a paragraph and use inline styling to set the font. <p style="font-family:monaco;"/>Here is your answer</font></p> <p>This is normal text</p>
24th Aug 2016, 9:49 PM
Dina Dinarax
Dina Dinarax - avatar
0
thanks
24th Aug 2016, 10:41 PM
Dalvin Santoso
Dalvin Santoso - avatar