Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nektro
11 days ago
|
parent
|
context
|
favorite
| on:
You can make up HTML tags
the comments here informing us they default to behaving like <span> instead of like <div> is the biggest disappointment of my day so far
gitaarik
11 days ago
|
next
[–]
I think it makes sense that if HTML detects an unknown element that it doesn't give it block styling automatically. Only if you specifically specified it for that type of element.
Inline styling is kind of the default in HTML.
reply
rasso
11 days ago
|
prev
[–]
See my other comment: you can set default styles using
:where(:not(:defined)) { display: block }
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: