Dynamic HTML: Difference between revisions

Content deleted Content added
fix syntaxhighlight errors
No edit summary
Line 5:
'''Dynamic HTML''', or '''DHTML''', is a term which was used by some browser vendors to describe the combination of [[HTML]], [[Style sheet (web development)|style sheet]]s and [[Dynamic web page#Client-side scripting|client-side scripts]] (JavaScript, VBScript, or any other supported scripts) that enabled the creation of interactive and animated documents.<ref>{{Cite web|title=Document Object Model FAQ|url=https://www.w3.org/DOM/faq.html#DHTML-DOM|access-date=2022-02-16|website=www.w3.org}}</ref><ref>{{cite web|url=http://www.w3.org/Style/#dynamic|title=Web Style Sheets|website=www.w3.org|access-date=7 April 2018}}</ref> The application of DHTML was introduced by [[Microsoft]] with the release of [[Internet Explorer 4]] in 1997.<ref>{{Cite web |date=2020-07-19 |title=DHTML {{!}} A Quick Glance of DHTML with Components, Features, Need |url=https://www.educba.com/dhtml/ |access-date=2022-10-13 |website=EDUCBA |language=en-US}}</ref>{{Unreliable source?|date=November 2022}}
 
DHTML allows scripting languages to change [[variable (programming)|variable]]s in a web page's definition language, which in turn affectsaffect the look and function of otherwise "static" HTML page content after the page has been fully loaded and during the viewing process. Thus the dynamic characteristic of DHTML is the way it functions while a page is viewed, not in its ability to generate a unique page with each page load.
 
By contrast, a [[dynamic web page]] is a broader concept, covering any web page generated differently for each user, load occurrence, or specific variable values. This includes pages created by client-side scripting and ones created by [[server-side scripting]] (such as [[PHP]], [[Python (programming language)|Python]], [[JavaServer Pages|JSP]] or [[ASP.NET]]) where the web server generates content before sending it to the client.