Thursday, 6 October 2016

Dhtml

What is dynamic html?
DHTML is the combination of several built-in browser features in fourth generation browsers that enable a web page to be more dynamic.
DHTML is NOT a scripting language (like JavaScript or VBscript), but a browser feature- or enhancement- that makes the browser dynamic
It uses a host of different technologies - JavaScript, VBScript, the Document Object Model (DOM), layers, cascading stylesheets - to create HTML that can change even after a page has been loaded into a browser
It is considered to be made up of
HTML
Cascading Style Sheets (CSS)
Scripting language
All three of these components are linked via Document Object Model (DOM)
DOM is the interface that allows scripting languages to access the content, style, and structure of the web documents and change them dynamically


Difference between HTML and DHTML


  • HTML is a mark-up language, while DHTML is a collection of technology.
  • DHTML creates dynamic web pages, whereas HTML creates static web pages.
  • DHTML allows including small animations and dynamic menus in Web pages.
  • DHTML used events, methods, properties to insulate dynamism in HTML Pages.
  • DHTML is basically using JavaScript and style sheets in an HTML page.
  • HTML sites will be slow upon client-side technologies, while DHTML sites will be fast enough upon client-side technologies.
  • HTML creates a plain page without any styles and Scripts called as HTML. Whereas, DHTML creates a page with HTML, CSS, DOM and Scripts called as DHTML.
  • HTML cannot have any server side code but DHTML may contain server side code.
  • In HTML, there is no need for database connectivity, but DHTML may require connecting to a database as it interacts with user.
  • HTML files are stored with .htm or .html extension, while DHTML files are stored with .dhtm extension.
  • HTML does not require any processing from browser, while DHTML requires processing from browser which changes its look and feel.


Tools of DTHML

 HTML and XML
Partitions and Organizes the content
 CSS
Defines the Presentation of the content
 Scripting - JavaScript, JScript, VBScript 
Adds interactivity to the page
 DOM- Document Object Model
Defines what and how elements are exposed for script access

No comments:

Post a Comment