AmitDiwan has Published 10744 Articles

HTML DOM Base href Property

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:23:30

280 Views

The HTML DOM Base href property is associated with the HTML tag. The tag is used to specify the base URL for all relative URLs in the current HTML document. There can be a maximum of one tag in a HTML document. The Base href Property returns ... Read More

HTML DOM Area Object

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:20:44

129 Views

The HTML DOM Area Object is associated with the image map in HTML. Area basically represents the clickable area inside the image map.The image object helps us in creating and accessing the element within the object. We can change clickable region inside the map or change the shape etc. ... Read More

HTML DOM Body object

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:17:32

345 Views

The HTML DOM Body object is associated with the HTML element. The attributes and their values set inside the body tag stay throughout the HTML document unless they are overridden by any of its child node.The body object can be used to access and manipulate these properties and their ... Read More

HTML DOM Bdo dir Property

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:13:53

148 Views

The HTML DOM Bdo dir property is associated with the HTML element. Here, bdo stands for Bi-Directional Override. The tag is used to override the current text direction which is by default left to right. The bdo dir property sets or returns the dir attribute value of a ... Read More

HTML DOM Button autofocus Property

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:12:45

151 Views

The HTML DOM Button autofocus property is associated with autofocus property of the element. The button autofocus property is used to specify whether a button on the HTML document should get the focus or not when the page loads.SyntaxFollowing is the syntax for −Setting the button autofocus property −buttonObject.autofocus ... Read More

HTML DOM Bold object

AmitDiwan

AmitDiwan

Updated on 06-Aug-2019 14:06:12

479 Views

The HTML DOM bold object is associated with the html (bold) tag. The tag is used to make the text inside the tag bold .Using the bold object we can access the HTML tag.SyntaxFollowing is the syntax for −Creating a bold object −var x = document.createElement("B");ExampleLet ... Read More

HTML DOM Meter min Property

AmitDiwan

AmitDiwan

Updated on 01-Aug-2019 06:36:25

134 Views

The Meter low property returns/sets a number corresponding to the min attribute of a element. Use this with high, max and low attributes for better results.SyntaxFollowing is the syntax −Returning value of the min propertymeterElementObject.minValue of the min property setmeterElementObject.min = numberExampleLet us see an example for Meter min ... Read More

HTML DOM Meter max Property

AmitDiwan

AmitDiwan

Updated on 01-Aug-2019 06:35:39

114 Views

The Meter low property returns/sets a number corresponding to the max attribute of a element. Use this with high, min and low attributes for better results.SyntaxFollowing is the syntax −Returning value of the max propertymeterElementObject.maxValue of the max property setmeterElementObject.max = numberExampleLet us see an example for Meter max ... Read More

HTML DOM Meter high Property

AmitDiwan

AmitDiwan

Updated on 01-Aug-2019 06:34:17

104 Views

The HTML DOM Meter high property returns/sets a number corresponding to the high attribute of a element. Use this with low, min and max attributes for better results.SyntaxFollowing is the syntax −Returning value of the high propertymeterElementObject.highValue of the high property setmeterElementObject.high = numberExampleLet us see an example for ... Read More

HTML DOM Meta Object

AmitDiwan

AmitDiwan

Updated on 01-Aug-2019 06:32:05

189 Views

The HTML DOM Meta Object in HTML represents the element.SyntaxFollowing is the syntax −Creating a elementvar metaObject = document.createElement(“META”)PropertiesHere, “metaObject” can have the following collections & properties −PropertyDescriptioncontentIt sets/returns the value of the content attribute of a elementhttpEquivIt sets/returns an HTTP header for the information in the ... Read More

Advertisements