+ 1
Html4 and html5
what is the difference between html4 and html5
5 Réponses
+ 5
Wow! @@
@Abdur-Rahmaan wrote: << html4 is also known as xhtml >>
ABSOLUTLY NOT!!!
Xhtml was designed at same times than Html4, so they share most of specifications, but they are radically different under the hood: HTML is based on SGML, while XHTML was a totally new developent branch based on XML (and accessory XML is based on SGML), so they don't stricly shares the sames syntaxic rules...
Html is more permissive than XHtml (so second don't let pass any syntax errors, while first is expected to be auto-corrected by browsers if needed), and almost XHtml was abandonned to profit of Html5.
The only right thing, is that Html4 and XHtml are same generation version of Html, but they require totally different <!DOCTYPE>
Anyway, there's absolutly no serious reason to use deprecated versions, rather use more powerful last version, even if browsers continue to maintain a backward compatibility ^^
+ 4
HTML 5 is upgrade version of HTML 4
+ 3
html5 added many new attributes
it stopped supporting some of
html4
html4 is also known as xhtml -> FALSE
+ 1
abdur is right you should use html 5😊