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

it can be, but because it started as an SGML language (and nowadays who knows what it is) it allows ambiguous structures, plus it doesn't support arbitrary tags, whereas in XML the structure is strict but the tag schema is completely free.


Html does not allow ambigous structures. While it has a more flexible syntax than XML, it always parse to an unambigous structure.


sure, but many browsers support quirks to render malformed HTML, right?




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

Search: