• 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

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
How to Get a High Quality Website

One of our favourite quotes is “If it’s done right, it’ll last forever”, a statement that is specifically true for how important a quality website company, with talented developers and designers is. Sure, you could get a website built for you, or even build one yourself both at a lower cost than professional website builders … Continued

Isev Team
Isev Team September 24th, 2024
The Customer Journey: Tips and best practices

This article looks in detail at both the customer journey and the conversion funnel, analysing how they function and how they work hand in hand.

Avatar
Leanne August 15th, 2024
Data Analysis: Tips and Best Practices

Now that a vast majority of businesses are online, there are a range of different data sets that they can analyse. This is great! It means they can really take the time to understand how their business is doing, they can also learn more about their customers. However, this isn’t the easiest process if you … Continued

Avatar
Leanne July 23rd, 2024