HTML Reference

Complete reference guide for all HTML tags, attributes, and properties

This HTML reference provides a complete list of all HTML tags and attributes. Each element includes a description, browser support information, and practical examples. Use this as your go-to resource for HTML development.

140+ HTML Tags
400+ Attributes
All Browsers

Quick Reference

📄 Document Structure

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
<meta> Defines metadata about an HTML document

📝 Text Content

Tag Description
<h1> to <h6> Defines HTML headings
<p> Defines a paragraph
<br> Inserts a single line break
<hr> Defines a thematic change in the content
<strong> Defines important text
<em> Defines emphasized text

🔗 Links and Media

Tag Description
<a> Defines a hyperlink
<img> Defines an image
<video> Defines a video or movie
<audio> Defines sound content
<iframe> Defines an inline frame
<link> Defines the relationship between a document and an external resource

📝 Forms

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
<label> Defines a label for an <input> element

Global Attributes

Global attributes are attributes that can be used with any HTML element:

Attribute Description
class Specifies one or more classnames for an element
id Specifies a unique id for an element
style Specifies an inline CSS style for an element
title Specifies extra information about an element
lang Specifies the language of the element's content
dir Specifies the text direction for the content in an element
hidden Specifies that an element is not yet, or is no longer, relevant
data-* Used to store custom data private to the page or application

Complete Reference Sections

📋 Tags and Elements

🎨 Styling and Media

🌐 Web Standards

🔧 Tools and Utilities

How to Use This Reference

1

Find the Element

Use the navigation or browse the categories above to find the HTML element you're looking for.

2

Check Browser Support

Each element page includes browser support information to ensure compatibility.

3

Try the Examples

All reference pages include practical examples that you can test in our code playground.

💡 Quick Tip:

Use Ctrl+F (or Cmd+F on Mac) to quickly search for specific tags or attributes on any reference page.