HTML Tags Reference
Complete guide to HTML elements with examples, categories, and copy functionality
<div>
Division/Container
<div>Content</div>
Container
<span>
Inline container
<span>Text</span>
Container
<form>
Form element
<form>...</form>
Form
<input>
Input field
<input type="text" />
Form
<textarea>
Multiline input
<textarea>Text</textarea>
Form
<button>
Button
<button>Click</button>
Form
<canvas>
Graphics canvas
<canvas></canvas>
Graphics
<svg>
Scalable vector graphics
<svg>...</svg>
Graphics
<a>
Hyperlink
<a href="#">Link</a>
Link
<ul>
Unordered list
<ul><li>Item</li></ul>
List
<ol>
Ordered list
<ol><li>Item</li></ol>
List
<img>
Image
<img src="image.jpg" />
Media
<video>
Video content
<video src="video.mp4"></video>
Media
<audio>
Audio content
<audio src="audio.mp3"></audio>
Media
<link>
Link to external resource
<link rel="stylesheet" href="style.css">
Meta
<meta>
Metadata
<meta charset="UTF-8">
Meta
<style>
Embed CSS
<style>body{}</style>Meta
<script>
Embed JS code
<script>console.log("Hi")</script>Scripting
<html>
Root of HTML document
<html>...</html>
Structure
<head>
Document head/metadata
<head>...</head>
Structure
<body>
Document body content
<body>...</body>
Structure
<table>
Data table
<table>...</table>
Table
<h1> to <h6>
Headings
<h1>Main Title</h1>
Text
<p>
Paragraph
<p>Text</p>
Text