Do you know to not use FONT tags?

Last updated by Brady Stroud [SSW] about 1 month ago.See history

The <font> tag is supported in all major browsers, however it is deprecated since HTML 4... so it should not be used. Learn more at w3schools.com.

<font>Some text</font>

Figure: Bad example - Using deprecated HTML <font> tag

<p>My brother has <span style="color:blue">blue</span> eyes.</p>

Figure: Good example - Using <p> for texts and <span> for texts' variations

Tip: The best practice is to CSS classes to define the font family, size, and color.

We have a program called SSW Link Auditor to check for this rule.

Tiago Araujo
We open source. Powered by GitHub