HTML Obsolete Tags
Obsolete (or disapproved) tags are HTML key point that were formerly part of earlier HTML performances but are no longer supported or recommended in futuristic HTML (especially HTML5).
These tags may still work in some browsers, but their operation is discouraged because better and further semantic option are available.
Common Obsolete tags in HTML
-
<font>– Adapted to define font face, size, and color. Use CSSfont-family,font-size, andcolorproperties instead. -
<center>– Adapted to center-align content. Use CSStext-align: center;instead. -
<big>– Made text appear larger than normal. Use CSSfont-sizeproperty instead. -
<strike>– Created strikethrough text. Use<del>or CSStext-decoration: line-through;instead. -
<u>– Underscored text without meaning. Use CSStext-decoration: underline;or<ins>if the text has semantic meaning (inserted text). -
<applet>– Added Java applets. Deprecated due to security pitfalls. Use<object>or other modern technologies instead. -
<acronym>– Defined acronyms. Use<abbr>instead. -
<frameset>,<frame>– For making framed layouts. No longer supported in HTML5. Use<iframe>for embedded content or modern layouts like Flexbox and Grid.
Example (Obsolete Way – Not Recommended)
<font
size="+3"
color="green"
face="Arial"
>
Learn coding from MK_Coder Website!
</font>
<center><u>Welcome
</u></center>
futuristic Way (Using CSS)
<style>
.title {
font-size: 1.5em;
color: green;
font-family: Arial, sans-serif;
text-align: center;
text-decoration: underline;
}
</style>
<h1
class="title"
>
Learn from My Website!
</h1>
Summary
- Obsolete tags may still work, but they break stylish practices.
- They reduce availability, maintainability, and semantic structure.
- Always use futuristic HTML5 and CSS for styling and structure.
“ Involve the future of web design — leave obsolete tags behind. ”