Recursive HTML
Save file
Light mode
☰
Sidebar
Document Structure
Example
<html>
Example of html:
html
Add
Root element of an HTML docum ...:
<head>
Example of head:
head
Add
Container for document metada ...:
<body>
Example of body:
body
Add
Document body ...:
Metadata
Example
<title>
Example of title:
title
Add
Document title ...:
<link>
Example of link:
Add
External resource link ...:
<meta>
Example of meta:
Add
Metadata about the document ...:
<style>
Example of style:
Add
Embedded CSS styles ...:
Scripting
Example
<script>
Example of script:
Add
Embedded script ...:
<noscript>
Example of element:
noscript
Add
Alternative content if script ...:
Sectioning
Example
<main>
Example of element:
main
Add
Main content of the document ...:
<header>
Example of element:
header
Add
Introductory content for a se ...:
<nav>
Example of element:
nav
Add
Section of navigation links ...:
<article>
Example of element:
article
Add
Independent, self-contained c ...:
<section>
Example of element:
section
Add
Section of content ...:
<aside>
Example of element:
Add
Sidebar content ...:
<footer>
Example of element:
Add
Concluding content for a sect ...:
Headings
Example
<h1>
Example of heading:
h1
Add
Heading level 1 ...:
<h2>
Example of heading:
h2
Add
Heading level 2 ...:
<h3>
Example of heading:
h3
Add
Heading level 3 ...:
<h4>
Example of heading:
h4
Add
Heading level 4 ...:
<h5>
Example of heading:
h5
Add
Heading level 5 ...:
<h6>
Example of heading:
h6
Add
Heading level 6 ...:
Text Content
Example
<p>
Example of paragraph:
p
Add
Paragraph ...:
<hr>
Example of hr:
Add
Thematic break ...:
<pre>
Example of pre:
pre
Add
Preformatted text ...:
<blockquote>
Example of quote:
blockquote
Add
Block quotation ...:
<ol>
Example of olist:
ol
Add
Ordered list ...:
<ul>
Example of ulist:
ul
Add
Unordered list ...:
<li>
Example of li:
li
Add
List item ...:
<dl>
Example of dlist:
dl
Add
Description list ...:
<dt>
Example of element:
dt
Add
Term in a description list ...:
<dd>
Example of element:
dd
Add
Description of a term in a de ...:
<figure>
Example of element:
figure
Add
Figure with optional caption ...:
<figcaption>
Example of element:
figcaption
Add
Caption for a figure ...:
<div>
Example of div:
div
Add
Generic block container ...:
<address>
Example of element:
address
Add
Contact information ...:
<ins>
Example of mod:
ins
Add
Inserted text ...:
<del>
Example of mod:
del
Add
Deleted text ...:
Inline Text Semantics
Example
<a>
Example of anchor:
Add
Hyperlink ...:
<em>
Example of element:
em
Add
Emphasized text ...:
<strong>
Example of element:
strong
Add
Important text ...:
<small>
Example of element:
small
Add
Smaller text ...:
<s>
Example of element:
s
Add
Strikethrough text ...:
<cite>
Example of element:
cite
Add
Cited title ...:
<q>
Example of quote:
q
Add
Inline quotation ...:
<dfn>
Example of element:
dfn
Add
Defining instance of a term ...:
<abbr>
Example of element:
abbr
Add
Abbreviation ...:
<data>
Example of data:
data
Add
Machine-readable data ...:
<time>
Example of time:
time
Add
Date and time ...:
<code>
Example of element:
code
Add
Computer code fragment ...:
<var>
Example of element:
var
Add
Variable ...:
<samp>
Example of element:
samp
Add
Sample output from a program ...:
<kbd>
Example of element:
kbd
Add
User input (typically keyboar ...:
<sub>
Example of element:
sub
Add
Subscript text ...:
<sup>
Example of element:
sup
Add
Superscript text ...:
<i>
Example of element:
i
Add
Text in an alternate voice or ...:
<b>
Example of element:
b
Add
Stylistically offset text (bo ...:
<u>
Example of element:
u
Add
Unarticulated annotation (und ...:
<mark>
Example of element:
mark
Add
Marked or highlighted text ...:
<bdi>
Example of element:
bdi
Add
Isolate text direction ...:
<bdo>
Example of element:
bdo
Add
Override text direction ...:
<span>
Example of span:
span
Add
Generic inline container ...:
<br>
Example of br:
Add
Line break ...:
<wbr>
Example of element:
Add
Optional line break opportuni ...:
<ruby>
Example of element:
ruby
Add
Ruby annotation (for East Asi ...:
<rt>
Example of element:
rt
Add
Ruby text (annotation) ...:
<rp>
Example of element:
rp
Add
Fallback parentheses for ruby ...:
Image and Multimedia
Example
<img>
Example of image:
Add
Image (use 'alt' attribute fo ...:
<picture>
Example of picture:
picture
Add
Container for multiple image ...:
<iframe>
Example of iframe:
iframe
Add
Inline frame (embedded browsi ...:
<embed>
Example of embed:
Add
Embedded external content ...:
<object>
Example of object:
object
Add
Embedded object ...:
<video>
Example of video:
video
Add
Video content ...:
<audio>
Example of audio:
audio
Add
Audio content ...:
<source>
Example of source:
Add
Media source for video or aud ...:
<track>
Example of track:
Add
Timed text tracks for media e ...:
<map>
Example of map:
map
Add
Image map ...:
<area>
Example of area:
Add
Clickable area within an imag ...:
<canvas>
Example of canvas:
canvas
Add
Canvas for dynamic graphics ...:
Graphics / Embedded
Example
<svg>
Example of unknown:
svg
Add
SVG (Scalable Vector Graphics ...:
<math>
Example of unknown:
math
Add
Mathematical markup ...:
Table Content
Example
<table>
Example of table:
table
Add
Table container ...:
<caption>
Example of tablecaption:
caption
Add
Table caption ...:
<colgroup>
Example of tablecol:
colgroup
Add
Grouping of table columns ...:
<col>
Example of tablecol:
Add
Column within a colgroup ...:
<tbody>
Example of tablesection:
tbody
Add
Table body section ...:
<thead>
Example of tablesection:
thead
Add
Table header section ...:
<tfoot>
Example of tablesection:
tfoot
Add
Table footer section ...:
<tr>
Example of tablerow:
tr
Add
Table row ...:
<td>
Example of tablecell:
td
Add
Table data cell ...:
<th>
Example of tablecell:
th
Add
Table header cell ...:
Forms
Example
<form>
Example of form:
form
Add
Form container ...:
<label>
Example of label:
label
Add
Caption for a form control ...:
<input>
Example of input:
Add
Form input control ...:
<button>
Example of button:
button
Add
Clickable button ...:
<select>
Example of select:
select
Add
Drop-down list control ...:
<datalist>
Example of datalist:
datalist
Add
List of predefined options fo ...:
<optgroup>
Example of optgroup:
optgroup
Add
Group of options within a sel ...:
<option>
Example of option:
option
Add
Option in a select element or ...:
<textarea>
Example of textarea:
textarea
Add
Multiline text input control ...:
<output>
Example of output:
output
Add
Result of a calculation or us ...:
<progress>
Example of progress:
progress
Add
Progress indicator ...:
<meter>
Example of meter:
meter
Add
Scalar measurement within a k ...:
<fieldset>
Example of fieldset:
fieldset
Add
Group of form controls ...:
<legend>
Example of legend:
legend
Add
Caption for a fieldset ...:
Interactive Elements
Example
<details>
Example of details:
details
Add
Disclosure widget for additio ...:
<summary>
Example of element:
summary
Add
Summary or caption for a deta ...:
<dialog>
Example of dialog:
dialog
Add
Dialog box or window ...:
<menu>
Example of menu:
menu
Add
Menu of commands or options ...:
Web Components
Example
<template>
Example of template:
Add
Container for client-side con ...:
<slot>
Example of slot:
slot
Add
Placeholder inside a web comp ...:
xxxxxxxxxx
1
<
div
style
=
"width:2000px;height:2000px"
/>
X: 0
|
Y: 0
Element:
x
HTML
JavaScript
CSS