AmitDiwan has Published 10744 Articles

HTML DOM Form action Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 08:04:53

332 Views

The HTML DOM Form action property is associated with the action attribute of the form element. The form action property specifies the web page to send the form data after being submitted by the user. This attribute is called after the form has been submitted to specify where to submit ... Read More

HTML DOM Form acceptCharset Property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 07:59:20

122 Views

The HTML DOM Form acceptCharset property is associated with the accept-Charset attribute of the element. This property is used for setting and getting the accept-Charset attribute value of a form. It returns the character encoding in the string type.If accept-Charset value is not specified it will return UNKNOWN which ... Read More

HTML DOM Figure object

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 07:40:08

133 Views

The HTML DOM Figure object is used for reperesenting the HTML element. We can dynamically create and access a figure element using the figure object.SyntaxFollowing is the syntax for creating a Figure object −var p = document.createElement("FIGURE");ExampleFollowing is how you can create Figure object −    function ... Read More

HTML DOM Fieldset form property

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 06:57:00

172 Views

The HTML DOM Fieldset form property returns the form reference of the type form object. This is for the element that is present inside that given form. It is a read-only property. If the specified fieldset isn’t present inside the form then null is returnedSyntaxFollowing is the syntax for ... Read More

HTML DOM exitFullscreen() method

AmitDiwan

AmitDiwan

Updated on 19-Aug-2019 06:42:46

61 Views

The HTML DOM exitFullscreen() method is used for getting an element currently in the full screen mode to get out of that mode. It does nothing if executed on an element that isn’t in the full screen mode already.SyntaxFollowing is the syntax for exitFullscreen() method −HTMLElementObject.exitFullscreen()ExampleLet us look at an ... Read More

HTML DOM console.time() Method

AmitDiwan

AmitDiwan

Updated on 13-Aug-2019 09:08:40

71 Views

The HTML DOM console.time() method is used for displaying the time elapsed in executing a piece of code. This helps us in analyzing the entire code or specific bits of our code. By timing your code you can make it more efficient. Using the optional label parameter you can create ... Read More

HTML DOM console.group() Method

AmitDiwan

AmitDiwan

Updated on 13-Aug-2019 09:03:19

132 Views

The HTML DOM console.group() method is used to indicate the start of message group and all messages written after this method will be written inside the message group. This allows making one group for all messages or several groups using the label parameter.SyntaxFollowing is the syntax for the console.group() method ... Read More

HTML DOM console.timeEnd() Method

AmitDiwan

AmitDiwan

Updated on 13-Aug-2019 08:45:10

84 Views

The console.timeEnd() method is used for stopping the timer and displaying the time elapsed while the code inside the console.time() and console.timeEnd() took to finish execution. It is useful for timing sections of your code to figure out where the bottlenecks are. Using the optional label parameter we can specify ... Read More

HTML DOM Input Password autofocus Property

AmitDiwan

AmitDiwan

Updated on 09-Aug-2019 10:40:30

331 Views

The HTML DOM input Password autofocus property is associated with the HTML element’s autofocus attribute. This property is used for setting or returning if the input password field should be automatically focused when the page loads or not.SyntaxFollowing is the syntax to −Set the autofocus property −passwordObject.autofocus = true|falseHere, ... Read More

HTML DOM embed object

AmitDiwan

AmitDiwan

Updated on 08-Aug-2019 14:27:27

304 Views

The HTML DOM embed object is associated with the HTML element.The element can be used to embed various external applications like audio, video etc.PropertiesFollowing are the properties for the HTML DOM embed object −PropertyDescriptionHeightTo set or return the embed element height attribute value.SrcTo set or return the src ... Read More

Advertisements