Articles on Trending Technologies

Technical articles with clear explanations and examples

HTML DOM Video volume Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 162 Views

The HTML DOM Video volume property sets or retrieves the audio volume level of a video element. The volume is represented as a decimal number between 0.0 (muted) and 1.0 (maximum volume). Syntax Following is the syntax for returning the current volume − mediaObject.volume Following is the syntax for setting the volume to a specific level − mediaObject.volume = number Parameters The number parameter accepts a decimal value with the following constraints − Maximum value − 1.0 (full volume) Minimum value − 0.0 (muted/silent) Default value − ...

Read More

HTML DOM Input Week autofocus Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 172 Views

The Input Week autofocus property in the HTML DOM sets or returns whether an input field of type "week" should automatically receive focus when the page loads. This property corresponds to the HTML autofocus attribute and is useful for improving user experience by immediately directing attention to the week input field. Syntax Following is the syntax for getting the autofocus property − inputWeekObject.autofocus Following is the syntax for setting the autofocus property − inputWeekObject.autofocus = booleanValue Property Values The autofocus property accepts boolean values − ...

Read More

HTML DOM TableData colSpan Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 246 Views

The HTML DOM TableData colSpan property returns and modifies the value of the colspan attribute of a table cell ( or ) in an HTML document. This property controls how many columns a cell spans across in a table. Syntax Following is the syntax for returning the colSpan property − object.colSpan Following is the syntax for setting the colSpan property − object.colSpan = number Property Values The colSpan property accepts a numeric value that specifies how many columns the cell should span. The default value is 1, meaning the ...

Read More

HTML DOM Input Week defaultValue Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 192 Views

The HTML DOM Input Week defaultValue property sets or returns the default value of a week input field. This property represents the original value attribute specified in the HTML, which remains constant even when the user changes the input field's current value. It is useful for resetting the field back to its original state. Syntax Following is the syntax for returning the default value − inputWeekObject.defaultValue Following is the syntax for setting the default value − inputWeekObject.defaultValue = "string" Parameters The defaultValue property accepts a string parameter representing a ...

Read More

HTML DOM TableData headers Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 140 Views

The HTML DOM TableData headers property returns and modifies the value of the headers attribute of a table cell () element. The headers attribute associates data cells with their corresponding header cells, improving table accessibility for screen readers. Syntax Following is the syntax for returning the headers attribute value − object.headers Following is the syntax for setting the headers attribute value − object.headers = "header_ids" Parameters The header_ids parameter is a space-separated list of header cell IDs that describe the current data cell. Each ID should correspond to a ...

Read More

HTML DOM Video width Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 182 Views

The HTML DOM Video width property allows you to get or set the width of a video element in pixels. This property corresponds to the width attribute of the element and can be manipulated dynamically using JavaScript. Syntax Following is the syntax for getting the width value − mediaObject.width Following is the syntax for setting the width value − mediaObject.width = number Parameters number − A positive integer representing the width of the video element in pixels. Return Value The property returns a number ...

Read More

How to add copyright symbol to your HTML document?

Aayush Mohan Sinha
Aayush Mohan Sinha
Updated on 16-Mar-2026 1K+ Views

The copyright symbol (©) is an important legal marker used to indicate ownership of copyrighted content. Since this symbol is not directly available on standard keyboards, HTML provides several methods to display it on web pages using special codes and entities. Syntax There are three main ways to add the copyright symbol in HTML − © © © Using HTML Entity Name The most common and readable method is using the HTML entity name ©. This method is widely supported across all browsers and is easy to remember. ...

Read More

Explain the significance of and tag in HTML

Yaswanth Varma
Yaswanth Varma
Updated on 16-Mar-2026 805 Views

The two most important structural tags in HTML are and . These fundamental elements form the core structure of every HTML document and serve distinctly different purposes. The section contains metadata and resources that aren't directly visible to users, while the section holds all the visible content that users interact with on the webpage. Syntax Following is the basic syntax for HTML document structure using and tags − HTML Document Structure ...

Read More

HTML DOM Input Week disabled Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 178 Views

The HTML DOM Input Week disabled property sets or returns whether an input week field is enabled or disabled. When a week input is disabled, users cannot interact with it, and its value is not submitted with the form. Syntax Following is the syntax for returning the disabled state − inputWeekObject.disabled Following is the syntax for setting the disabled state − inputWeekObject.disabled = booleanValue Parameters The booleanValue can be one of the following − Value Description true The input week field ...

Read More

HTML DOM Input Search autocomplete Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 312 Views

The HTML DOM Input Search autocomplete property is associated with the autocomplete attribute of the element with type="search". This property controls whether the browser should automatically suggest previously entered values when the user types in the search field. Syntax Following is the syntax for setting the autocomplete property − searchObject.autocomplete = "on|off" Following is the syntax for getting the autocomplete property − var autocompleteValue = searchObject.autocomplete Property Values The autocomplete property accepts the following values − on − The browser will automatically complete the user input ...

Read More
Showing 13321–13330 of 61,297 articles
Advertisements