What is the difference between HTTP and XHTMLSolutionHTTP fu
What is the difference between HTTP and XHTML?
Solution
HTTP:
full form of HTTP is HyperText Transfer Protocol. this protocol is needed to sharing information through internet. For secured sharing now we are using HTTPS, information sharing is fine, if you want to protect it we need to use HTTPS protocol
XHTML:
full form of XHTML is EXtensible HyperText Markup Language. it is equalent to HTML. it is more efficient than HTML. XHTML is defined as a HTML and XML. it is supporting all browsers.
XHTML elements mustbe lowercase,properly nested, one root element and must be closed. attributes names must be lower case and quoted.
an XHTML document must have an declaration like <!DOCTYPE ....>
