1.Difference
between HTML 4 and HTML 5
-
S.No HTML 4HTML 51HTML 4 uses common structures like headers , footersHTML5 uses new structures such as drag, drop and much more2 HTML 4 cannot embed video or audio directly. HTML 4 makes use of flash player for itHTML 5 can contain embedded video and audio without using flash player3 HTML 4 has traditional API’s which does not include canvas and content editable API’sHTML 5 introduced many new API’s which facilitate flexibility of web pages4 In HTML 4, local storage is not possible and tags that can handle only one dimension are presentIn HTML 5, new tags and new features like local storage are enhanced5 HTML 4 cannot handle inaccurate syntaxHTML 5 is capable of handling inaccurate syntax
2.Difference
between HTML and DHTML
-
S.No HTMLDHTML1HTML site work slowly upon client-side technologies.DHTML sites works faster upon client-side technologies2 HTML is static in natureDHTML is dynamic in nature3 HTML files are saved with .htm extensionDHTML files are saved with .dhtm extension4 HTML does not make use of any methods for making it dynamic. HTML content is always staticDHTML uses events, methods and much more for providing dynamism for HTML pages5 HTML pages does not require any processing from browserDHTML requires processing from browser which changes its look and feel
3.Difference
between HTML and XHTML
-
S.No HTMLXHTML1HTML is an application of SGMLXHTML is an application of XML2 Attribute minimization and tags omission is supported in HTMLXHTML does not support minimization of attributes and omitting tags3 In HTML, document row headings will remain in normal fontIn DHTML, row headings will be in bold4 In HTML, tbody portion will be in the dom tree shape and also second selector should match the ‘t’th elementDHTML does not contain tbody and t’th element5 HTML is not case sensitiveXHTML is case sensitive6 In HTML, document body element is specified rather than html elementIn DHTML, html element is specified and document body element does not replace it
4.Difference
between HTML and PHP
-
S.No HTMLPHP1In HTML the output remains same as that of inputFor PHP, the output may not be the same all the time2 In HTML, browser cannot interpret the codeThe output of PHP is HTML code which the browser can interpret3 HTML does not involve PHPPHP includes both PHP and HTML codes4 HTML can create webpages that are only staticPHP can design dynamic webpages
No comments:
Post a Comment