HTML
HTML5 cheat sheet covering semantic elements, form controls, media tags, accessibility attributes, and modern markup best practices.
Document Structure & Metadata
Essential HTML document structure and metadata tags
Basic HTML5 Document
Standard HTML5 document structure
Meta Tags
Important metadata for SEO and browser behavior
Link Tags
Link external resources and define relationships
Semantic HTML5 Elements
Meaningful HTML5 elements for better structure and accessibility
Page Structure Elements
Main structural elements for page layout
Content Sections
Organize content with semantic section elements
Text & Content Elements
Headings, paragraphs, and text formatting elements
Headings & Text
Basic text elements and hierarchy
Lists
Ordered, unordered, and description lists
Links & Navigation
Hyperlinks and navigation elements
Figure, Blockquote & Semantic Text
Semantic wrappers for images, quotes, and meaningful inline text
Forms & Input Elements
Form controls and input types for user interaction
Basic Form Elements
Essential form controls and structure
HTML5 Input Types
Modern input types with built-in validation
Form Attributes
Important attributes for form controls
Form Grouping & Advanced Controls
Group form fields, add autocomplete suggestions, and show progress indicators
Media & Graphics
Images, video, audio, and graphics elements
Images
Responsive and accessible image elements
Video & Audio
Multimedia elements with controls
Canvas & SVG
Graphics and drawing elements
Responsive Images
Serve optimized images for different screen sizes with picture, source, and srcset
Tables
Structured tabular data presentation
Table Structure
Complete table with semantic elements
Interactive & Web Components
Modern interactive HTML elements
Interactive Elements
Dialog, details, and other interactive elements
Dialog (Native Modal)
Native modal and non-modal dialogs without JavaScript libraries
Template & Web Components
Reusable HTML templates and Web Component building blocks
Accessibility
Make HTML accessible with ARIA attributes and semantic best practices
ARIA & Accessible HTML
Essential ARIA attributes and semantic patterns for accessible web pages
Global HTML Attributes
Common attributes that work on any HTML element