Sharon Christine has Published 433 Articles

HTML DOM Input Button disabled Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

75 Views

The HTML DOM input button disabled property returns and alter the value of disabled attribute of an input button in HTML.SyntaxFollowing is the syntax −1. Returning nameobject.disabled2. Modifying nameobject.disabled = true|falseExampleLet us see an example of disabled property − Live Demo HTML DOM disabled Property    body{   ... Read More

HTML DOM Input Button form Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

97 Views

The HTML DOM input button form property returns the reference of the form which enclose the input button.SyntaxFollowing is the syntax −object.formExampleLet us see an example of input button form property − Live Demo

HTML DOM History length Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

77 Views

The HTML DOM History length property returns of URLs in the History list of current window.SyntaxFollowing is the syntax −history.lengthExampleLet us see an example of HTML DOM History length property − Live Demo    body{       text-align:center;    }    .btn{       background-color:lightblue;   ... Read More

HTML DOM HTML Object

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

255 Views

The HTML Object represents the element of an HTML document.Let us see how to access HTML object −SyntaxFollowing is the syntax −document.getElementsByTagName(“HTML”)Let us see an example of HTML object −Example Live Demo    body{       text-align:center;    }    .btn{       background-color:lightblue;     ... Read More

HTML DOM iFrame Object

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

133 Views

The HTML DOM iframe Object represents the element of an HTML document.Let us now create iframe object −SyntaxFollowing is the syntax −document.createElement(“IFRAME”);PropertiesFollowing are the properties of iframe Object −PropertyExplanationcontentDocumentIt returns the document object generated by an iframe HTML element.contentWindowIt returns the window object generated by an iframe HTML element.heightIt ... Read More

HTML DOM Input FileUpload files Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

104 Views

The HTML DOM FileUpload files property returns a FileList object which contains all the files that are selected by the file upload button.SyntaxFollowing is the syntax −object.filesExampleLet us see an example of FileUpload files property − Live Demo    body{       text-align:center;       background-color:#52B2CF; ... Read More

HTML DOM Input FileUpload name Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

61 Views

The HTML DOM FileUpload name property returns and modify the value of the name attribute of an fileupload input type in HTML.SyntaxFollowing is the syntax −1. Returning nameobject.name2. Setting nameobject.name=”text”ExampleLet us see an example of FileUpload name property − Live Demo HTML DOM name Property    body{   ... Read More

HTML DOM Input FileUpload form Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

90 Views

The HTML DOM input FileUpload form property returns the reference of the form which enclose the file upload input button.SyntaxFollowing is the syntax −object.formExampleLet us see an example of input FileUpload form property − Live Demo    body{       text-align:center;       background-color:#363946;     ... Read More

HTML DOM Input FileUpload value Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

89 Views

The HTML DOM input FileUpload value property returns the content of the value attribute of file upload input button.SyntaxFollowing is the syntax −object.valueExampleLet us see an example of input FileUpload value property − Live Demo HTML DOM name Property    body{       background-color:#397367;       ... Read More

HTML DOM Input Hidden name Property

Sharon Christine

Sharon Christine

Updated on 30-Jul-2019 22:30:26

100 Views

The HTML DOM input hidden name property returns and alter the value of name attribute of input field of type=”hidden” in an HTML document.SyntaxFollowing is the syntax −1. Returning nameobject.name2. modifying nameobject.name=”text”ExampleLet us see an example of HTML DOM input hidden name property − Live Demo    body{ ... Read More

Advertisements