(7/10)
Pro Access Required
This is a premium lesson. Upgrade to Pro to unlock this interactive exercise and continue your learning journey.
🌐HTML
Advanced Semantics
0 WPM
0% Accuracy
0:00 Time elapsed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<main>↵
<section>↵
<h1>Advanced HTML Magic</h1>↵
<article>↵
<header>↵
<h2>Lesson: Custom Data Attributes</h2>↵
<p>By <em>Typy</em> on <time datetime="2024-01-15">January 15</time></p>↵
</header>↵
<figure>↵
<img src="data-diagram.png" alt="Data attributes diagram">↵
<figcaption>How data attributes work in HTML</figcaption>↵
</figure>↵
<p>Data attributes store custom information for JavaScript.</p>↵
<aside>↵
<h3>Quick Tip</h3>↵
<p>Use <code>data-*</code> for custom attributes!</p>↵
</aside>↵
<footer>↵
<p>Part of <cite>Typy's HTML Course</cite></p>↵
</footer>↵
</article>↵
</section>↵
<aside>↵
<h2>Related Lessons</h2>↵
<nav>↵
<ul>↵
<li><a href="#css">CSS Magic</a></li>↵
<li><a href="#js">JavaScript Power</a></li>↵
</ul>↵
</nav>↵
</aside>↵
</main>
0 / 1061
👆
Hold This!
Press This!
👇
`~
1!
2@
3#
4$
5%
6^
7&
8*
9(
0)
-_
=+
⌫
⇥
Q
W
E
R
T
Y
U
I
O
P
[{
]}
\|
⇪
A
S
D
F
G
H
J
K
L
;:
'"
↵
Z
X
C
V
B
N
M
.>
/?
⇧
Thumb
Index
Middle
Ring
Pinky