[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-685820-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-685820-en":130,"doc-similar-685820":148},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","html-attribute-reference-table-of-all-html-attributes","HTML Attribute Reference - Table of all HTML attributes","","HTML Attribute Reference presents a comprehensive table of HTML attributes, detailing what each attribute is for and which HTML elements it can be used with. The content focuses on practical attribute descriptions such as how form submission parameters are specified, how media and scripts are controlled, and how accessibility and metadata are expressed. It also notes limitations where features are not supported in HTML 5 and suggests using CSS alternatives when applicable.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/html-attribute-reference-table-of-all-html-attributes/685820/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/html-attribute-reference-table-of-all-html-attributes/685820.png","ImageObject",300,407,{"name":42,"@type":43},"awa","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What does the HTML Attribute Reference table provide?","Question",{"text":62,"@type":63},"It lists HTML attributes, explains their purpose, and indicates which elements each attribute belongs to.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does the reference describe attributes used in forms?",{"text":67,"@type":63},"It specifies attributes like action, method-related encodings, and input behaviors, along with the elements they apply to.",{"name":69,"@type":60,"acceptedAnswer":70},"Does the reference include notes about HTML5 support?",{"text":71,"@type":63},"Yes. It flags attributes not supported in HTML5 and recommends using CSS instead for alignment, border, background color, and text color.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},685820,1794018881,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":110,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":117,"preview_page_count":22,"preview_urls":143},3985747858093,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","[w3schools](w3schools.com)[.com](w3schools.com)  \n􀀦 􀀓 HTML CSS JAVASCRIPT MORE 􀀛 REFERENCES 􀀛 􀀝 􀀔 􀀕  \n\n| HTML Attribute Reference\u003Cbr>|  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- |\n| ❮ Previous |  |  | Next ❯ |  |  |  |\n| HTML Attribute Reference\u003Cbr>The table below lists all HTML attributes and what elements they can be used within: |  |  |  |  |  |  |\n|  | Attribute |  | Belongs to | Description |  |  |\n|  | accept |  | \u003Cinput> | Specifies the types of files that the server accepts (only for type=\"file\") |  |  |\n|  | accept-charset |  | \u003Cform> | Specifies the character encodings that are to be used for the form submission |  |  |\n|  | accesskey |  | Global Attributes | Specifies a shortcut key to activate/focus an element |  |  |\n|  | action |  | \u003Cform> | Specifies where to send the form-data when a form is submitted |  |  |\n|  | align |  | Not supported in HTML 5. | Specifies the alignment according to surrounding elements. Use CSS instead |  |  |\n|  | alt |  | \u003Carea>, \u003Cimg>, \u003Cinput> | Specifies an alternate text when the original element fails to display |  |  |\n|  | async |  | \u003Cscript> | Specifies that the script is executed asynchronously (only for external scripts) |  |  |\n|  | autocomplete |  | \u003Cform>, \u003Cinput> | Specifies whether the \u003Cform> or the \u003Cinput> element should have autocomplete enabled |  |  |\n|  | autofocus |  | \u003Cbutton>, \u003Cinput>, \u003Cselect>, \u003Ctextarea> | Specifies that the element should automatically get focus when the page loads |  |  |\n|  | autoplay |  | \u003Caudio>, \u003Cvideo> | Specifies that the audio/video will start playing as soon as it is ready |  |  |\n|  | bgcolor |  | Not supported in HTML 5. | Specifies the background color of an element. Use CSS instead |  |  |\n|  | border |  | Not supported in HTML 5. | Specifies the width of the border of an element. Use CSS instead |  |  |\n|  | charset |  | \u003Cmeta>, \u003Cscript> | Specifies the character encoding |  |  |\n|  | checked |  | \u003Cinput> | Specifies that an \u003Cinput> element should be preselected when the page loads (for type=\"checkbox\" or type=\"radio\") |  |  |\n|  | cite |  | \u003Cblockquote>, \u003Cdel>, \u003Cins>, \u003Cq> | Specifies a URL which explains the\u003Cbr>quote/deleted/inserted text |  |  |\n|  | class |  | Global Attributes | Specifies one or more classnames for an element (refers to a class in a style sheet) |  |  |\n|  | color |  | Not supported in HTML 5. | Specifies the text color of an element. Use CSS instead |  |  |\n|  | cols |  | \u003Ctextarea> | Specifies the visible width of a text area |  |  |\n|  | colspan |  | \u003Ctd>, \u003Cth> | Specifies the number of columns a table cell should span |  |  |\n|  | content |  | \u003Cmeta> | Gives the value associated with the [http-equiv](http-equiv) or name attribute |  |  |\n|  | contenteditable |  | Global Attributes | Specifies whether the content of an element is editable or not |  |  |\n|  | controls |  | \u003Caudio>, \u003Cvideo> | Specifies that audio/video controls should be displayed |  |  |\n|  |  |  |  |  |  |  |\n\n\n| 􀀦 | 􀀓 HTML | CSS | JAVASCRIPT MORE 􀀛 | REFERENCES 􀀛 􀀝 􀀔 | 􀀕 |\n| --- | --- | --- | --- | --- | --- |\n|  | coords |  | \u003Carea> | Specifies the coordinates of the area |  |\n|  |  |  |  |  |  |\n|  | data |  | \u003Cobject> | Specifies the URL of the resource to be used by the object |  |\n|  | data-* |  | Global Attributes | Used to store custom data private to the page or application |  |\n|  | datetime |  | \u003Cdel>, \u003Cins>, \u003Ctime> | Specifies the date and time |  |\n|  | default |  | \u003Ctrack> | Specifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate |  |\n|  | defer |  | \u003Cscript> | Specifies that the script is executed when the page has finished parsing (only for external scripts) |  |\n|  | dir |  | Global Attributes | Specifies the text direction for the content in an element |  |\n|  | dirname |  | \u003Cinput>, \u003Ctextarea> | Specifies that the text direction will be submitted |  |\n|  | disabled |  | \u003Cbutton>, \u003Cfieldset>, \u003Cinput>, \u003Coptgroup>,\u003Coption>, \u003Cselect>, \u003Cte","cbCaimnQBElPOu8G","https://ap.wps.com/l/cbCaimnQBElPOu8G","pdf",677698,"English","# HTML Attribute Reference\n## Attribute List and Element Associations\n## Examples and Notes on HTML5 Support","[{\"question\":\"What does the HTML Attribute Reference table provide?\",\"answer\":\"It lists HTML attributes, explains their purpose, and indicates which elements each attribute belongs to.\"},{\"question\":\"How does the reference describe attributes used in forms?\",\"answer\":\"It specifies attributes like action, method-related encodings, and input behaviors, along with the elements they apply to.\"},{\"question\":\"Does the reference include notes about HTML5 support?\",\"answer\":\"Yes. It flags attributes not supported in HTML5 and recommends using CSS instead for alignment, border, background color, and text color.\"}]","HTML Attribute Reference - Table of all HTML attributes | PDF",[144],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/75446130b2348a208f8800c83ff15556.webp",983,1390,{"list":149,"token":11},[150,156,162,168,175,181,187,193,199,205],{"doc_id":151,"doc_title":152,"file_type":137,"home_preview_img_url":153,"slug":154,"view_count":33,"category_name":29,"create_tm":155},697982,"Essential HTML Tags - Page 1 - Apply appropriate HTML tags","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010150459/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=f7bzV7Ts0dqICatyRfmS0c4NTqE%3D","essential-html-tags-page-1-apply-appropriate-html-tags",1794446726,{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":101,"category_name":29,"create_tm":161},699461,"CSS Cascading Style Sheets - Basic CSS Properties Syntax and Usage","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011003513/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=HvBcsyFb%2FYnMEEQBBIGpyt7PmT8%3D","css-cascading-style-sheets-basic-css-properties-syntax-and-usage",1794468363,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":96,"category_name":29,"create_tm":167},699465,"HTML and CSS - CSE316 Fundamentals of Software Development","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010042286/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=9VJ7oeMCOAIv%2Bl3apDurMTzdYhs%3D","html-and-css-cse316-fundamentals-of-software-development",1794468371,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":173,"category_name":29,"create_tm":174},491464,"HTML Cheat Sheet - A quick guide to HTML, CSS, and JavaScript basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928196033/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=nyLFKuNV7FxY161BzbiJmiaMAmE%3D","html-cheat-sheet-a-quick-guide-to-html-css-and-javascript-basics",21,1790849720,{"doc_id":176,"doc_title":177,"file_type":137,"home_preview_img_url":178,"slug":179,"view_count":96,"category_name":29,"create_tm":180},693034,"CSS Handbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005053838/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=dCEgE3xjoRaOVUNT00ydyn4rWJg%3D","css-handbook",1794246437,{"doc_id":182,"doc_title":183,"file_type":137,"home_preview_img_url":184,"slug":185,"view_count":101,"category_name":29,"create_tm":186},699464,"Basic CSS - Lecture 4 - CSS Styling Fundamentals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010042266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=YGgSoTQf6uzGmUaaTpTLF6SNm38%3D","basic-css-lecture-4-css-styling-fundamentals",1794468368,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":30,"category_name":29,"create_tm":192},732849,"HTML Semantics and Accessibility Cheat Sheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031412606/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=ZEdQpxTIrJdiSixlh8Ha0XrcfbU%3D","html-semantics-and-accessibility-cheat-sheet",1795382444,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":96,"category_name":29,"create_tm":198},703162,"25 Tips and Tricks for Using HTML and CSS Like a Pro","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013426135/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=9AdrsyTnP5fPqn4adGUE5mUJbFs%3D","25-tips-and-tricks-for-using-html-and-css-like-a-pro",1794561906,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":96,"category_name":29,"create_tm":204},703164,"HTML Handbook - Updated July 31, 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012255236/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=Io8jDDQuPPe1RteXim45Sp8ExVU%3D","html-handbook-updated-july-31-2026",1794561912,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":29,"create_tm":211},489354,"Email Template Survival Guide - Version 1.8.0 - Last Updated 8/31/2018","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927231789/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796121119&Signature=JzM68eZFEYe0e5aMbDR7clcOqNU%3D","email-template-survival-guide-version-180-last-updated-8312018",11,1790822423]