w3resource

HTML tags you will not use anymore

Introduction

With the rise of HTML5, there are certain HTML tags, which have become aobsolete. Not surprising, if you are in web design or development, you have to update yourself often. So, in this tutorial we you will unlearn certain HTML tags which have become obsolete and you will learn what is better alternative for those obsolete tags.

acronym

Start and end tag

Both are required.

Purpose

Acronym

Alternative

Use the abbr element

applet

Start and end tag

Both are required.

Purpose

Java applet

Alternative

Use the object element.

basefont

Start and end tag

Start tag is required and end tag is empty.

Purpose

Base font style

Alternative

This has limited support in browsers. Use CSS instead.

bgsound

Start and end tag

Start tag is required and end tag is empty.

Alternative

Use the audio element.

big

Start and end tag

Both are required.

Alternative

Use a semantically appropriate element with CSS for the style.

blink

Start and end tag

Both are required.

Alternative

CSS provides an alternative with limited browser support, but note that blinking text is annoying.

center

Start and end tag

Both are required.

Alternative

Use a semantically appropriate element with CSS for style.

dir

Start and end tag

Both are required.

Alternative

Use the ul element.

font

Start and end tag

Both are required.

Purpose

Font style

Alternative

Use a semantically appropriate element with CSS for style.

frame

Start and end tag

Both are required.

Alternative

Consider using CSS layouts or the iframe element.

frameset

Start and end tag

Both are required.

Alternative

Consider using CSS layouts or the iframe element.

isindex

Start and end tag

Both are required.

Alternative

Use a form with a text input and submit button.

listing

Start and end tag

Both are required.

Purpose

Preformatted text

Alternative

Use the pre element

marquee

Start and end tag

Both are required.

Alternative

Scripting or CSS animations can be used to simulate scrolling text.

nobr

Start and end tag

Both are required.

Alternative

Use a semantically appropriate element with CSS for style.

noembed

Start and end tag

Both are required.

noframes

Start and end tag

Both are required.

plaintext

Start and end tag

Both are required.

Purpose

Preformatted text

Alternative

Use the pre element

s

Start and end tag

Both are required.

Alternative

Consider using the del element, if appropriate, or another semantically appropriate element with CSS for style.

spacer

Start and end tag

Both are required.

Alternative

Use CSS layout techniques.

strike

Start and end tag

Both are required.

Alternative

Consider using the del element, if appropriate, or another semantically appropriate element with CSS for style.

tt

Start and end tag

Both are required.

Purpose

Teletype

Alternative

Consider using the code element, if appropriate, or another semantically appropriate element with CSS for style.

u

Start and end tag

Both are required.

Alternative

Use a semantically appropriate element with CSS for style.

wbr

Start and end tag

Start tag is required and end tag is empty.

xmp

Start and end tag

Both are required.

Purpose

Preformatted text

Alternative

Use the pre element.

Previous: HTML5 header element

Test your Programming skills with w3resource's quiz.



Become a Patron!

Follow us on Facebook and Twitter for latest update.

It will be nice if you may share this link in any developer community or anywhere else, from where other developers may find this content. Thanks.

https://www.w3resource.com/html5/html-tags-you-will-not-use-anymore.php