Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Dynamic HTML (DHTML)


Published on

It is a presentation of Dynamic Html...

Published in: Engineering
  • Login to see the comments

Dynamic HTML (DHTML)

  1. 1. DYNAMIC HTML PRESENTED BY:- Ayush Sharma - 10 Himanshu Kumar - 16 Piyush Singh - 28 Pranabananda Jana - 29 Somnath Jha - 45 1
  2. 2. CONTENTS  DHTML  Features Of DHTML  Advantage Of DHTML  HTML – Brief Description  CSS - Brief Description  Scripting Example  Dom  HTML DOM Tree  Advantage Of DOM 2
  3. 3. DHTML- BRIEF DESCRIPTION  DHTML stands for Dynamic HTML.  "Dynamic" is defined as the ability of the browser to alter a web page's look and style after the document has loaded.  It just uses languages features to build dynamic web pages. 3Content
  4. 4.  All these three components are linked via Document Object Model (DOM).  Document Object Model is to provide a standard programming interface.  DHTML is NOT a scripting language  It uses different technologies. DHTML… 4Content
  5. 5.  Simplest feature is making the page dynamic.  Can be used to create animations, games, applications.  Dynamic building of web pages is simple as no plug-in is required.  Facilitates the usage of events, methods and properties and code reuse.  It makes the Web experience faster and more interactive for end users. FEATURES OF DHTML 5 Content
  6. 6. Dynamic HTML HTML content CSS style rules appearance Scripting Language manipulatemanipulate 6Content
  7. 7. ADVANTAGE OF DHTML  DHTML can make your browser dynamic and interactive.  Validation of input’s given by the user can be done at the client side, without connection to the server.  Content and design can be separated using Style sheets & uniformity of the site can be maintained using them. 7Content
  8. 8. HTML – BRIEF DESCRIPTION  HTML Stands for Hyper Text Markup Language.  An HTML file is a Text file containing small markup tags.  An HTML file can be created by using a simple Text Editor like Notepad. 8Content
  9. 9. HTML Partitions and Organizes the content 9 Content
  10. 10. HTML EXAMPLE <HTML> <HEAD> <TITLE>Sample</TITLE> </HEAD> <BODY> <P><h1><b>This is a sample paragraph</b></h1></P> </BODY> </HTML> 10View Page Content
  11. 11. CSS [ CASCADING STYLE SHEETS ] element Padding Border Margin CSS: Box Model 11 Content
  12. 12. CSS- BRIEF DESCRIPTION  Cascading Style Sheet  Defining the style and layout model for HTML documents.  There are two types implementation i) Internal ii) External 12 Content
  13. 13. CSS EXAMPLE <STYLE TYPE="text/css"> BODY { background-color: #CCCCCC; } P { border: 1px solid black; background-color: #FFFFFF; margin-bottom: 1px; } </STYLE> 13View Page Content
  14. 14. SCRIPTING (JAVA SCRIPT , VB SCRIPT)  Allows you to add conditional, client-side logic and behavior to your document.  Fully object-oriented, DOM interaction and more. 14Content
  15. 15. JAVASCRIPT EXAMPLE <script type="text/javascript"> function display_message() { document.write("n This is a message"); var x=4; document.write("n Integer value of x"+x); var x="It is a String"; document.write("n String value of x"+x); }; </script> 15ContentView Page
  16. 16. DOM INTRODUCTION  DOM stands for Data Object Model.  The DOM is a W3C (World Wide Web Consortium) standard.  "The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document." 16Content
  17. 17. HTML DOM TREE 17Content
  18. 18. ADVANTAGE OF DOM  The Document Object Model is a platform- and language-neutral interface.  Defines a hierarchical model of the document structure through which all document elements may be accessed.  Relatively simple to modify data structure and extract data. 18Content
  19. 19. THANK YOU… 19