|
Re:what is difference between HTML and XHTML? 2 Years, 4 Months ago
|
Karma: 0
|
|
HTML doesnt force you to follow xml standards.
that means. HTML allows unclosed tags or change the sequence of closed tags that means...
<table >
<tr>
<td>
</tr>
</td>
this will not throw any exception or problem when working with HTML...
drawback is.. it wil not give any error or warning but its behaviour on different browsers is unpredictable.
Where as XHTML strictly follows XML SYntax..
the below code generate error s
<table >// No END TAG
<tr>// Misplaced END TAG
<td>
</tr>
</td>
|
|
|