HTML5 Tag Cheat Sheet
HTML is the vital programming language of the Internet. But if you’re new to HTML, there’s quite a lot of stuff to remember — hundreds of tags all with their own attributes and a near-unlimited level of customization.
If you’re creating your first website — or if you just want to brush up on your coding — then this cheat sheet is for you! We’ve compiled all of the valid HTML5 tags, their functions, and whether they have SEO value so you can create and grow the website that you want.
To find the tags you need, just scroll through our list of tags. And if you don’t feel like working out your scrolling finger on your mouse, you can just type a query in the search bar!
Inserts comments into source code; not displayed in browsers.
Must be the first tag in any page; identifies following code and version of follow code.
Defines a hyperlink.
Defines an abbreviation.
Defines contact information for content owner or author.
Defines an area inside <map>; must nest with <map>.
Defines a self-contained piece of content.
Places content aside from primary content.
Embeds an audio file.
Defines base URL for other URLs in document; must be within <head>
Isolates text that is formatted differently from text around it.
Allows you to change direction of text.
Groups a quote into a separate block of text.
Defines the body area of a page.
Creates a clickable button.
Draws graphics using instructions in code.
Adds a title to a table.
References a work you cite in text.
Displays computer code as text in default monotype font.
Establishes properties for columns within <colgroup>.
Defines a group of columns within a table.
Displays text and images within a shadow DOM insertion point.
Links a piece of content with machine-friendly translation.
Identifies pre-defined options for items with <input> tags.
Indicates a definition in a <dl> element.
Overrides the defaults of other tags like <template> or <content> with extra markup.
Represents text that has been deleted.
Creates an interactive widget that users can click to see more information.
Represents a defining instance of a term within text (HTML as HypterText Markup Language).
Begins dialogue box or other interactive component.
Generic content container.
Creates a list of terms and definitions.
Identifies a term in a <dl> element.
Identifies new custom DOM elements.
Adds an external application, interactive content, etc.
Adds a caption to a <figure> element.
Identifies self-contained content; independent of document flow.
Contains informative or navigational elements at the bottom of a page.
Various headings that rank in importance with h1 as the strongest and h6 as the weakest.
Contains titles, metadata, and other information relevant to a page.
Contains informative or navigational elements at the top of a page.
Defines the heading of a section.
Adds a thematic break between text such as a horizontal rule.
Defines document as using HTML coding; must be present before HTML is implemented.
Embeds document within current page.
Embeds an image.
Creates a field where users can enter data; function can vary wildly depending on attributes.
Adds text or external elements.
Defines keyboard input using <em>, <strong>, <code>, <samp>, <kbd>, and <var>.
Acts as a key for authentication and certification materials.
Defines a caption for user interface.
Defines a caption within the <fieldset> tag.
Adds an individual element within a <ol> or <ul>.
Connects a document to an external resource such as a spreadsheet.
Renders text in list form without interpreting HTML.
Defines primary area of a page, typically body.
Defines clickable areas on an image.
Identifies commands that users can choose within list or context menus.
Indicates a command that users can choose within a popup menu.
Defines metadata of page.
Displays the current number of a measurement such as progress percentage or used bytes of memory.
Creates a section of a page for navigation links.
Displays alternate content for browsers that don't support <script> contents.
Displays an external source, commonly multimedia.
Adds an ordered list.
Creates a group of options within a menu.
Displays individual items such as within a list.
Displays the result of a user interaction or calculation.
Defines parameters for elements in <object>, <audio>, and <video>.
Renders the entire page raw as plain text; no closing tag needed.
Defines preformatted text that appears different from other text.
Displays the progress of a task, as with a progress bar.
Renders text within quotes.
Defines what to show if a browser does not support <ruby>.
Adds pronunciation to data in <ruby>.
Adds semantic annotations to data in <ruby>.
Displays pronunciation of East Asian characters.
Renders text with a line striking through the middle of it.
Displays sample output of a computer program.
Adds an executable script.
Generic content container.
Creates a drop-down list on a page.
Organizes multiple DOM shadow trees.
Makes text one font size smaller up to the limit a browser allows.
Identifies resources for media elements; identifies alternate files based on users' browsers.
Adds white space to pages.
Groups different tags together when more specific tags don't suit a situation.
Adds importance to text; typically shown in bold.
Defines how information such as text should render as a page loads.
Shows text as a subscript (lower and smaller than regular text).
Captions information within <details>.
Shows text as a superscript (higher and smaller than regular text).
Creates a data table.
Establishes the body of a data table.
Creates a cell for data in a table.
Identifies content that is rendered after a page initially loads.
Displays text in a fixed-width font.
Creates a set of rows at the bottom of a table.
Creates a cell that is the heading for a group of cells in a table.
Creates a set of rows as the header for a table.
Shows time on a clock or calendar.
Adds title tags to page.
Creates a row of table cells.
Adds text to multimedia elements that are visible as multimedia plays.
Adds an unordered list.
Defines a variable in mathematical equations.
Embeds a video.
Identifies where browsers can add line breaks, if needed.
Renders text in a single-spaced font without rendering HTML.