OK, so I took a class on HTML, It was the latest version too (HTML 4) with CSS and JavaScript... I just wanna know whet the differance is between XHTML and HTML!??!?!
Thanx
OK, so I took a class on HTML, It was the latest version too (HTML 4) with CSS and JavaScript... I just wanna know whet the differance is between XHTML and HTML!??!?!
Thanx
XHTML is much more strict, and many tags in HTML used to define the site's style (such as ) are either removed or depreciated in XHTML, which is supposed to rely entirely on CSS for its styling. As well, in XHTML, all tags must be closed and lowercase.
its like the same thing, xhtml is considered html, but html is usually not considered xhtml, its just the order of the tags and how you close them.
xhtml is a formulation of HTML in the XML "meta" language.
XML is a language that allows you to define other languages (using DTDs). It's stricter, and easier to create parsers for. So They redid HTML in XML (used to be SGML, which XML is a superset of) to make it more eXtensible, cleaner, etc.
XHTML 1.0 was a "first try". There's not a huge difference, it just deprecates some tags and makes syntax a little stricter. XHTML 2.0 will be much different. It adds a whole host of things, and encourages XSLT (xml transformations). That's not even final yet though, so just worry about xHTML 1.0 now, it'll be valid for a long time.
Sorry for the Acronym Soup. Basically, learn xhtml, it's a cleaner HTML that's just as well supported and encourages you to use CSS, which rocks.
I agree to the others,
It's just easier to learn, because there are more restrictions, for example for every layout thing you have to use css.
It's lovely 
Well as for xtml what should I do if I want to use the font tag on just one word in particular or several words that aren't grouped together to change the font color of just those selected words. What should I use then. Same thing goes for when I use the strike tag on just a few selected words. What should I use instead since these 2 tags are deprecated?
Nevermind.
I figured out that I should use the tag instead of the