+ 3

How to change fonts or style of words in html

14th Apr 2018, 10:37 AM
Hax max
Hax max - avatar
4 Respuestas
+ 4
p{ font-style:italic }
14th Apr 2018, 10:38 AM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
/* Change the styling */ p{ font-family: #; font-size: #; font-style: #; font-variant: #; font-weight: #; } To import a google font you will need to use the @font-face in your css file.
15th Apr 2018, 10:10 AM
Derek Stockton
Derek Stockton - avatar
0
Use font-family property
2nd May 2018, 10:10 AM
Surya Prakash
Surya Prakash - avatar
0
you can use inline CSS like <p style="font-size:5px">Earth </p> or in your separate CSS file(file_name.CSS) that you linked to your html file like p{ font-size:5px; } like font-size you can use different font-style go for that whatever you need.
3rd May 2018, 7:38 PM
chitranjan soni
chitranjan soni - avatar