+ 1
Why if html is bad Language then why teach it..why dont teach xhtml?????
correct/incorrect????
5 ответов
+ 2
HTML isn't bad.
XHTML would be an upgrade (it's easier to parse), but the problem is that if there is a single error in your writing, the whole pages doesn't render and you just get an error message on the screen. Imagine that you have some ads on your site or any sort of external content and because that one bad programmer there made a mistake your whole page comes crashing and the user doesn't see anything - that's not useful at all. HTML is more resilient and a browser can deal with just about anything you throw at it.
Both of them have advantages :)
+ 2
Yeah, sure. Most things are HTML.
Chances are if you are writing clean HTML, it'll be almost XHTML compliant. There's a tool to check whether your (X)HTML is valid, by the guys who make the HTML standards, which you can check against at any point: https://validator.w3.org/
+ 1
thanks dude..im only beginning in coding so its ok if.I stick it out in html and then take it from there?
+ 1
awesome.thanks for the help
+ 1
o and is this the best place to learn?