+ 3
HTML XHTML and XML can you explain to me.
What are different html, xhtml and xml. And examples them. I want learn them, where i must go to learn them.
5 Answers
+ 5
The original language of the World Wide Web is HTML (HyperText Markup Language), often referred to by its current version, HTML 4.01 or just HTML4 for short. HTML was originally an application of SGML (Standard Generalized Markup Language), a sort of meta-language for making markup languages. SGML is quite complicated, and in practice most browsers do not actually follow all of its oddities. HTML as actually used on the web is best described as a custom language influenced by SGML.
XML and XHTML are quite different. XML (eXtensible Markup Language)grew out of a desire to be able to use more than just the fixed vocabulary of HTML on the web. It is a meta-markup language, like SGML, but one that simplifies many aspects to make it easier to make a generic parser. XHTML (eXtensible HyperText Markup Language) is a reformulation of HTML in XML syntax. While very similar in many respects, it has a few key differences.
First, XML always needs close tags, and has a special syntax for tags that donât need a close tag. In HTML, some tags, such as img are always assumed to be empty and close themselves.Â
Second, XML has draconian error-handling rules. In contrast to the leniency of HTML parsers, XML parsers are required to fail catastrophically if they encounter even the simplest syntax error in an XML document.Â
When XML and XHTML were first standardized, no browser supported them natively. To enable at least partial use of XHTML, the W3C came up with something called âHTML-compatible XHTMLâ. This is a set of guidelines for making valid XHTML documents that can still more or less be processed as HTML.
+ 4
Html means hypertext markup language. From its name it is show that it only use to markup. It is used to design website.
XHTML is pervious version of html. that is modern version of html4. It is based on html as well as XML.
XML stands for EXtensible Markup Language. XML is a markup language much like HTML. Xml tags are predefine tag in xml. You have to define it by yourself.
0
there just older versions of HTML
0
XHTML is basically HTML 4 and XML is like CSS but for Python
0
How To Use Iframe like Same Style Same Design . which is use in codepen.io please anyone here help me?