What is the diffrence between HTML & DHTML...?

Answer Posted / dipak suryavanshi

XHTML is HTML described as an application of XML. It is very
similar to HTML, indeed all the element names and their
semantics are identical, but it has some important
differences. We will look at the more important of these now.

Here are the major differences that concern us when we use
it as a markup language. There are others, but they will
probably not concern us. You should consult the XHTML spec
(www.w3.org) for a full list of differences.

* XML is case sensitive. All XHTML element and attribute
names must be in lowercase.
* All attribute values must be quoted, e.g.
cellpadding="10", NOT cellpadding=10.
* Empty elements such as the 'img' element must take a
special form, namely <img/>. Not the penultimate forward slash.
* All non-empty elements must have closing tags, e.g.
<p>...</p>, <li>...</li>. Implied closing tags are not allowed.
* Implied elements e.g. in HTML the <head>...</head> and
<body>...</body> tags can be implied. In XHTML they must be
written out in full.
* The XHTML document declarations are different for
XHTML documents. Use View/source on this document to see a
typical XHTML declaration. in particular not the xmlns
attribute on the <html> opening tag.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are not my frames the exact size I specified?

618


Is there any way to keep list elements straight in an HTML file?

917


What are the disadvantages of html?

628


Name 4 new elements in html5 that were not available in previous html versions.

618


Why is a url encoded in html?

648


What are the types of tag?

600


What are major attributes?

611


What is content in html?

657


How do you pronounce tag heuer?

634


What is bom in html?

637


What is xpath in html?

572


How to utilize a server-sent event in HTML5?

731


Is it better to use iframe?

635


What are the different types of storage in HTML 5?

697


Is html table deprecated?

609