• 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

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
Should you get your website redesigned?

Recognising whether your website needs a redesign involves assessing various crucial areas that impact its overall success, such as user experience, and more. From visual elements to technical aspects, every component contributes to the effectiveness of your online presence. To guide you through this process, we’ve compiled a comprehensive list to help you figure out … Continued

Isev Team
Isev Team June 4th, 2024
Key Practices for Enhanced Admin Security

Safeguarding your website’s admin area is crucial in today’s digital age, especially as despite the amount of online security available, there are just as many threats. Websites hold a wealth of sensitive information and the admin area of a website is a prime target for cyber threats, such as data breaches and unauthorised access. This … Continued

Isev Team
Isev Team May 22nd, 2024
Why you need to upgrade Magento

Upgrading Magento offers a wealth of benefits, yet many businesses remain reluctant to take the leap. Despite the compelling advantages, the process of upgrading can be perceived as complex and resource-intensive – and while this can be true, the benefits and safety that comes with upgrading should be enough cause to get businesses to capitalise … Continued

Avatar
Leanne May 17th, 2024