• blog
  • Why you should avoid using deprecated HTML and CSS – Part One

October 7,2021

Why you should avoid using deprecated HTML and CSS – Part One

byIsev Team Isev Team

deprecated

Like everything else, syntax used in HTML and CSS has changed over the years. Code which would have been valid a couple of years ago is now a definite no-no. Why the change in syntax? The simplest answer is that more functional or flexible alternatives have been found and adopted.

Times change, you need to move on.

If you use deprecated HTML and CSS, the best case scenario is that your website will not validate, which hey, isn’t the worst thing in the world. However I do think that web standards are important, all developers that take pride in their work do.

That isn’t the worst case scenario. Browsers should support depreciated tags, but support cannot be guaranteed. This means that if you use deprecated syntax, your website could end up breaking on the next browser update.

Deprecated HTML Tags

Here are some deprecated HTML tags, which you should avoid at all costs.

Deprecated HTML tags Description Replacement
<applet> Inserts applet <object>
<basefont> sets font styles CSS
<center> centers elements <div style=”text-align:center”> / CSS
<dir> directory list <ul>
<font> applies font styles font stylesheets / CSS
<isindex> adds search field <form> with relevant <input>
<menu> menu list <ul>
<s> strike through CSS
<strike> strike through CSS
<u> underline CSS

Along with the above tags that are deprecated there are also attributes you should really try to stay away from. In part two we will consider which of these you should avoid.

Continue Reading

Our digital marketing forecast for 2025

Digital marketing in 2024 has witnessed a range of shifts, many of which are rapid advancements and changes to our technology and how we consume media. As businesses strive to connect with their audiences, trends like AI-powered tools, and short-form videos have redefined how brands approach marketing strategies. Now, attention spans are shorter, trust is … Continued

Isev Team
Isev Team December 16th, 2024
What makes isev website development better

Your website is often the first impression potential customers get of your brand. A well-developed website doesn’t just look good; it offers real, measurable benefits. It drives more sales, keeps visitors engaged, and should last over time, but this isn’t always the case.   In this article, we’ll explore what makes quality development essential for … Continued

Isev Team
Isev Team November 15th, 2024
What sets our website designs apart?

Website design goes beyond aesthetics; it's about crafting an experience that keeps your audience engaged and encourages them to return to your business.

Avatar
Leanne October 18th, 2024
Understanding Website Architecture: A Comprehensive Guide

Did you know that, on average, users spend only 54 seconds on a website? In that brief moment, it’s crucial to grab their attention, engage them, and make them want to stay on your website. So, if your site is difficult to navigate, visitors are more likely to leave and seek an easier experience elsewhere. … Continued

Isev Team
Isev Team October 7th, 2024