HTML font is used to give fonts (like Times New Roman, Verdana, courier etc.) to the text on web page.
HTML Fonts is defined by style="font-family:value;" syntax.
In the place of value, we can give values of font family style like verdana, courier, arial etc.
It can be used with any HTML element inside Opening tag.
In the above, we have shown an example of HTML Font Style Attribute.
In Paragraph Tag, we have used font-family style attribute which is used to give different font family on the web page.
When we use different font family, then it improves the readability as well as the appearance of text on the web page.
Run the code to see the effect.