Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
croisillon
1y ago
0 comments
Share
you don't need a hyphen for a custom tag ; as far as i know the hyphen makes it an inline element while no hyphen makes it a block
undefined | Better HN
0 comments
default
newest
oldest
MrVandemar
1y ago
You do need a hyphen for a custom-tag. The HTML specs have guaranteed never to create a tag with a hyphen, so it prevents collisions with any future tag additions.
j
/
k
navigate · click thread line to collapse