Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why would this be preferred over creating a new HTML element, like <options>?


Backwards compatibility. Older browsers will still be able to render the <select> and submit it as part of a form, just with its options unstyled.




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

Search: