Skip to content

Commit

Permalink
Generate full set of HTML elements
Browse files Browse the repository at this point in the history
  • Loading branch information
kmicklas committed Jun 29, 2024
1 parent d68fa76 commit e6c854c
Showing 1 changed file with 120 additions and 10 deletions.
130 changes: 120 additions & 10 deletions ravel-web/generate.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,137 @@
[element]
a = {}
b = {}
button = {}
div = {}
# Generated with:
# curl https://developer.mozilla.org/en-US/docs/Web/HTML/Element | grep -P -o '[a-zA-Z ]+(?=</a></h2>|&gt;</code></a></td>)'
# and then
# * removing sections for the top level and obsolete elements
# * adding h1-h6 since the regex doesn't account for them
# * formatting the lines

# Content sectioning
address = {}
article = {}
aside = {}
footer = {}
form = {}
header = {}
h1 = {}
h2 = {}
h3 = {}
h4 = {}
h5 = {}
h6 = {}
header = {}
input = {}
label = {}
hgroup = {}
main = {}
nav = {}
section = {}
search = {}

# Text content
blockquote = {}
dd = {}
div = {}
dl = {}
dt = {}
figcaption = {}
figure = {}
hr = {}
li = {}
menu = {}
ol = {}
p = {}
section = {}
pre = {}
ul = {}

# Inline text semantics
a = {}
abbr = {}
b = {}
bdi = {}
bdo = {}
br = {}
cite = {}
code = {}
data = {}
dfn = {}
em = {}
i = {}
kbd = {}
mark = {}
q = {}
rp = {}
rt = {}
ruby = {}
s = {}
samp = {}
small = {}
span = {}
strong = {}
sub = {}
sup = {}
time = {}
u = {}
var = {}
wbr = {}

# Image and multimedia
area = {}
audio = {}
img = {}
map = {}
track = {}
video = {}

# Embedded content
embed = {}
iframe = {}
object = {}
picture = {}
portal = {}
source = {}

# SVG and MathML
svg = {}

# Scripting
canvas = {}
noscript = {}
script = {}

# Demarcating edits
del = {}
ins = {}

# Table content
caption = {}
col = {}
colgroup = {}
table = {}
tbody = {}
td = {}
tfoot = {}
th = {}
thead = {}
tr = {}
ul = {}

# Forms
button = {}
datalist = {}
fieldset = {}
form = {}
input = {}
label = {}
legend = {}
meter = {}
optgroup = {}
option = {}
output = {}
progress = {}
select = {}
textarea = {}

# Interactive elements
details = {}
dialog = {}
summary = {}

# Web Components
slot = {}
template = {}

0 comments on commit e6c854c

Please sign in to comment.