I have asked many people about the difference between HTML and XHTML , Somebody given me the right answer and somebody couldn't. Lastly I got the difference between HTML and XHTML, which is given below.
- XHTML documents Should be properly nested whether it's not important in HTML
- XHTML tags should be always closed
- XHTML documest should be only one root element
- All XHTML tags should be writen in lowercase ,Uppercase is not allow