Found 10483 Articles for Web Development

HTML DOM Meter min Property

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

137 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 property − Live Demo Meter min    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px; ... Read More

HTML DOM Meter max Property

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

116 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 property − Live Demo Meter max    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px; ... Read More

HTML DOM Meter low Property

AmitDiwan
Updated on 31-Jul-2019 14:43:49

143 Views

The Meter low property returns/sets a number corresponding to the low attribute of a element. Use this with high, min and max attributes for better results.SyntaxFollowing is the syntax −Returning value of the low propertymeterElementObject.lowValue of the low property setmeterElementObject.low = numberExampleLet us see an example for Meter low property − Live Demo Meter low    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px; ... Read More

HTML DOM Meter high Property

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

107 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 Meter high property − Live Demo Meter high    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       ... Read More

HTML DOM Meta Object

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

193 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 content attribute of elementnameIt sets/returns a name for the information in the content attribute of elementschemeIt sets/returns how the value of the content attribute should be interpreted, but this is not supported in HTML5ExampleLet us see an example for HTML DOM meta element − Live Demo Meta ... Read More

HTML DOM MenuItem Object

AmitDiwan
Updated on 31-Jul-2019 14:34:28

123 Views

The HTML DOM MenuItem Object in HTML represents the element.NOTE − element only supported in Mozilla Firefox Browser.SyntaxFollowing is the syntax −Creating a elementvar menuItemObject = document.createElement(“MENUITEM”)PropertiesHere, menuItemobject can have the following properties −PropertyDescriptioncheckedIt sets/returns (true/false) if the menu item should be checkedcommandIt sets/returns the value of the command attributedefaultIt sets/returns whether the menuItem should be the defaultdisabledIt sets/returns whether the menu item should be disablediconIt sets/returns an image that represents the menuItemlabelIt sets/returns the value of the label attribute of the menuItemradiogroupIt sets/returns the value of the radiogroup attribute of the menuItemtypeIt sets/returns the value of ... Read More

HTML DOM Menu Object

AmitDiwan
Updated on 31-Jul-2019 14:13:17

99 Views

The HTML DOM Menu Object in HTML represents the element.NOTE − element only supported in Mozilla Firefox Browser.SyntaxFollowing is the syntax −Creating a elementvar menuObject = document.createElement(“MENU”)ExampleLet us see an example for HTML DOM Menu element − Live Demo Menu Object    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px;    } Menu-Object Current URL: ... Read More

HTML DOM Mark Object

AmitDiwan
Updated on 31-Jul-2019 14:07:48

184 Views

The HTML DOM Mark Object in HTML represents the element.SyntaxFollowing is the syntax −Creating a elementvar markObject = document.createElement(“MARK”)ExampleLet us see an example for HTML DOM Mark element − Live Demo HTML DOM Mark    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px;    } HTML-DOM-Mark Full Name:    var divDisplay ... Read More

HTML DOM Map Object

AmitDiwan
Updated on 31-Jul-2019 14:04:54

195 Views

The HTML DOM Map Object in HTML represents the element.SyntaxFollowing is the syntax −Creating a elementvar mapObject = document.createElement(“MAP”)PropertiesHere, “mapObject” can have the following collections & properties −Collection/ PropertyDescriptionareasIt returns a collection of all elementsimagesIt returns a collection of all & elementsnameIt sets/returns the value of the name attribute for elementExampleLet us see an example for Map areas collection − Live Demo Map areas collection    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: ... Read More

HTML DOM Location search Property

AmitDiwan
Updated on 01-Aug-2019 06:30:40

148 Views

The Location search property returns/sets a string corresponding to the query parameters for a URL.SyntaxFollowing is the syntax −Returning value of the search propertylocation.searchValue of the protocol property setlocation.search = searchStringExampleLet us see an example for Location search property − Live Demo Location protocol    form {       width:70%;       margin: 0 auto;       text-align: center;    }    * {       padding: 2px;       margin:5px;    }    input[type="button"] {       border-radius: 10px;    } Location-protocol Current URL: ... Read More

Advertisements