Search
Star
Feedback
Setup for Free
ยฉ 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Whats the proper way to semantically define a dynamic H1 tag? - Kevin Powell - Community
KP-C
Kevin Powell - Community
โข
9mo ago
โข
4 replies
vinter.
Whats the proper way to semantically define a dynamic H1 tag?
I have a
<h1
> tag that I
'm splitting into multiple spans for css
/animation reasons
. What is the correct markup in this case
?
Should I have
<h1><span>AB</span><span>CD</span></h1>
<h1><span>AB</span><span>CD</span></h1>
or are there other more correct ways of handling it
?
Kevin Powell - Community
Join
A friendly place for developers to meet other devs, ask questions, get help, and just have a good time ๐.
36,263
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Best Way to Display Labeled, Non-editable, Information Semantically
KP-C
Kevin Powell - Community / help
6mo ago
Proper way to display svg icons.
KP-C
Kevin Powell - Community / help
3mo ago
h1 responsive
KP-C
Kevin Powell - Community / help
9mo ago
Can there be pages without an H1 tag but multiple h2,h3 so on tags?
KP-C
Kevin Powell - Community / help
7mo ago