Separate names with a comma.
Discussion in 'Design & Development' started by itsolexpert, Mar 7, 2012.
Difference Between HTML and XHTML?
I really need know about it.
HTML stands for hypertext markup language.HTML is a computer language devised to allow website creation.
XHTML stands for Extensible Hyper Text Markup Language ,XHTML is a reformulation of HTML conform XML (Extensible Markup Language).
Forgiving Requires discipline and attention to detail
Correct nesting required in theory Correct nesting absolutely required
Some end tags optional All end tags required
No end tag for empty content model Even empty content model requires end tag
Case insensitive Lowercase only
Some attribute values needn’t be quoted All attribute values must be quoted
Certain “valueless” attribute values are OK All attributes must have values
Less sensitive to special characters More sensitive to special characters
Ubiquitous name attribute Id attribute preferred to name, mostly
HTML stands for Hypertext markup language While Xhtml stands for Extensible Hyper text Markup Language.HTML has been accomplish to shown data, with a core on what data looks like. While Xhtml has been accomplish to carrier and save data, with a core on what data is.
Some of the Difference Between HTML and XHTML are listed below :
HTML is an application of SGML, and allows an author to omit certain tags and use attribute minimization. On the other hand XHTML is an application of XML and it doesn’t permit the omission of any tags or the use of attribute minimization. However, it provides a shorthand notation for empty elements—for example, we could use <br/> instead of <br></br>—which HTML does not.
When an XML parser encounters an error relating to the document’s well-formedness, it must abort, whereas an HTML parser is expected to attempt to recover and continue.
HTML is about to showing the information and on the other hand XTML is about to describing the information.
XHTML is all about design data to describe and focus on what data is, on the other hand HTML is design to display data and mostly focus on how data looks like.
HTML is a static web page and XHTML is advanced version of it which makes dynamic web pages which is combination of both XML and HTML.
Its really best information about the HTML and XHTML. I would say HTML is named as Hyper Text Markup Language. It is a structure of text information in all web documents. XHTML is named as Extensible Hyper Text Markup Language is similar in most features. XHTML is nothing but a completion HTML codes.
The most important difference between the two markup languages is that HyperText Markup Language, or HTML, is an application of SGML (Standard Generalized Markup Language),and allows an author to omit certain tags and use attribute minimization.The Extensible HyperText Markup Language, or XHTML, is an application of XML (Extensible Markup Language). I got this information from http://reference.sitepoint.com/css/htmlxhtml web link you can also check this out.
According to me there is always a need to convert some files before they are incorporated into the final XHTML file of the website which is then uploaded into the Word Wide Web. The two most common conversions that feature prominently during web development are PSD to XHTML and PSD to HTML. First, HTML is usually based on the SGML. This means you can remove some tags if need arises. And XHTML is XML based. XML does not allow tag removal.
The difference between these two is that HTML is an application of SGML (Standard Generalized Markup Language) and allows an author to omit certain tags and use attribute minimization But XHTML is an application of XML (Extensible Markup Language) It doesn’t permit the omission of any tags or the use of attribute minimization. However, it provides a shorthand notation for empty elements.For example, we could use <br/> instead of <br></br>—which HTML does not.
Blackberry Trackball | Blackberry Trackpad
HTML is about displaying information
XHTML is about describing the information
XHTML Was design to describe data and to focus what data is
HTML is design to display data and focus how datas look like.
web design & development
HTML refers to Hypertext markup language and XHTML denotes for Extensible Hypertext Markup Language. In simple words HTML used to describe the data in a webpage while XHTML is responsible dor displaying the data. It shows hoe the data looks like.
HTML is an application of SGML and XHTML is an application of XML
Also, XHTML is easier to maintain. XML syntax rules are far more rigorous than HTML. As a result, XHTML makes authors work more precisely, having to address issues such as:
•all elements and attribute names must appear in lower case
•all attribute values must be quoted
•non-Empty Elements require a closing tag
•empty elements are terminated using a space and a trailing slash
•no attribute minimization is allowed
•in strict XHTML, all inline elements must be contained in a block element
Thanks For Share, HTML5 is latest version of HTML . Still not Supported by All browsers .
1. Xhtml is mime type.
2. it support xml.
3.An XHTML document served with a MIME type of text/html must be parsed and interpreted as HTML,
XHTML is a more stable, sharpened and sophisticated version. This further introduced the concept of tagging into the websites. In simple words HTML used to describe the data in a webpage while XHTML is responsible dor displaying the data. It shows hoe the data looks like.
I am trying to differentiate HTML, XHTML and DHTML
HTML is a markup language that is used to build static webpages.
XHTML is an xml markup language that mirrors HTML syntaxes.
The difference depends on whether the document is served with a Content-type: text/html header or a Content-type: application/xml+xhtml header.HTML is SGML-based while XHTML is XML-based. They are like two sides of the same coin. XHTML was derived from HTML to conform to XML standards. Hence XHTML is strict when compared to HTML and does not allow user to get away with lapses in coding and structure.
HTML or HyperText Markup Language is the main markup language for creating web pages and other information that can be displayed in a web browser.
Filename extension- .html, .htm
Internet media type- text/html
Developed by - W3C & WHATWG
Type of format- Document file format
Extended from- SGML
Function - Web pages are written in HTML.
XHTML (Extensible HyperText Markup Language) is a family of XML markup languages that mirror or extend versions of the widely used Hypertext Markup Language (HTML), the language in which web pages are written.
Filename- .xhtml, .xht, .xml, .html, .htm
Internet media type - application/xhtml+xml
Developed by -World Wide Web Consortium
Type of format - Markup language
Function Extended version of - HTML that is stricter and XML-based.
HTML stands for "Hyper Text Markup Language" and XHTML stands for "Extensible Hyper Text Markup Language". HTML used to describing the data in a webpage while XHTML is used for displaying the data. It shows how the data is looking.