I'm a website developer. I've developed number of websites, but believe me, I'm not aware of some basic definitions of HTML and XHTML. I realize, many coder on date are doing good job in website development, but they also don't know this basic differences, as these are not greatly associated with practical aspects.
Folks, can you please help me (and those coders) to find out the answers to these basic questions?
1. What is the difference between HTML and XHTML?
2. What is used, HTML or XHTML, when we're designing basic webpages?
3. What is the difference between XHTML 1.0 Transitional and XHTML 1.0 Strict?
4. We used to write this piece of code on top of every webpage. Can you please explain word by word, what this 2 lines of code mean?
HTML Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">