With HTML 5 up, should we continue using the .dhtml and .shtml file formats?
Why does Js and CSS work even when we use HTML, without DHTML. Is this practice wrong?
Is there any advantage of SHTML over PHP?
If these 2 are not deprecated, why aren't they around?
SHTML
There isn't any difference between using
.shtmland.phpfiles other than the languages in which they are parsed..shtmlcontainsSSIscripting, while.phpcontainsPHPscripts. There isn't any specific reason to choose one over the other - it depends completely upon the developer.DHTML
DHTMLisn't a different language or script fromHTML. It just refers to the combined use of a markup language (HTML), a client-side scripting language (JavaScript) and a styling language (CSS). It simply notifies that yourHTMLpage has dynamic content.None of these are deprecated. It is just that
SHTMLhas gone out of use as many people have switched toPHPand other server-side languages, and that people have minimized the usage of the term DHTML for talking about dynamicHTMLpages, as now most of the websites have dynamic content.