Skip to Main Content or Page Contents


Deprecated HTML Tags (Elements)

The following elements should not be used in HTML5. There function is better handled by CSS

Results per page:

Match: any search words all search words

List of Deprecated HTML Tags (Elements)

The following elements should not be used in HTML5. There function is better handled by CSS

Tags (Elements) Description Alternative
<acronym> Defines an acronym Use the <abbr> tag
<applet> Defines an applet Use <embed> or <object>
<basefont> Defines an base font size & text colour for the page. body { color:red }
<big> Defines big text Use CSS e.g. h1 {font-size:40px;} p {font-size:16px;}
<center> Defines centered text Use CSS e.g. p {text-align:center;}
<dir>Defines a directory list Use <ul> or CSS instead.
<font> Defines text font, size, and color Use CSS e.g.  p { font: 14px Verdana, Geneva, sans-serif; color: #0F0; }
<frame> Defines a frame  
<frameset> Defines a set of frames  
<isindex> Defines a single-line input field Browsers do the function of this tag automatically
<noframes> Defines a noframe section  
<s> or <strike> Defines strikethrough text Use the <del> tag usually rendered as a strikethrough
<tt> Defines teletype text Use CSS e.g. p {font-family:'Lucida Console', monospace;}  Produces monospace text.
<u> Defines underlined text Avoid using the <u> element where it could be confused for a hyperlink.

 


© tutorials4u.com
HTML Tutorial by John McGuinn.