HTML/XHTML tag list
The following is a list of tags used in HTML/XHTML along with a short description of each. Click on a tag to learn more about it.
| Tag | Description |
|---|---|
| <!-- --> | Creates a comment in source code |
| <!DOCTYPE> | Specifies which document type an HTML document will be |
| <a> | Creates a link |
| <abbr> | Sets an abbreviation |
| <acronym> | Sets an acronym |
| <address> | Sets data to appear as an address |
| <applet> | Places an applet on a webpage. Deprecated |
| <area> | Sets an area inside an image map |
| <b> | Makes text bold |
| <base> | Sets a base URL for the links on a page |
| <basefont> | Sets a base font for the text on a page. Deprecated |
| <bdo> | Sets the way text will be displayed (left to right, right to left) |
| <big> | Makes text bigger |
| <blockquote> | Displays text as a long quotation |
| <body> | Signifies the beginning of the body of an HTML document |
| <br> | Skips a line |
| <button> | Displays a button |
| <caption> | Sets a caption for a table |
| <center> | Centers content. Deprecated |
| <cite> | Sets text as a citation |
| <code> | Sets text to appear as computer code |
| <col> | Defines attributes for table columns |
| <colgroup> | Sets attributes for table columns |
| <dd> | Sets the description for a definition in a definition list |
| <del> | Sets text to appear as deleted (with a line through it) |
| <dir> | Creates a directory list. Deprecated |
| <div> | Sets apart a section of a document |
| <dfn> | Sets text as a definition term |
| <dl> | Begins a definition list |
| <dt> | Creates a term in a definition list |
| <em> | Sets text to appear as emphasized |
| <fieldset> | Displays a fieldset around a form |
| <font> | Sets the size, color, and font of text. Deprecated |
| <form> | Signifies the beginning of a form |
| <frame> | Denotes a frame |
| <frameset> | Specifies that a page will be composed of frames |
| <h1> to <h6> | Sets text as a heading (the lower the number, the bigger the text) |
| <head> | Signifies the beginning of the head section of a document |
| <hr> | Creates a horizontal line on a page |
| <html> | Signifies the beginning of an HTML document |
| <i> | Makes text italic |
| <iframe> | Displays an inline frame |
| <img> | Displays an image |
| <input> | Displays an input field in a form |
| <ins> | Displays inserted text |
| <kbd> | Displays text as keyboard text |
| <label> | Sets a label for a form element |
| <legend> | Sets a title for a fieldset that sorrounds a form |
| <li> | Creates an item in a list |
| <link> | Specifies a resource reference |
| <map> | Creates an image map |
| <menu> | Creates a menu list Deprecated |
| <meta> | Specifies information about a document |
| <noframes> | Specifies what should be displayed if a browser does not support frames |
| <noscript> | Specifies what should be displayed if a browser does not support scripting |
| <object> | Displays an embedded object |
| <ol> | Creates an ordered list |
| <optgroup> | Creates an option group |
| <option> | Creates an option in a drop down list |
| <p> | Creates a paragraph |
| <param> | Sets a parameter for an object |
| <pre> | Displays preformatted text |
| <q> | Displays text as a short quotation |
| <s> | Displays text with a strikethrough |
| <samp> | Displays text as computer code |
| <script> | Places a script on a page |
| <select> | Creates a drop down list |
| <small> | Displays small text |
| <span> | Sets apart a section of a document |
| <strike> | Displays text with a strikethrough Deprecated |
| <strong> | Displays strong text (very similar to bold) |
| <style> | Creates a style definition |
| <sub> | Makes text appear subscripted |
| <sup> | Makes text appear superscripted |
| <table> | Creates a table |
| <tbody> | Creates a table body |
| <td> | Creates a table cell |
| <textarea> | Creates a textarea |
| <tfoot> | Creates a table footer |
| <th> | Creates a header for a table |
| <thead> | Creates a header for a table |
| <title> | Sets the title of a page |
| <tr> | Creates a row in a table |
| <tt> | Displays text as teletyped |
| <u> | Displays underlined text. Deprecated |
| <ul> | Creates an unordered list |
| <var> | Creates a variable |




