Share
VIDEOS 1 TO 50
Introduction to Dynamic HTML with JavaScript, CSS and AJAX - Building a Blog
Introduction to Dynamic HTML with JavaScript, CSS and AJAX - Building a Blog
Published: 2014/09/25
Channel: Curran Kelleher
HTML Lecture 8 - DHTML Introduction, Dynamic HTML Technologies
HTML Lecture 8 - DHTML Introduction, Dynamic HTML Technologies
Published: 2017/01/15
Channel: Easy Engineering Classes
Dynamic HTML
Dynamic HTML
Published: 2012/07/05
Channel: Zain Fakhr
AJAX Tutorial - 20 - Sweet Dynamic HTML Program
AJAX Tutorial - 20 - Sweet Dynamic HTML Program
Published: 2013/01/28
Channel: thenewboston
JavaScript Tips and Tricks 02 - build a dynamic html table
JavaScript Tips and Tricks 02 - build a dynamic html table
Published: 2016/02/11
Channel: WEB Programming
dhtml
dhtml
Published: 2014/05/03
Channel: Madaka durga ganesh
PHP Tutorials - Dynamic HTML Web pages using PHP [NEW]
PHP Tutorials - Dynamic HTML Web pages using PHP [NEW]
Published: 2012/03/07
Channel: David Does Programming
Javascript Form Select Change Options Tutorial Dynamic List Elements HTML5
Javascript Form Select Change Options Tutorial Dynamic List Elements HTML5
Published: 2012/09/08
Channel: Adam Khoury
Dynamic HTML
Dynamic HTML
Published: 2015/10/25
Channel: Audiopedia
How to create a dynamic HTML table | lynda.com tutorial
How to create a dynamic HTML table | lynda.com tutorial
Published: 2010/09/30
Channel: LinkedIn Learning Solutions
How to create an attractive dynamic website using HTML
How to create an attractive dynamic website using HTML
Published: 2015/09/06
Channel: Suhail Tholakkal
Dynamic HTML content through DITA 1 of 6
Dynamic HTML content through DITA 1 of 6
Published: 2009/12/17
Channel: ScriptoriumTech
Javascript Scroll Tutorial Load Dynamic Content Into Page When User Reaches Bottom Ajax
Javascript Scroll Tutorial Load Dynamic Content Into Page When User Reaches Bottom Ajax
Published: 2012/08/25
Channel: Adam Khoury
Dynamic Dropdown in HTML - 1: Introduction
Dynamic Dropdown in HTML - 1: Introduction
Published: 2014/04/13
Channel: Coding Evolution
IS1500 - Dynamic HTML with PHP
IS1500 - Dynamic HTML with PHP
Published: 2015/07/07
Channel: Martin Schedlbauer
JQuery Ajax PHP Dynamic Content Loading
JQuery Ajax PHP Dynamic Content Loading
Published: 2014/01/20
Channel: Lon Hosford
Difference Between a Static & a Dynamic Website ( Tutorial with visual Aids)
Difference Between a Static & a Dynamic Website ( Tutorial with visual Aids)
Published: 2015/03/17
Channel: Don Web Design Solutions
Javascript DOM Manipulations: Dynamic HTML Tutorial
Javascript DOM Manipulations: Dynamic HTML Tutorial
Published: 2012/09/18
Channel: José Vidal
Dynamic table in HTML using PHP
Dynamic table in HTML using PHP
Published: 2014/11/09
Channel: Gautam Mokal
Dynamic Web Programing linking html pages by Eclipse using servlets, html, jsp, xml, windows 7
Dynamic Web Programing linking html pages by Eclipse using servlets, html, jsp, xml, windows 7
Published: 2015/09/13
Channel: JK leo
Create Dynamic HTML Reports With Powershell !
Create Dynamic HTML Reports With Powershell !
Published: 2013/10/01
Channel: MrPowerScripts
Build dynamic websites from HTML templates
Build dynamic websites from HTML templates
Published: 2011/08/04
Channel: softidiom
PHP Tutorials - Dynamic HTML Web pages using PHP part 1
PHP Tutorials - Dynamic HTML Web pages using PHP part 1
Published: 2010/02/05
Channel: David Does Programming
Introduction to Dynamic HTML with JavaScript, CSS and AJAX - Building a Blog
Introduction to Dynamic HTML with JavaScript, CSS and AJAX - Building a Blog
Published: 2015/06/10
Channel: Kri Shine
How to dynamic html contact form
How to dynamic html contact form
Published: 2016/01/10
Channel: Nirob Khan
How to dynamic one page HTML template to Wordpress theme
How to dynamic one page HTML template to Wordpress theme
Published: 2014/08/07
Channel: Rasel Ahmed
Dynamic form fields (adding and removing form fields dynamically)
Dynamic form fields (adding and removing form fields dynamically)
Published: 2015/12/18
Channel: cody Mind
dynamic dropdown in HTML and fetching data from mysql using php
dynamic dropdown in HTML and fetching data from mysql using php
Published: 2016/06/22
Channel: Amit Andipara
Creating Dynamic PDF in PHP from HTML
Creating Dynamic PDF in PHP from HTML
Published: 2014/10/16
Channel: yrrhelp
1   dynamic navigation menu part 1 HTML CSS
1 dynamic navigation menu part 1 HTML CSS
Published: 2014/03/08
Channel: Ashraf Hefny
PHP Tutorials - Dynamic HTML Web pages using PHP part 2
PHP Tutorials - Dynamic HTML Web pages using PHP part 2
Published: 2010/02/05
Channel: David Does Programming
Creating a Website Using FrontPage : How to Add Dynamic HTML Effects in FrontPage
Creating a Website Using FrontPage : How to Add Dynamic HTML Effects in FrontPage
Published: 2008/10/21
Channel: expertvillage
Generate PDF file with Dynamic Data and Custom Format using HTML Template  | Objective C
Generate PDF file with Dynamic Data and Custom Format using HTML Template | Objective C
Published: 2017/03/23
Channel: Akash Patel
How To Add Dynamic Demo Color Panel In Your HTML Template By Useing CSS & jQuery
How To Add Dynamic Demo Color Panel In Your HTML Template By Useing CSS & jQuery
Published: 2015/08/17
Channel: Salman Creation
How to Make a Dynamic Website | Yogi
How to Make a Dynamic Website | Yogi's Guide to Web Development | Ch0E5 | Hindi
Published: 2016/10/19
Channel: Learn By Watch
Dynamic checkbox list in HTML using PHP and display value of selected checkbox.
Dynamic checkbox list in HTML using PHP and display value of selected checkbox.
Published: 2014/11/09
Channel: Gautam Mokal
Email Dynamic HTML Tables: Visual CUT (for Crystal Reports)
Email Dynamic HTML Tables: Visual CUT (for Crystal Reports)
Published: 2013/07/16
Channel: Ido Millet
How to make dynamic form using jquery and html in a simple way
How to make dynamic form using jquery and html in a simple way
Published: 2016/11/30
Channel: Live_Your_Life
Create Simple Dynamic Calendar Using Jquery and HTML
Create Simple Dynamic Calendar Using Jquery and HTML
Published: 2016/11/26
Channel: Dhruvin Shah
Dynamic input field html and jquery
Dynamic input field html and jquery
Published: 2017/04/28
Channel: Programer Daily Life
How to create an html dynamic restaurant Facebook landing page
How to create an html dynamic restaurant Facebook landing page
Published: 2011/10/14
Channel: Robert Vasquez
ServiceNow Dynamic HTML table both in catalog and Portal : AngularJS
ServiceNow Dynamic HTML table both in catalog and Portal : AngularJS
Published: 2017/04/16
Channel: Shiladitya Ghosh
Pete Krawczyk   Dynamic HTML 5 using jQuery for Perl Programmers
Pete Krawczyk Dynamic HTML 5 using jQuery for Perl Programmers
Published: 2012/09/03
Channel: YAPC NA
PSD to HTML - Pages with Dynamic Height
PSD to HTML - Pages with Dynamic Height
Published: 2014/07/27
Channel: ExportKit
006 PHP Project Convert a Static Website into a Dynamic PHP Site  Tutorial
006 PHP Project Convert a Static Website into a Dynamic PHP Site Tutorial
Published: 2017/01/25
Channel: Intellectual India
how to Create Dynamic PDF in PHP from HTML
how to Create Dynamic PDF in PHP from HTML
Published: 2017/03/30
Channel: Point 4 Code
How to Generate Dynamic PDF File using TCPDF in PHP
How to Generate Dynamic PDF File using TCPDF in PHP
Published: 2016/09/24
Channel: Webslesson
SEO Issues on on AJAX, CSS, Parallax Scrolling & other Dynamic HTML Effects
SEO Issues on on AJAX, CSS, Parallax Scrolling & other Dynamic HTML Effects
Published: 2013/11/05
Channel: Benj Arriola
JAVASCRIPT - CREATE A HTML TABLE IN A DYNAMIC WAY!
JAVASCRIPT - CREATE A HTML TABLE IN A DYNAMIC WAY!
Published: 2017/06/12
Channel: Henrik Rosqvist
Adding a Dynamic Html Hotspot
Adding a Dynamic Html Hotspot
Published: 2015/06/03
Channel: Arizona 360VR
NEXT
GO TO RESULTS [51 .. 100]

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to: navigation, search

Dynamic HTML, or DHTML, is an umbrella term for a collection of technologies used together to create interactive and animated websites[1] by using a combination of a static markup language (such as HTML), a client-side scripting language (such as JavaScript), a presentation definition language (such as CSS), and the Document Object Model (DOM).[2] The application of DHTML was introduced by Microsoft with the release of Internet Explorer 4 in 1997.

DHTML allows scripting languages to change variables in a web page's definition language, which in turn affects 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, Perl, JSP or ASP.NET) where the web server generates content before sending it to the client.

DHTML is differentiated from Ajax by the fact that a DHTML page is still request/reload-based. With DHTML, there may not be any interaction between the client and server after the page is loaded; all processing happens in JavaScript on the client side. By contrast, an Ajax page uses features of DHTML to initiate a request (or 'subrequest') to the server to perform additional actions. For example, if there are multiple tabs on a page, pure DHTML approach would load the contents of all tabs and then dynamically display only the one that is active, while AJAX could load each tab only if (and when) it is really needed.

Uses[edit]

DHTML allows authors to add effects to their pages that are otherwise difficult to achieve. In short words: scripting language is changing the DOM and page style.

Simply put, DHTML is the combination of HTML, CSS and JavaScript offering ways to:

  • Animate text and images in their document, independently moving any element from a starting point to any ending point, following a predetermined path or one chosen by the user.
  • Embed a ticker or other dynamic display that automatically refreshes its content with the latest news, stock quotes, or other data.
  • Use a form to capture user input, and then process, verify and respond to that data without having to send data back to the server.
  • Include rollover buttons or drop-down menus.

A less common use is to create browser-based action games. Although a number of games were created using DHTML during the late 1990s and early 2000s,[citation needed] differences between browsers made this difficult: many techniques had to be implemented in code to enable the games to work on multiple platforms. Recently browsers have been converging towards web standards, which has made the design of DHTML games more viable. Those games can be played on all major browsers and they can also be ported to Plasma for KDE, Widgets for macOS and Gadgets for Windows Vista, which are based on DHTML code.

The term "DHTML" has fallen out of use in recent years as it was associated with practices and conventions that tended to not work well between various web browsers. DHTML may now be referred to as unobtrusive JavaScript coding (DOM Scripting), in an effort to place an emphasis on agreed-upon best practices while allowing similar effects in an accessible, standards-compliant way.

DHTML support with extensive DOM access was introduced with Internet Explorer 4.0. Although there was a basic dynamic system with Netscape Navigator 4.0, not all HTML elements were represented in the DOM. When DHTML-style techniques became widespread, varying degrees of support among web browsers for the technologies involved made them difficult to develop and debug. Development became easier when Internet Explorer 5.0+, Mozilla Firefox 2.0+, and Opera 7.0+ adopted a shared DOM inherited from ECMAScript.

More recently, JavaScript libraries such as jQuery have abstracted away many of the day-to-day difficulties in cross-browser DOM manipulation.

Structure of a web page[edit]

Typically a web page using DHTML is set up in the following way:

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>DHTML example</title>
    </head>
    <body>
        <div id="navigation"></div>

        <script>
            function init() {
                var myObj = document.getElementById("navigation");
                // ... manipulate myObj
            }
            window.onload = init;
        </script>

        <!--
        Often the code is stored in an external file; this is done
        by linking the file that contains the JavaScript.
        This is helpful when several pages use the same script:
        -->
        <script src="myjavascript.js"></script>
    </body>
</html>

Example: Displaying an additional block of text[edit]

The following code illustrates an often-used function. An additional part of a web page will only be displayed if the user requests it.

<!doctype html>
<meta charset="utf-8">
<title>Using a DOM function</title>
<style>
    a { background-color:#eee; }
    a:hover { background:#ff0; }
    #toggleMe { background:#cfc; display:none; margin:30px 0; padding:1em; }
</style>
<h1>Using a DOM function</h1>

<h2><a id="showhide" href="#">Show paragraph</a></h2>

<p id="toggleMe">This is the paragraph that is only displayed on request.

<p>The general flow of the document continues.

<script>
    function changeDisplayState(id) {
        var d = document.getElementById('showhide'),
            e = document.getElementById(id);
        if (e.style.display === 'none' || e.style.display === '') {
            e.style.display = 'block';
            d.innerHTML = 'Hide paragraph';
        } else {
            e.style.display = 'none';
            d.innerHTML = 'Show paragraph';
        }
    }
    document.getElementById('showhide').addEventListener('click', function (e) {
        e.preventDefault();
        changeDisplayState('toggleMe');
    });
</script>

Document Object Model[edit]

DHTML is not a technology in and of itself; rather, it is the product of three related and complementary technologies: HTML, Cascading Style Sheets (CSS), and JavaScript. To allow scripts and components to access features of HTML and CSS, the contents of the document are represented as objects in a programming model known as the Document Object Model (DOM).

The DOM API is the foundation of DHTML, providing a structured interface that allows access and manipulation of virtually anything in the document. The HTML elements in the document are available as a hierarchical tree of individual objects, meaning you can examine and modify an element and its attributes by reading and setting properties and by calling methods. The text between elements is also available through DOM properties and methods.

The DOM also provides access to user actions such as pressing a key and clicking the mouse. You can intercept and process these and other events by creating event handler functions and routines. The event handler receives control each time a given event occurs and can carry out any appropriate action, including using the DOM to change the document.

Dynamic styles[edit]

Dynamic styles are a key feature of DHTML. By using CSS, you can quickly change the appearance and formatting of elements in a document without adding or removing elements. This helps keep your documents small and the scripts that manipulate the document fast.

The object model provides programmatic access to styles. This means you can change inline styles on individual elements and change style rules using simple JavaScript programming.

Inline styles are CSS style assignments that have been applied to an element using the style attribute. You can examine and set these styles by retrieving the style object for an individual element. For example, to highlight the text in a heading when the user moves the mouse pointer over it, you can use the style object to enlarge the font and change its color, as shown in the following simple example.

<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Dynamic Styles</title>
        <style>
            ul { display: none; }
        </style>
    </head>

    <body>
        <h1 id="firstHeader">Welcome to Dynamic HTML</h1>

        <p><a id="clickableLink" href="#">Dynamic styles are a key feature of DHTML.</a></p>

        <ul id="unorderedList">
            <li>Change the color, size, and typeface of text</li>
            <li>Show and hide text</li>
            <li>And much, much more</li>
        </ul>

        <p>We've only just begun!</p>

        <script>
            function showMe() {
                document.getElementById("firstHeader").style.color = "#990000";
                document.getElementById("unorderedList").style.display = "block";
            }

            document.getElementById("clickableLink").addEventListener("click", function (e) {
                e.preventDefault();
                showMe();
            });
        </script>
    </body>
</html>

See also[edit]

References[edit]

External links[edit]

Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license