Front End Technology Articles - Page 542 of 860

HTML DOM Meter max Property

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

120 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

152 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

111 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

198 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

130 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

104 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

191 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

205 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

158 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

What is the use of Math.asinh() and Math.acosh() functions in javascript?

vineeth.mariserla
Updated on 31-Jul-2019 14:04:10

167 Views

Math.asinh() and Math.acosh() functions are used to find the hyperbolic arc-sine and hyperbolic arc-cosine of a number respectively. These functions are static methods of Math, therefore they are always used as Math.asinh() and Math.acosh(), rather than as methods of a math object created.Math.asinh()This method is used to find the hyperbolic arc-sine of a number. It takes a number as a parameter and returns hyperbolic sine value.ExampleLive Demo document.write(Math.asinh(2)); document.write(""); document.write(Math.asinh(7)); Output1.4436354751788103 2.644120761058629Math.acosh()This method is used to find the hyperbolic arc-cosine of a number. It takes a number ... Read More

Advertisements