+ 1

How can I change the font style in HTML?

14th Oct 2020, 1:49 PM
Killer
3 Answers
+ 4
To change the text font in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <p> tag, with the CSS property font-family, font-size, font-style, etc.
14th Oct 2020, 1:51 PM
Alphin K Sajan
Alphin K Sajan - avatar
14th Oct 2020, 2:11 PM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
Can you give me simple example?
14th Oct 2020, 1:55 PM
Killer