HTML font - how to use <font;> tag

The HTML <font> tag is no longer supported in HTML5. It was used to define color, font size and font family. Instead CSS styles should be used to achieve this.


The font tag supports the global and event attributes.


<p style="font-family:Arial; font-size:12px; color:red">This is a test paragraph.</p>