Category: Deprecated

Deprecated in html5

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more
<font> HTML TagThe <font> element was used to specify typographical display styles. It has been deprecated and fonts should be styled with CSS instead.
How To Center Align Your Text Using CSS [HTML Is Deprecated]The <center> element was used to identify text that should be centered when rendered by a browser. However, the element has been deprecated, and the correct and modern way to center-align text is with CSS.
Font Weight Is Deprecated In HTML5, But Here's The New CSSWas used to indicate the weight (boldness) of text. Deprecated. Use CSS instead.
How Img Border HTML Code Gave Way To CSS: A Simple TutorialPreviously used to define a border on an image element. It has been deprecated and should no longer be used.
HTML Frames Are Obsolete In HTML5: Here's How To Make Them ResponsiveFrames tutorial and complete description of HTML tags for frames. Includes examples of different frames techniques.

Frames allow you to divide the page into several rectangular areas and

CSS Code Example For Font Color (And Why HTML Is Forbidden)Was used to specify font color. Deprecated. Use CSS instead.
Still Using HTML Marquee Tags? Find Out Why They Aren't RecommendedThe <marquee> element was used to identify text that should move across a defined section of a webpage in a horizontal or vertical direction. The element has been deprecated and should no longer be used. CSS or JavaScript can be used to create similar effects.
8 Invalid HTML Elements You Should Stop Using ImmediatelyApplets, frames, acronyms, and the use of tables for page layout are just a few of the invalid HTML practices covered in this tutorial.
HTML Font Size Is Out (But CSS Is In): Here's How To Specify Font Size TodayWas used to specify the size of text. Deprecated. Use CSS instead.
AppletsLearn about Java applets, why not to use them, and how to transition Java-powered content to languages and frameworks supported by modern browsers.
<app> HTML TagThe <app> element was a predecessor of the <applet> element which was deprecated in HTML 4.01 and removed from the specification entirely in HTML5. Modern equivalents include <object> and <embed>.
<img loop=""> Attribute: Make Videos Loop In Your HTMLPreviously used to specify the number of times a video should play, when used in conjunction with the dynsource attribute. Both attributes have been deprecated.
How to Use <frame> Tags in Your HTML CodeThe <frame> element was used to break a single browser window into multiple independent browsing contexts. Frames have been deprecated and should not used by modern websites.
<applet archive=""> HTML AttributeSpecified the URL of a JAR (Java Archive) file containing the application code for the applet. The applet element has been deprecated.
<a name=""> HTML AttributeDepreciated - do not use.
<applet> HTML TagThe <applet> element was used to add Java applets to an HTML document. This element was deprecated in HTML 4.01 and removed from the HTML specification entirely with the release of HTML5. Modern equivalents inlcude <object> and <embed>.
<applet code=""> HTML AttributeSpecified the URL of an application code file to be used in an applet. The applet element has been deprecated.
<applet codebase="""> HTML AttributeSpecified the location of a directory contain application code to be used in an applet element. The applet element has been deprecated.
<applet width=""> HTML AttributeSpecified the display width of an applet panel. The applet has been deprecated.
<applet height=""> HTML AttributeSpecified the display height of an applet panel. The applet element has been deprecated.
<applet align=""> HTML AttributeWas used to specify the alignment of an applet relative to the surrounding content. The applet element has been deprecated.
<applet vspace=""> HTML AttributeWas used to specify the amount of whitespace that should appear above and below an embedded <applet> element. Applets and the vspace attribute have been deprecated.
<applet hspace=""> HTML AttributeSpecified the amount of horizontal space (margin) on both sides of an applet element. The applet element has been deprecated.
<applet border=""> HTML AttributeSpecified the border around the applet panel. The applet element has been deprecated.
<applet name=""> HTML AttributeDefined the name of an applet. The applet element has been deprecated.
<applet mayscript=""> HTML AttributeIndicated whether an applet may access on-page JavaScript objects. The applet element has been deprecated.
<body scroll="">Was used to toggle the display of scroll bars on a page, disabling the user's ability to scroll. Deprecated. You could use CSS to accomplish this, but you should not because it is a bad idea.
<basefont> HTML TagThe <basefont> element was used to set the default font size for an HTML document. Deprecated in HTML 4.01 and removed entirely from HTML5, <basefont> is not supported by modern browsers and font styling should be controlled with CSS.
<basefont size=""> HTML AttributeWas used to set the base font size for a whole document. Deprecated. Use CSS instead.
<basefont color=""> HTML AttributeUsed to set the text color for a whole document. Deprecated. Use CSS instead.
<basefont face=""> HTML AttributeWas used to set the base font face for a document. Deprecated. Use CSS instead.
<bgsound> HTML TagThe <bgsound> element was used to embed a background audio track in an HTML document. It was only ever properly implemented in Internet Explorer and is no longer supported. The <audio> element can now be used to add background sounds, but audio tracks that autoplay and cannot be disabled by the user are strongly discouraged in modern web design.
<big> HTML TagThe <big> element was used to cause the selected text to appear one size larger than the surrounding text. This purely presentational tag was removed from HTML5 and should not be used. Instead, use CSS to control font size.
<body stylesrc="">Was a proprietary attribute for the Frontpage system. Do not use.
<body topmargin="">Was used to set a margin above the body of a document. Deprecated. Use CSS.
<body text="">Was used to style the text inside the body of the document. Deprecated. Use CSS.
<caption align="">Was used to control the horizontal alignment of a table caption. Deprecated. Use CSS instead.
<font point-size="">Was used to specify the size of text. Deprecated. Use CSS instead.
<form name="">The `name` attribute is deprecated when used with the `form` element. Use `id` instead.
<font face="">Was used to specify a typeface. Deprecated. Use CSS instead.
<frameset> HTML TagThe <frameset> element was used to create a group of frames which could be styled and controlled as a unit. Frames have been deprecated and should no longer be used.
<hype> HTML TagThe <hype> element was used to create a browser-specific "Easter Egg" effect. It was never added to the official HTML specification and is no longer supported by any browser. Do not use it.
<img align="">Was previously used to specify the alignment and placement of an image relative to the surrounding text. It has been deprecated and should not be used.
<img start="">Was used in conjunction with the dynsrc attribute to add a video that would load in supported browsers in the place of the image that would otherwise be displayed.
<img dynsrc="">An early failed attempt to include native video playback in HTML.
<img name="">Identified the image or provided additional information about it. Deprecated in HTML 4.0 in favor of other attributes.
<img hspace="">Previously used to add horizontal space on both side of an image. It is now deprecated.
<img lowsrc="">Specified a smaller or lower-quality version of an image.
<img naturalsizeflag="">This attribute does nothing. It was once used by a proprietary software system.
<img controls>Toggled media player controls when used in conjunction with the dynsrc attribute. Both attributes are now deprecated.
<img nosave>Was intended to prevent users from downloading an image. Was never a part of the HTML specification, and not widely implemented.
<input language="">Was used to indicate the scripting language used for events triggered by the input.
<img suppress="">Used by the now-defunct Netscape browser to suppress the display of image prior to image download completion.
<multicol gutter="">The <multicol> element is deprecated, and should not be used. Claire Broadley Claire is seasoned technical writer, editor, and HTML… Read More...
<multicol cols="">The <multicol> element is deprecated, and should not be used. Claire Broadley Claire is seasoned technical writer, editor, and HTML… Read More...
<multicol> HTML TagThe <multicol> element was an experimental feature, now deprecated, that was used to create a newspaper-style layout for text content. The modern CSS columns property can be used to create the same effect.
<listing> HTML TagThe <listing> element was intended as a way to render HTML code on a page. It was never properly supported, and is now deprecated. Using <listing> will almost certainly result in unexpected results. Instead, use <code>, or place the content in a <div> with the appropriate CSS styling.
<multicol width="">The <multicol> element is deprecated, and should not be used. Claire Broadley Claire is seasoned technical writer, editor, and HTML… Read More...
<noembed> HTML TagThe <noembed> element was conceived as a way to provide fallback content to users whose browsers did not support the <embed> element. In HTML 4.02 <noembed> was deprecated in favor of <object> to provide fallback content.
<ol start="">Defines the starting number in an ordered list.
<plaintext> HTML TagThe <plaintext> element was used to render HTML code as plain text. Since everything after the opening tag was rendered as plain text, there was no closing <plaintext> tag. This element is obsolete and should not be used. Instead, use the <code> or <pre> elements.
<select readonly><readonly> is not valid in HTML. Use the disabled attribute. Claire Broadley Claire is seasoned technical writer, editor, and HTML… Read More...
<sound> HTML TagThe <sound> element was used in the Mosaic browser to add sound files to HTML documents. It was never formally adopted in an HTML standard and has no support among modern browsers. Instead, use the modern HTML5 element <audio>.
<table width="">The width attribute of <table> is not supported in HTML. Use CSS to control the appearance of tables. Claire Broadley… Read More...
<table hspace="">hspace is not a valid attribute of <table>. Use CSS instead. Claire Broadley Claire is seasoned technical writer, editor, and… Read More...
<table height="">The height attribute of <table> is not valid in any version of HTML. Use CSS instead. Claire Broadley Claire is… Read More...
<table rules="">Was used to specify the display of internal borders between rows and colums. This attribute has been deprecated. Use CSS to style table borders instead.
<table summary="">The summary attribute of <table> was designed to support non-visual HTML readers, such as screen readers. It is deprecated in… Read More...
<xmp> HTML TagThe <xmp> element was used to surround HTML example text that should be rendered without interpreting any HTML elements between the opening and closing <xmp> tags. The element was deprecated in HTML 3.2 and is now obsolete.