HTML Element Reference - By Category - W3Schools
Có thể bạn quan tâm
Tutorials
Tutorials filter input ×HTML and CSS
Learn HTML Tutorial Reference Learn CSS Tutorial Reference Learn RWD Tutorial Learn Bootstrap Overview Learn W3.CSS Tutorial Reference Learn Sass Tutorial Reference Learn Colors Tutorial Reference Learn Icons Tutorial Reference Learn SVG Tutorial Reference Learn Canvas Tutorial Reference Learn Graphics Tutorial Learn UTF-8 and Emojis Reference Learn How To TutorialData Analytics
Learn AI Tutorial Learn Generative AI Tutorial Learn ChatGPT-3.5 Tutorial Learn ChatGPT-4 Tutorial Learn Google Bard Tutorial Learn Machine Learning Tutorial Learn DSA Tutorial Learn Data Science Tutorial Learn NumPy Tutorial Learn Pandas Tutorial Learn SciPy Tutorial Learn Matplotlib Tutorial Learn Statistics Tutorial Learn Excel Tutorial Learn Google Sheets TutorialWeb Building
Create a Website HOT! Create a Server NEW Where To Start Web Templates Web Statistics Web Certificates Web Development Introduction to Programming Introduction to HTML & CSS Code Editor Test Your Typing Speed Play a Code Game Cyber Security Accessibility Join our NewsletterJavaScript
Learn JavaScript Tutorial Reference Learn React Tutorial Learn jQuery Tutorial Reference Learn Vue Tutorial Reference Learn Angular Tutorial Learn AngularJS Tutorial Reference Learn JSON Tutorial Reference Learn AJAX Tutorial Learn AppML Tutorial Reference Learn W3.JS Tutorial ReferenceWeb Building
Create a Website HOT! Create a Server NEW Where To Start Web Templates Web Statistics Web Certificates Web Development Introduction to Programming Introduction to HTML & CSS Code Editor Test Your Typing Speed Play a Code Game Cyber Security Accessibility Join our NewsletterBackend
Learn Python Tutorial Reference Learn SQL Tutorial Reference Learn MySQL Tutorial Reference Learn PHP Tutorial Reference Learn Java Tutorial Reference Learn C Tutorial Reference Learn C++ Tutorial Reference Learn C# Tutorial Learn R Tutorial Learn Kotlin Tutorial Learn Rust Tutorial Learn Go Tutorial Learn Django Tutorial Reference Learn PostgreSQL Tutorial Learn TypeScript Tutorial Learn ASP Tutorial Reference Learn Node.js Tutorial Reference Learn Raspberry Pi Tutorial Learn Swift Tutorial Learn Git Tutorial Learn Bash Tutorial Learn MongoDB Tutorial Learn AWS Cloud Tutorial Learn XML Tutorial Reference Reserve SpotData Analytics
Learn AI Tutorial Learn Generative AI Tutorial Learn ChatGPT-3.5 Tutorial Learn ChatGPT-4 Tutorial Learn Google Bard Tutorial Learn Machine Learning Tutorial Learn DSA Tutorial Learn Data Science Tutorial Learn NumPy Tutorial Learn Pandas Tutorial Learn SciPy Tutorial Learn Matplotlib Tutorial Learn Statistics Tutorial Learn Excel Tutorial Learn Google Sheets TutorialWeb Building
Create a Website HOT! Create a Server NEW Where To Start Web Templates Web Statistics Web Certificates Web Development Introduction to Programming Introduction to HTML & CSS Code Editor Test Your Typing Speed Play a Code Game Cyber Security Accessibility Join our Newsletter ×References
References filter input ×HTML and CSS
HTML Tags Reference CSS Reference W3.CSS Reference Bootstrap 3 Reference Bootstrap 4 Reference Color Names Icons Reference SVG Reference Canvas Reference Sass Reference UTF-8 Charset Reference UTF-8 Emojis ReferenceJavaScript
JavaScript Reference jQuery Reference Vue Reference Angular Reference JSON Reference AppML Reference W3.JS ReferenceBackend
Python Reference SQL Reference MySQL Reference PHP Reference Java Reference C Reference C++ Reference Django Reference ASP Reference Node.js Reference XML Reference ×Exercises
Excercises filter input ×HTML and CSS
HTML Exercise Quiz CSS Exercise Quiz Bootstrap 3 Exercise Quiz Bootstrap 4 Exercise Quiz Bootstrap 5 Exercise QuizData Analytics
DSA Exercise Quiz NumPy Exercise Quiz Pandas Exercise Quiz SciPy Exercise Quiz Excel Exercise What is an Exercise? What is a Quiz?JavaScript
JavaScript Exercise Quiz React Exercise Quiz jQuery Exercise Quiz Vue Exercise Quiz Angular Exercise QuizBackend
Python Exercise Quiz SQL Exercise Quiz MySQL Exercise Quiz PHP Exercise Quiz Java Exercise Quiz C Exercise Quiz C++ Exercise Quiz C# Exercise Quiz R Exercise Quiz Kotlin Exercise Quiz Django Exercise Quiz Node.js Exercise Quiz PostgreSQL Exercise Quiz TypeScript Exercise Quiz Git Exercise Quiz Bash Exercise Quiz Go Exercise MongoDB ExerciseData Analytics
DSA Exercise Quiz NumPy Exercise Quiz Pandas Exercise Quiz SciPy Exercise Quiz Excel Exercise What is an Exercise? What is a Quiz? ×Certificates
Filter field for certifications ×HTML and CSS
HTML Certificate Course Bootcamp CSS Certificate Course Bootcamp Bootstrap 3 Certificate Course Bootstrap 4 Certificate Course Bootstrap 5 CertificateData Analytics
DSA Certificate Data Analytics Course NumPy Certificate Course Pandas Certificate Course Excel Certificate Social Media Course What is a Certificate? What is a Bootcamp?Programs
Full Access Best Value! Front End Certificate Course Web Dev. Certificate Course Web App Certificate Course Web Design Certificate CourseJavaScript
JavaScript Certificate Course Bootcamp React Certificate Course Bootcamp jQuery Certificate Course Vue CertificatePrograms
Full Access Best Value! Front End Certificate Course Bootcamp Web Dev. Certificate Course Bootcamp Web App Certificate Course Web Design Certificate CoursePrograms
Full Access Best Value! Front End Certificate Course Bootcamp Web Dev. Certificate Course Bootcamp Web App Certificate Course Web Design Certificate CourseBackend
Python Certificate Course Bootcamp SQL Certificate Course Bootcamp MySQL Certificate PHP Certificate Course Java Certificate Course C Certificate C++ Certificate Course C# Certificate Course R Course Django Certificate NodeJS Certificate Bootcamp TypeScript Certificate Course XML Certificate Course Cyber Security Certificate Course Accessibility Certificate CourseData Analytics
DSA Exam Data Analytics Course NumPy Course Pandas Course Excel Certificate Social Media Course What is a Certificate? ×All Our Services
Dark mode Services filter input ×W3Schools offers a wide range of services and products for beginners and professionals, helping millions of people everyday to learn and master new skills.
Free Tutorials
Enjoy our free tutorials like millions of other internet users since 1999
References
Explore our selection of references covering all popular coding languages
Create a Website
Create your own website with W3Schools Spaces - no setup required
Exercises
Test your skills with different exercises
Quizzes
Test yourself with multiple choice questions
Get Certified
Document your knowledge
Log in / Sign Up
Create an account to track your progress
League
Earn XP and climb the ranks with different challenges
Upgrade
Become a PLUS user and unlock powerful features (ad-free, hosting, support,..)
Where To Start
Not sure where you want to start? Follow our guided path
Code Editor (Try it)
With our online code editor, you can edit code and view the result in your browser
Bootcamps
Learn from passionate instructors through live online sessions
Templates
We have created a bunch of responsive website templates you can use - for free!
Web Hosting
Host your own website, and share it to the world with W3Schools Spaces
Create a Server
Create your own server using Python, PHP, React.js, Node.js, Java, C#, etc.
How To's
Large collection of code snippets for HTML, CSS and JavaScript
CSS Framework
Build fast and responsive sites using our free W3.CSS framework
Videos
Learn the basics of HTML in a fun and engaging video tutorial
Browser Statistics
Read long term trends of browser usage
Typing Speed
Test your typing speed
Color Picker
Use our color picker to find different RGB, HEX and HSL colors.
Newsletter
Join our newsletter and get access to exclusive content every month
Emojis Reference
Check out our refererence page with all the emojis supported in HTML 😊
Code Game
W3Schools Coding Game! Help the lynx collect pine cones
UTF-8 Reference
Check out our full UTF-8 Character reference
Community
Chat, Learn and Connect with Us on Discord
Teachers
Contact us about W3Schools Academy for educational institutions
For Businesses
Contact us about W3Schools Academy for your organization
Contact Us
About sales: [email protected] About errors: [email protected]
× ❮ ❯ HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP HOW TO W3.CSS C C++ C# BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY AWS CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING INTRO TO HTML & CSS BASH RUSTHTML References
HTML by Alphabet HTML by Category HTML Browser Support HTML Attributes HTML Global Attributes HTML Events HTML Colors HTML Canvas HTML Audio/Video HTML Character Sets HTML Doctypes HTML URL Encode HTML Language Codes HTML Country Codes HTTP Messages HTTP Methods PX to EM Converter Keyboard ShortcutsHTML Tags
<!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <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> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <menu> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <option> <output> <p> <param> <picture> <pre> <progress> <q> <rp> <rt> <ruby> <s> <samp> <script> <search> <section> <select> <small> <source> <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> HTML Element Reference - By Category ❮ Previous Next ❯Basic HTML
| Tag | Description |
|---|---|
| <!DOCTYPE> | Defines the document type |
| <html> | Defines an HTML document |
| <head> | Contains metadata/information for the document |
| <title> | Defines a title for the document |
| <body> | Defines the document's body |
| <h1> to <h6> | Defines HTML headings |
| <p> | Defines a paragraph |
| <br> | Inserts a single line break |
| <hr> | Defines a thematic change in the content |
| <!--...--> | Defines a comment |
Formatting
| Tag | Description |
|---|---|
| <acronym> | Not supported in HTML5. Use <abbr> instead.Defines an acronym |
| <abbr> | Defines an abbreviation or an acronym |
| <address> | Defines contact information for the author/owner of a document/article |
| <b> | Defines bold text |
| <bdi> | Isolates a part of text that might be formatted in a different direction from other text outside it |
| <bdo> | Overrides the current text direction |
| <big> | Not supported in HTML5. Use CSS instead.Defines big text |
| <blockquote> | Defines a section that is quoted from another source |
| <center> | Not supported in HTML5. Use CSS instead.Defines centered text |
| <cite> | Defines the title of a work |
| <code> | Defines a piece of computer code |
| <del> | Defines text that has been deleted from a document |
| <dfn> | Specifies a term that is going to be defined within the content |
| <em> | Defines emphasized text |
| <font> | Not supported in HTML5. Use CSS instead.Defines font, color, and size for text |
| <i> | Defines a part of text in an alternate voice or mood |
| <ins> | Defines a text that has been inserted into a document |
| <kbd> | Defines keyboard input |
| <mark> | Defines marked/highlighted text |
| <meter> | Defines a scalar measurement within a known range (a gauge) |
| <pre> | Defines preformatted text |
| <progress> | Represents the progress of a task |
| <q> | Defines a short quotation |
| <rp> | Defines what to show in browsers that do not support ruby annotations |
| <rt> | Defines an explanation/pronunciation of characters (for East Asian typography) |
| <ruby> | Defines a ruby annotation (for East Asian typography) |
| <s> | Defines text that is no longer correct |
| <samp> | Defines sample output from a computer program |
| <small> | Defines smaller text |
| <strike> | Not supported in HTML5. Use <del> or <s> instead.Defines strikethrough text |
| <strong> | Defines important text |
| <sub> | Defines subscripted text |
| <sup> | Defines superscripted text |
| <template> | Defines a container for content that should be hidden when the page loads |
| <time> | Defines a specific time (or datetime) |
| <tt> | Not supported in HTML5. Use CSS instead.Defines teletype text |
| <u> | Defines some text that is unarticulated and styled differently from normal text |
| <var> | Defines a variable |
| <wbr> | Defines a possible line-break |
Forms and Input
| Tag | Description |
|---|---|
| <form> | Defines an HTML form for user input |
| <input> | Defines an input control |
| <textarea> | Defines a multiline input control (text area) |
| <button> | Defines a clickable button |
| <select> | Defines a drop-down list |
| <optgroup> | Defines a group of related options in a drop-down list |
| <option> | Defines an option in a drop-down list |
| <label> | Defines a label for an <input> element |
| <fieldset> | Groups related elements in a form |
| <legend> | Defines a caption for a <fieldset> element |
| <datalist> | Specifies a list of pre-defined options for input controls |
| <output> | Defines the result of a calculation |
Frames
| Tag | Description |
|---|---|
| <frame> | Not supported in HTML5.Defines a window (a frame) in a frameset |
| <frameset> | Not supported in HTML5.Defines a set of frames |
| <noframes> | Not supported in HTML5.Defines an alternate content for users that do not support frames |
| <iframe> | Defines an inline frame |
Images
| Tag | Description |
|---|---|
| <img> | Defines an image |
| <map> | Defines a client-side image map |
| <area> | Defines an area inside an image map |
| <canvas> | Used to draw graphics, on the fly, via scripting (usually JavaScript) |
| <figcaption> | Defines a caption for a <figure> element |
| <figure> | Specifies self-contained content |
| <picture> | Defines a container for multiple image resources |
| <svg> | Defines a container for SVG graphics |
Audio / Video
| Tag | Description |
|---|---|
| <audio> | Defines sound content |
| <source> | Defines multiple media resources for media elements (<video>, <audio> and <picture>) |
| <track> | Defines text tracks for media elements (<video> and <audio>) |
| <video> | Defines a video or movie |
Links
| Tag | Description |
|---|---|
| <a> | Defines a hyperlink |
| <link> | Defines the relationship between a document and an external resource (most used to link to style sheets) |
| <nav> | Defines navigation links |
Lists
| Tag | Description |
|---|---|
| <menu> | Defines an alternative unordered list |
| <ul> | Defines an unordered list |
| <ol> | Defines an ordered list |
| <li> | Defines a list item |
| <dir> | Not supported in HTML5. Use <ul> instead.Defines a directory list |
| <dl> | Defines a description list |
| <dt> | Defines a term/name in a description list |
| <dd> | Defines a description of a term/name in a description list |
Tables
| Tag | Description |
|---|---|
| <table> | Defines a table |
| <caption> | Defines a table caption |
| <th> | Defines a header cell in a table |
| <tr> | Defines a row in a table |
| <td> | Defines a cell in a table |
| <thead> | Groups the header content in a table |
| <tbody> | Groups the body content in a table |
| <tfoot> | Groups the footer content in a table |
| <col> | Specifies column properties for each column within a <colgroup> element |
| <colgroup> | Specifies a group of one or more columns in a table for formatting |
Styles and Semantics
| Tag | Description |
|---|---|
| <style> | Defines style information for a document |
| <div> | Defines a section in a document |
| <span> | Defines a section in a document |
| <header> | Defines a header for a document or section |
| <hgroup> | Defines a header and related content |
| <footer> | Defines a footer for a document or section |
| <main> | Specifies the main content of a document |
| <section> | Defines a section in a document |
| <search> | Defines a search section |
| <article> | Defines an article |
| <aside> | Defines content aside from the page content |
| <details> | Defines additional details that the user can view or hide |
| <dialog> | Defines a dialog box or window |
| <summary> | Defines a visible heading for a <details> element |
| <data> | Adds a machine-readable translation of a given content |
Meta Info
| Tag | Description |
|---|---|
| <head> | Defines information about the document |
| <meta> | Defines metadata about an HTML document |
| <base> | Specifies the base URL/target for all relative URLs in a document |
| <basefont> | Not supported in HTML5. Use CSS instead.Specifies a default color, size, and font for all text in a document |
Programming
| Tag | Description |
|---|---|
| <script> | Defines a client-side script |
| <noscript> | Defines an alternate content for users that do not support client-side scripts |
| <applet> | Not supported in HTML5. Use <embed> or <object> instead.Defines an embedded applet |
| <embed> | Defines a container for an external resource |
| <object> | Defines a container for an external resource |
| <param> | Defines a parameter for an object |
COLOR PICKER
REMOVE ADS
PLUS SPACES GET CERTIFIED FOR TEACHERS FOR BUSINESS CONTACT US ×Contact Sales
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:[email protected]
Report Error
If you want to report an error, or if you want to make a suggestion, send us an e-mail:[email protected]
Top Tutorials
HTML Tutorial CSS Tutorial JavaScript Tutorial How To Tutorial SQL Tutorial Python Tutorial W3.CSS Tutorial Bootstrap Tutorial PHP Tutorial Java Tutorial C++ Tutorial jQuery TutorialTop References
HTML Reference CSS Reference JavaScript Reference SQL Reference Python Reference W3.CSS Reference Bootstrap Reference PHP Reference HTML Colors Java Reference AngularJS Reference jQuery ReferenceTop Examples
HTML Examples CSS Examples JavaScript Examples How To Examples SQL Examples Python Examples W3.CSS Examples Bootstrap Examples PHP Examples Java Examples XML Examples jQuery ExamplesGet Certified
HTML Certificate CSS Certificate JavaScript Certificate Front End Certificate SQL Certificate Python Certificate PHP Certificate jQuery Certificate Java Certificate C++ Certificate C# Certificate XML Certificate FORUM ABOUT ACADEMY W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy. Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS. -->Từ khóa » Html Tag For Website
-
HTML A Tag - W3Schools
-
: The Anchor Element - HTML: HyperText Markup Language | MDN
-
HTML Elements Reference - HTML: HyperText Markup Language
-
HTML Tag - GeeksforGeeks
-
Some Commonly Used HTML Tags - Columbia University
-
HTML Tags - CSUN
-
HTML Tags - Javatpoint
-
7 Essential HTML Tags That Separate SEO Pros From The Rookies
-
WebD2: Common HTML Tags - University Of Washington
-
WebD2: Essential Tags - University Of Washington
-
HTML And CSS Tutorial - Nanyang Technological University
-
Basic HTML Tags - Top 10 Tags - CodeBrainer
-
How To Determine Tags On A Website - Small Business