Front End Technology Articles

Page 112 of 652

HTML DOM Input Email defaultValue Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 180 Views

The HTML DOM Input Email defaultValue property sets or returns the default value of an email input field. This property corresponds to the value attribute in the HTML markup. Unlike the current value property which changes as the user types, the defaultValue remains constant and represents the original value specified in the HTML. Syntax Following is the syntax for returning the default value − inputEmailObject.defaultValue Following is the syntax for setting the default value − inputEmailObject.defaultValue = "string" Parameters The defaultValue property accepts a string parameter that represents the ...

Read More

HTML DOM Input Email disabled Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 188 Views

The HTML DOM Input Email disabled property sets or returns whether an Input Email field is enabled or disabled. When set to true, the email input becomes non-interactive and its value cannot be modified by the user. Syntax Following is the syntax for returning the disabled property value − inputEmailObject.disabled Following is the syntax for setting the disabled property − inputEmailObject.disabled = booleanValue Property Values The disabled property accepts the following boolean values − Value Description true The input email field ...

Read More

HTML DOM Input Email multiple Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 276 Views

The HTML DOM Input Email multiple property controls whether an email input field can accept multiple email addresses separated by commas. When set to true, users can enter multiple valid email addresses in a single input field. Syntax Following is the syntax for getting the multiple property value − inputEmailObject.multiple Following is the syntax for setting the multiple property − inputEmailObject.multiple = boolValue Parameters The boolValue parameter can be the following − Value Description true The input email field accepts multiple ...

Read More

HTML DOM Input Email name Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 156 Views

The HTML DOM Input Email name property returns or sets the value of the name attribute of an email input element. This property is commonly used for form data identification and JavaScript manipulation. Syntax Following is the syntax for getting the name property − inputEmailObject.name Following is the syntax for setting the name property − inputEmailObject.name = 'string' Parameters string − A string value that specifies the name of the email input element. Return Value The property returns a string representing the current ...

Read More

HTML DOM Input Email required Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 206 Views

The HTML DOM Input Email required property determines whether an email input field must be filled out before submitting a form. This property corresponds to the required HTML attribute and provides a way to access and modify the required state of email input elements using JavaScript. Syntax Following is the syntax for getting the required property value − inputEmailObject.required Following is the syntax for setting the required property − inputEmailObject.required = booleanValue Parameters The booleanValue parameter can be one of the following values − Value ...

Read More

HTML DOM Input Email type Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 167 Views

The HTML DOM Input Email type property returns or sets the type attribute of an input element that is currently of type "email". This property allows you to dynamically change the input type from email to other supported input types using JavaScript. Syntax Following is the syntax for returning the type value − inputEmailObject.type Following is the syntax for setting the type value − inputEmailObject.type = stringValue Return Value The property returns a string representing the current type of the input element. For an email input, it returns "email". ...

Read More

HTML DOM Input Email value Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 201 Views

The HTML DOM Input Email value property allows you to get or set the value of an email input field. This property returns a string representing the current email address in the input field, and you can also assign a new email string to change the field's value programmatically. Syntax Following is the syntax for getting the email input value − inputEmailObject.value Following is the syntax for setting the email input value − inputEmailObject.value = "emailString" Return Value The value property returns a string that represents the current value ...

Read More

HTML DOM Input FileUpload autofocus Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 165 Views

The HTML DOM Input FileUpload autofocus property controls whether a file upload input field automatically receives focus when the page loads. This property corresponds to the HTML autofocus attribute and can be used to programmatically set or check the autofocus state of file input elements. Syntax Following is the syntax for getting the autofocus property value − inputFileUploadObject.autofocus Following is the syntax for setting the autofocus property − inputFileUploadObject.autofocus = booleanValue Return Value The autofocus property returns a boolean value indicating whether the file upload input has autofocus enabled ...

Read More

How to create space between list bullets and text in HTML?

Lokesh Badavath
Lokesh Badavath
Updated on 16-Mar-2026 29K+ Views

We can create space between list bullets and text in HTML using the CSS padding-left property. This property adds whitespace on the left side of each list item, pushing the text away from the bullet point while keeping the bullet in its original position. HTML supports both ordered lists using the tag and unordered lists using the tag. Individual list items are defined with the tag. By applying padding-left to the elements, we can control the spacing between bullets and text content. Syntax Following is the syntax to create space between list bullets ...

Read More

Execute a script when the element is finished loading in HTML?

Yaswanth Varma
Yaswanth Varma
Updated on 16-Mar-2026 2K+ Views

In HTML, executing a script when an element finishes loading is accomplished using the onload event. This event triggers when an element has completely loaded, including all its content, images, and external resources. The onload event is most commonly used with the element to run scripts after a web page has fully loaded. It can also be applied to individual elements like images, iframes, and objects. This functionality is useful for initialization tasks, form validation, cookie checking, or dynamically adjusting content based on the loaded page. Syntax Following is the syntax for the onload event attribute ...

Read More
Showing 1111–1120 of 6,519 articles
« Prev 1 110 111 112 113 114 652 Next »
Advertisements