Section 6. Manipulating Element’s Styles. style property – get or set inline styles of an element.; getComputedStyle() – return the computed style of an element. className property – return a list of space-separated CSS classes.
The Legacy DOM − This is the model which was introduced in early versions of JavaScript language. It is well supported by all browsers, but allows access only to certain key portions of documents, such as forms, form elements, and images.
The DOM defines a standard for accessing documents: "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.&q
Post a Comment:
Showing 0 Comments: