Legacy & Obsolete Elements

<font>

Build a form with the HTML form generator

Obsolete or historical HTML; do not use in new documents. Changed the face, color or size of text. Replace with CSS; select a semantic element when the text has a meaningful role. The syntax shows old markup for recognition only. The runnable example demonstrates a modern migration pattern, not the obsolete behavior.

Formal Syntax & Structure

html syntaxhtml
<font color="blue">Text</font>

Working Example

Example Snippethtml
<span style="color: #0645ad">Text</span>
HTML Reference