Hacker News new | past | comments | ask | show | jobs | submit login

The div soup is for apps and semantic html is for documents. Not knowing the difference creates this kind of frustration.





It might be that there is no built-in functionality for some things in pure HTML. But most of the time, standard HTML tags provide all the functionality you need, even for web applications. And this benefits people with disabilities.

Nah, div soups are for when you really insist your app UI must look like you want, instead of being ergonomic or useful to end users.

The problem is, a LOT of people are treating documents as if they are apps.

You missed the point entirely.

You should still use appropriate tags like a, button, label, input and not div, div, div, div. Even apps have links


Input controls are always used by the apps (99.9%) and the post and div soup is not about that.

Buttons are often replaced by divs for no apparent reason. Look at Facebook for example.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: