XHTML is most the same as HTML.
The abbreviation of XHTML is Extensible Hyper Text Markup Language.
The rule of XHTML are more strict.
XHTML is probably supported by all the browsers.
Why we use XHTML
Its major advantage, This is often useful for that browsers where html is bad. And there arn't html rules are necessary.
Example of XHTML syntax
<
html
>
<
head
>
<
title
>
Title <
/title
>
<
/head
>
<
body
>
<
h1
>
Heading 1 <
/h1
>
<
p
>
dummy paragraph <
/p
>
<
/body
>
<
/html
>
XHTML Structure
within the XHTML doctype is necessary
within the XHTML XMLNS attribute are necessary
<html>
, <head>
, <title>
, and <body>
are necessary
within the XHTML elements should be properly nested
within the XHTML elements should always be closed
within the XHTML elements should always be in lowercase
within the XHTML attribute names must always be in lowercase
within the XHTML attribute values should be quoted
within the XHTML attribute minimization is forbidden
Comment here
If you have any query, if you want to know something about any of technical course related to computer science field, if you have any suggestion about relevant to uploaded content or if you anything wrong here (any mistake in content) than please contact us. Keep in mind, comment should be according to community guidelines.