Front End Technology Articles

Page 53 of 652

HTML DOM Location reload() method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 377 Views

The HTML DOM Location reload() method is used to reload the current document, providing the same functionality as the browser's reload button. This method re-renders the entire page, either from the server or browser cache depending on the parameter passed. Syntax Following is the syntax for the location.reload() method − location.reload(forceGetParameter) Parameters The forceGetParameter is an optional boolean parameter that determines how the page is reloaded − forceGetParameter Details true Forces the page to reload from the server, bypassing the browser cache. false ...

Read More

HTML DOM Anchor type Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 203 Views

The HTML DOM Anchor type property sets or retrieves the value of the type attribute of an anchor element. This property specifies the MIME type of the linked resource, providing a hint to the browser about the content type it can expect when following the link. The type attribute was introduced in HTML5 and serves as a suggestion to help browsers optimize how they handle the linked resource. It contains a single MIME (Multipurpose Internet Mail Extensions) type value such as text/html, application/pdf, or image/jpeg. Syntax Following is the syntax for getting the type property − ...

Read More

HTML DOM Bdo dir Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 219 Views

The HTML DOM Bdo dir property is associated with the HTML element. Here, bdo stands for Bi-Directional Override. The tag is used to override the current text direction which is by default left to right. The bdo dir property sets or returns the dir attribute value of a element. The dir property is compulsory for the element and specifies the direction of the text flow. Syntax Following is the syntax for setting the dir property − bdoObject.dir = "ltr|rtl" Here, ltr is left-to-right text direction, whereas rtl is right-to-left text ...

Read More

HTML DOM Bold object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 540 Views

The HTML DOM Bold object represents the HTML element in the Document Object Model. The tag is used to make text appear bold without conveying any extra importance or emphasis. The Bold object provides methods and properties to create, access, and manipulate elements dynamically using JavaScript. Syntax Following is the syntax for creating a Bold object − var boldElement = document.createElement("B"); To access an existing element by its ID − var boldElement = document.getElementById("boldId"); Properties The Bold object inherits all properties from the generic HTML ...

Read More

HTML DOM Button name Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 339 Views

The HTML DOM Button name property is associated with the name attribute of the element. The name property allows you to set or return the value of the name attribute of a button element. The name attribute is primarily used in forms to identify elements when submitting form data to the server and for accessing elements using JavaScript. Syntax Following is the syntax for setting the name property − buttonObject.name = "name" Following is the syntax for getting the name property − var name = buttonObject.name Here, name is ...

Read More

HTML DOM Button value Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 317 Views

The HTML DOM Button value property is associated with the value attribute of the element. It specifies the hidden value of the button that is sent to the server when the button is clicked in a form submission. The value property allows you to set or retrieve the value attribute of a button element programmatically using JavaScript. The button's value is different from its display text. The display text is what appears between the opening and closing tags, while the value is the data sent to the server during form submission. Syntax Following is the ...

Read More

HTML DOM Clipboard event

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 481 Views

The HTML DOM Clipboard event is triggered when the user performs clipboard operations such as cut, copy, or paste on web page content. These events provide information about clipboard modifications and allow developers to create more interactive and accessible web applications by responding to user clipboard actions. Syntax Following is the syntax for creating a Clipboard event − var clipboardEvent = new ClipboardEvent(type, [options]); Where type can be 'cut', 'copy', or 'paste', and the optional options parameter contains properties like clipboardData, dataType, and data. Properties Following is the main property for Clipboard ...

Read More

HTML DOM Column object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 193 Views

The HTML DOM Column object represents the HTML element in the Document Object Model. This object allows you to manipulate column properties within HTML tables programmatically. The element is used exclusively within elements to define column properties that can be applied to entire table columns at once. Syntax Following is the syntax for accessing an existing Column object − var columnElement = document.getElementById("columnId"); Following is the syntax for creating a new Column object − var newColumn = document.createElement("COL"); Properties The Column object supports the following key ...

Read More

HTML DOM console.group() Method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 215 Views

The HTML DOM console.group() method creates a collapsible group of console messages. All messages logged after calling this method appear indented under the group until console.groupEnd() is called. This helps organize related console output for better debugging and readability. Syntax Following is the syntax for the console.group() method − console.group([label]) Parameters The console.group() method accepts the following optional parameter − label − An optional string that acts as a label for the message group. If not provided, the group appears without a label. Return Value This method does ...

Read More

HTML DOM console.table() Method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 309 Views

The HTML DOM console.table() method displays data in a well-organized tabular format in the browser's console. This method is particularly useful for visualizing complex arrays, objects, or arrays of objects in a readable table structure where each element becomes a row. Syntax Following is the syntax for the console.table() method − console.table(tableData, tableColumns); Parameters The console.table() method accepts the following parameters − tableData − A required parameter representing the data to display in the table. It can be an array, object, or array of objects. tableColumns − An ...

Read More
Showing 521–530 of 6,519 articles
« Prev 1 51 52 53 54 55 652 Next »
Advertisements