What is the difference between HTML and XHTML?

Asked By 10 points N/A Posted on -
qa-featured

What is the difference between HTML and XHTML? Are they the same web language or do they differ in function? I am confuse. Please, explain it to me.

Thanks.

SHARE
Best Answer by Rabbani Delmo
Best Answer
Best Answer
Answered By 0 points N/A #102068

What is the difference between HTML and XHTML?

qa-featured

 

This two markup languages has differences that you need to know. The HyperText Markup Language or HTML is an application of SGML or Standard Generalized Markup Language. This application will allow an author to omit or delete certain tags and it also uses attribute minimization.
 
On the other hand, the Extensible Hypertext Markup Language or better known as XHTML, is an application of XML or Extensible Markup Language. This application is the opposite of HTML, because it doesn’t permit the omission of any tags or 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.
Answered By 0 points N/A #102069

What is the difference between HTML and XHTML?

qa-featured

There are only few differences but these differences are very important ones that provides major impact. XHTML tags should be in small letters and should be closed appropriately.

Answered By 565010 points N/A #102070

What is the difference between HTML and XHTML?

qa-featured

XHTML stands for Extensible Hypertext Markup Language. It is the reformulation of the previous HTML 4.0 as an application of XML or Extensible Markup Language. In XHTML, every HTML 4 markup attributes and elements will be supported continuously. XHTML can also be extended by anyone who uses it which is not possible with HTML. You can add and define new attributes and elements which make it possible for new ways to embed programming and content in a web page.

HTML stands for Hypertext Markup Language. It is a set of codes or markup symbols inserted in a file or document which is designed to be displayed on a web browser. The markup instructs the web browser how it should display the page’s images and words for the user. Every markup code used in the HTML is referred to as an element though many users call it as a tag.

In HTML, there are elements that come in pairs which specifies when a display effect should begin and when it should end.

Login/Register to Answer

Related Questions