The HTML DOM Input Password form property is used for returning the form reference that contains the input password field. If the input password field is outside the form then it will simply return NULL. This property is read-only.SyntaxFollowing is the syntax for input password form property.passwordObject.formExampleLet us look at an example for the Input Password form property −Live Demo Input Password form Property Password: Get the form id by clicking on the below button GET FORM function formId() { var P=document.getElementById("PASS").form.id; document.getElementById("Sample").innerHTML = "The id ... Read More
Tensorflow is a machine learning framework that is provided by Google. It is an open-source framework used in conjunction with Python to implement algorithms, deep learning applications and much more.TensorFlow is used in research and for production purposes and has optimization techniques that help in performing complicated mathematical operations quickly. This is because it uses NumPy and multi-dimensional arrays. These multi-dimensional arrays are also known as ‘tensors’. The framework supports working with deep neural network. It is highly scalable, and comes with many popular datasets. It uses GPU computation and automates the management of resources. It comes with multitude of ... Read More
The HTML DOM Input Password maxlength property is used for setting or returning the maxlength attribute of the input password field. The maxLength property specifies the maximum number of characters you can type in a password field.SyntaxFollowing is the syntax for −Setting the maxLength property −passwordObject.maxLength = integerHere, integer specifies the maximum number of characters that can be typed in the password field.ExampleLet us look at an example for the maxLength form property −Live Demo Input Password maxLength Property Password: Increase the maximum number of characters to be entered for the above field by clicking below button ... Read More
The HTML DOM Input Password name property is used for setting or returning the name attribute of an input password field. The name attribute helps in identifying the form data after it has been submitted to the server. JavaScript can also use the name attribute to refer form elements to manipulate later on.SyntaxFollowing is the syntax for −Setting the name property −passwordObject.name = nameHere, name is for specifying the password field name.ExampleLet us look at an example for the password name property −Live Demo Input Password name Property Password: Change the name of the password field by ... Read More
The HTML DOM emphasized object is associated with the HTML element. The element is used for emphasizing some text and it marks that text in italic. You can create and access emphasized object using createElement() or getElementById() method respectively.SyntaxFollowing is the syntax for −Creating an emphasized object −var e = document.createElement("EM");ExampleLet us look at an example for the emphasized object −Live Demo emphasized object example Create an em element by clicking the button below CREATE function createEM() { var e = document.createElement("EM"); var txt = document.createTextNode("HELLO WORLD"); ... Read More
The HTML DOM Fieldset disabled property is used for disabling the group of elements that are present inside a given fieldset. If this property is set to true then the elements are disabled else they are enabled, which is by default as well. Disabled elements are rendered in grey by default by browsers and users can’t click or write in those elements.SyntaxFollowing is the syntax −To set the disabled property −fieldsetObj.disabled = true|falseTo return the disabled property −fieldsetObj.disabledExampleLet us look at an example for the Fieldset disabled property −Live Demo function FieldDisable() { ... Read More
The HTML DOM Fieldset name property is used for getting or setting the name attribute value of a element. The name attribute helps in identifying the form data after the form has been submitted or for simply referencing the form elements.SyntaxFollowing is the syntax for −Setting the fieldset name property −fieldsetObject.name = nameHere, name specifies the fieldset name.ExampleLet us look at an example for the Fieldset name property −Live Demo function fieldName() { var field = document.getElementById("FieldSet1").name; document.getElementById("Sample").innerHTML = "The fieldset name is "+field; } ... Read More
The HTML DOM Fielset object represents the element.PropertiesFollowing are the properties for Fieldset object −PropertyDescriptiondisabledTo set or return if the fieldset is disabled, or notformTo return the reference to the form that contains the given fieldset.nameTo set or return the name attribute value of a fieldset.typeTo return the fieldset element type.SyntaxFollowing is the syntax for −Creating a fieldset element −var p = document.createElement("FIELDSET");ExampleLet us look at an example for the HTML DOM Fieldset object −Live Demo function createField() { var f = document.createElement("FIELDSET"); var txt = document.createTextNode("FIELDSET element created"); ... Read More
The HTML DOM Fieldset type property is used for returning the fieldset element type. It will always be of type fieldset for a fieldset element. It is a read-only property.SyntaxFollowing is the syntax for Fieldset type property −fieldsetObject.typeExampleLet us take a look at an example for the Fieldset type property −Live Demo function FieldType() { var field = document.getElementById("FieldSet1").type; document.getElementById("Sample").innerHTML = "The fieldset element is of type "+field; } Sample FORM User Data: Name: Address: Age: GET TYPE ... Read More
The HTML DOM Figcaption object is used for representing the HTML5 element. You can create or access a figcaption element using createElement() and getElementById() method respectively.SyntaxFollowing is the syntax for −Creating a Figcaption object −var p = document.createElement("FIGCAPTION");ExampleLet us look at an example for the Figcaption object −Live Demo function createCaption() { var caption = document.createElement("FIGCAPTION"); var txt = document.createTextNode("Learn Java Servlets"); caption.appendChild(txt); var f=document.getElementById("Figure1"); f.appendChild(caption); } Caption Create a caption for the below image by ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP