Javascript (JS) Body Object Examples: HTML DOM – Javascript (JS) Body Object Examples
Javascript (JS) Body Object Examples: HTML DOM – Javascript (JS) Body Object Examples Purpose: – Illustrates the JavaScript syntax for working with the Body Object. A Body object allows you to access properties related to the HTML Body of the document. Body Object Examples Body Object Properties className Allows you to access the class attribute of the body. dir Allows you to access the direction of text attribute of the body. id Allows... [Read More...]
Javascript (JS) Base Examples: HTML DOM Object- Javascript (JS) Base Examples
Javascript (JS) Base Examples: HTML DOM Object- Javascript (JS) Base Examples Purpose: – Illustrates the JavaScript syntax for working with the Base Object. An Base allows you to create the url portion of links on a page. Base Object Examples Base Object Properties href Allows you to access the base part of all links on a page id Allows you to access the id for the base object target Allows you to access to default target window... [Read More...]
Javascript (JS) Area Examples: HTML DOM Object – Javascript (JS) Area Examples
Javascript (JS) Area Examples: HTML DOM Object – Javascript (JS) Area Examples Purpose: – Illustrates the JavaScript syntax for working with the Area Object. An Area allows you to create a hyperlink to another document or to a different point in the same document. The href property allows an Area to link to another document, and the name property allows the Area to link to another point within the current document. There are two ways... [Read More...]