How DHTML Works - HTML

DHTML can work either by applying certain CSS properties, or by using JavaScript to manipulate HTML elements. When using JavaScript, DHTML takes advantage of a browser’s object model, which is a tree of objects based on the element set of HTML and on the property set of CSS. When you code against that object model, you can change an element’s properties, which are associated with an element’s attributes. An element’s attributes, in fact, are referred to as properties in a JavaScript environment. How these properties are referred to, and what actions (methods) you can take on them, is determined by the Document Object Model (DOM).

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd Protection Status

HTML Topics