Deprecated HTML Attributes - W3docs
Có thể bạn quan tâm
- Password Generator
- HTML Editor
- HTML Encoder
- Base 64
- Code Diff
- JSON Beautifier
- CSS Beautifier
- Markdown Convertor
- Find the Closest Tailwind CSS Color
- Phrase encrypt / decrypt
- Browser Feature Detection
- Number convertor
- JTW Decoder
- CSS Maker
- CSS Maker text shadow
- CSS Maker Text Rotation
- CSS Maker Out Line
- CSS Maker RGB Shadow
- CSS Maker Transform
- CSS Maker Font Face
- Color Picker
- Colors CMYK
- Colors HWB
- Colors HSL
- Color Hex
- Color mixer
- Color Converter
- Colors RGB
- Color Contrast Analyzer
- Color Gradient
- String Length Calculator
- MD5 Hash Generator
- Sha256 Hash Generator
- String Reverse
- URL Encoder
- URL Decoder
- Base 64 Encoder
- Base 64 Decoder
- Extra Spaces Remover
- String to Lowercase
- String to Uppercase
- Word Count Calculator
- Empty Lines Remover
- HTML Tags Remover
- Binary to Hex
- Hex to Binary
- Rot13 Transform on a String
- String to Binary
- Duplicate Lines Remover
- Dark
- Light
- System
- HTML Basics HTML IntroductionEditors & ToolsHTML ElementsHTML Basic TagsHTML AttributesHTML HeadingsHTML FormattingHTML LinksHTML ListsHTML ColorsHTML CommentsHTML TablesHTML BlocksHTML ScriptsHTML Styles - CSSHTML File PathsHTML Computercode
- HTML Templates Layout TemplatesForm Templates
- HTML 5 HTML5 IntroductionHTML5 TagsSemantic ElementsAudio & VideoHTML5 Browser SupportHTML5 Migration
- HTML References Character SetsASCIIISO-8859-1ISO Language CodesUTF-8 EncodingHTML EntitiesKeyboard ShortcutsHTTP MethodsHTML ImagesHTTP Status MessagesMIME-TypesTable of HTML TagsXHTMLHTML URL
- HTML Tags Deprecated TagsHTML Global AttributesEvent Attributes<!-- ... --><!DOCTYPE><a><abbr><acronym><address><applet><area><article><aside><audio><b><base><basefont><bdi><bdo><big><blink><blockquote><body><br><button><canvas><caption><center><cite><code><col><colgroup><data><datalist><dd><del><details><dfn><dialog><dir><div><dl><dt><em><embed><fieldset><figcaption><figure><font><footer><form><frame><frameset><h1>-<h6><head>
- <header><hgroup><hr><html><i><iframe><img><input><ins><isindex><kbd><keygen><label><legend><li><link><main><map><mark><marquee><menu><menuitem><meta><meter><nav><nobr><noframes><noscript><object><ol><optgroup><option><output><p><param><plaintext><picture><pre><progress><q><rb><rp><rt><rtc><ruby><s><samp><script><section><select><small><source><spacer><span><strike>
- <strong><style><sub><summary><sup><svg><table><tbody><td><template><textarea><tfoot><th><thead><time><title><tr><track><tt><u><ul><var><video><wbr><xmp>
- Canvas Tutorial Canvas IntroCanvas DrawingCanvas CoordinatesCanvas GradientsCanvas TextCanvas ImagesCanvas Reference
- SVG Tutorial SVG IntroSVG in HTML5SVG RectangleSVG CircleSVG EllipseSVG LineSVG PolygonSVG PolylineSVG PathSVG TextSVG StrokingSVG Filters IntroSVG Blur EffectsSVG Drop ShadowsSVG LinearSVG RadialSVG Reference
- HTML Attributes Deprecated AttributesHTML Class AttributeHTML id Attribute
- HTML Media HTML MultimediaHTML YouTube Videos
- HTML Forms HTML Forms
- HTML Attribute Reference altasyncacceptcontentcontenteditablecontrolscoordsdisableddownloaddraggableautocompleteautofocusdeferdircolspanaccesskeyactionautoplaycheckedaccept-charset
The attributes presented below are deprecated, i.e., they are no longer used in the mentioned tags and are replaced by other attributes that you can find in the "Alternate" section of the table.
| Attributes | Description | Deprecated in | Alternate |
|---|---|---|---|
| align | Specifies the alignment of the element | <caption>, <img>, <table>, <hr>, <div>, <h1>-<h6>, <p> | CSS text-align, float and vertical-align properties |
| alink | Specifies the color of an active link in a document | <body> | CSS active Pseudo Class |
| background | Specifies the background image | <body> | CSS background-image Property |
| bgcolor | Specifies the background color | <body>, <table>, <tr>, <td>, <th> | CSS background-color Property | border | Specifies the width of the border | <img>, <object> | CSS border-width Propert |
| clear | Clears any right or left alignments | <br> | CSS clear Property |
| compact | Specifies that the list should render smaller than normal | <ol>, <ul> | |
| height | Specifies the height of the element | <table> | CSS height Property |
| hspace | Specifies the whitespace or padding on left or right sides of an element | <img>, <object> | CSS padding Property |
| language | Specifies scripting language | <script> | The type attribute |
| link | Specifies the default color of the links | <body> | CSS link Pseudo Class |
| noshade | It specifies that a horizontal line should render in one solid color (noshaded) | <hr> | |
| nowrap | Specifies that the text should not wrap within the table cell | <td>, <th> | CSS white-space Property |
| size | Specifies the initial width for the input field and a number of visible rows for the select element | <basefont>, <font>, <hr> | |
| start | Specifies the starting point of the ordered list | <ol> | CSS property counter-reset |
| text | Specifies the color of the text | <body> | CSS color property |
| type | Specifies the type of list | <li> | CSS list-style-type Property |
| value | Specifies the value of the list item | <li> | |
| vlink | Specifies the color of visited links | <body> | CSS visited Pseudo Class |
| vspace | Specifies the whitespace or padding above or below an element | <img>,<object> | CSS padding Property |
| width | Specifies the width of the element | <hr>,<pre>,<td>,<th> | CSS width Property |
Practice Your Knowledge
Which of the following are deprecated HTML attributes according to W3docs? align for div elements bgcolor for body elements src for img elements alt for img elements border for img elementsQuiz Time: Test Your Skills!
Ready to challenge what you've learned? Dive into our interactive quizzes for a deeper understanding and a fun way to reinforce your knowledge.
- HTML Basics
Related Resources
- Deprecated HTML Tags
- PHP basics
- HTML Basics
- Javascript Basics
- CSS Basics
- ES6 Basics
- TypeScript Basics
- React Basics
- Angular Basics
- Sass Basics
- Git Basics
- Vue.js Basics
- SQL Basics
- Python Basics
- Java Basics
- NodeJS Basics
Từ khóa » Html Col Width Deprecated
-
Stop Using To Set Table Width In HTML: Here's Why »
-
Is There Any Alternative To Colgroup Col Width Attribute Now It Has ...
-
Deprecated Width Attribute In Columns HTML Example - BitDegree
-
: The Table Column Element - HTML - MDN Web Docs - Mozilla -
: The Table Column Group Element - MDN Web Docs -
The “width” Attribute On The Table (or Td) Element Is Obsolete. Use ...
-
The Width Attribute On The Table Element Is Obsolete
-
HTML/Table Tags/width And Height Of A Cell - TAG Index
-
HTML:
Tag - TechOnTheNet -
Setting Column Widths In A Heritage Coach (deprecated) - IBM
-
Deprecated: Table - IBM
-
HTML Th Width Attribute - W3Schools
-
HTML And CSS Tutorial: How-To's And Miscellaneous
-
How To Set HTML Table Width And Height