10 AnswersNew Answer
XHTML (which stands for eXtensible HyperText Markup Language) is a combination of both XML and HTML to create a single language that works on all browsers. The syntax is quite similar to HTML, except it is more strict when it comes to things such as closing tags, capitalization, etc. in the code. I would recommend checking out W3SCHOOL's tutorial on it as they cover most things about XHTML - https://www.w3schools.com/htmL/html_xhtml.asp
Faisal what is XML then?
Kalaba Oh, sorry about that! HTML5 is the newest version of HTML and would probably be the best version to use. XHTML works as a combination of XML 1.0 and HTML4, so it is a little outdated in terms of the HTML version. XHTML5 is still in development, and will combine XML with HTML5, so I would just recommend sticking to HTML5 for now as it is the newest and most efficient version of HTML to use.
Ok thank you.U helped me very much.
So XHTML is mix of HTML and HTML5 and it's supported on all browsers?
Kalaba Almost, but not exactly. As it does work with every browser, XHTML combines XML, a markup language typically used for storing data, and HTML, a markup language used for displaying data.
Kalaba XML is a markup language with similar syntax to HTML. While HTML is used to display data visually in what we know as a website, XML is rather used for storing and collecting data within its tags. There are no predefined tags for XML, so every program that uses it will have their own 'version' of it. I created a small code that shows what XML looks like, if you want to check it out d: https://code.sololearn.com/ctBFIe1Exy0Q/?ref=app
Faisal so XML is collecting data about people, etc. what they search, when they visit website... So out there is many versions and modifications of HTML so what type is beat to use?
Faisal maybe i didn't explain my question very well.What type of HTML is best for web developers to use?HTML or HTML5 or some other type i don't know....