HTML Reference
HTML tag, attribute, character, color and compatibility reference guides.
Quick Answer
What is the HTML Reference?
Use this reference collection to look up selected HTML elements, attributes, character encoding, colors and compatibility guidance. Legacy element pages are labelled. Consult the current HTML Standard for the full element definitions.
Browse the element and attribute guides for syntax and examples. The collection includes historical material; verify current conformance and browser behavior when using it in a new project.
Quick Reference
๐ Document Structure
๐ Text Content
๐ Links and Media
๐ Forms
Global Attributes
Global attributes are attributes that can be used with any HTML element:
Complete Reference Sections
๐ Tags and Elements
- HTML Tag List โ Alphabetical collection of current and historical element entries.
- HTML Attributes โ Attribute guides and examples.
- Global Attributes - Attributes that work with any HTML element
- HTML Events - JavaScript event handlers for HTML elements
๐จ Styling and Media
- HTML Colors - Color names, hex codes, and RGB values
- HTML Canvas - Canvas API reference
- Audio/Video - Media elements and attributes
๐ Web Standards
- HTML Doctypes - Document type declarations
- Character Sets - HTML character encoding
- URL Encoding - URL encoding reference
- Language Codes - ISO language codes
๐ง Tools and Utilities
- Browser Support - HTML element browser compatibility
- HTTP Messages - HTTP status codes and messages
- HTTP Methods - GET, POST, PUT, DELETE reference
- PX to EM Converter - Convert between CSS units
- Keyboard Shortcuts - Useful keyboard shortcuts for web development
How to Use This Reference
Find the Element
Use the navigation or browse the categories above to find the HTML element you're looking for.
Check Browser Support
Each element page includes browser support information to ensure compatibility.
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.