Articles on Trending Technologies

Technical articles with clear explanations and examples

How create table without using tag?

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

A website's data representation is an essential component. If you have or manage a lot of data but don't know how to properly display it, users will not be able to understand it and it won't be of any use. Tabular representation is frequently a crucial kind of data presentation, particularly when it comes to statistical information. Tables are typically constructed in web design using the tag, but creating responsive tables can be challenging with traditional table markup. This article explores how to create table-like structures without using the tag. This can be achieved using HTML ...

Read More

HTML isTrusted Event Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 189 Views

The isTrusted event property is a read-only boolean property that indicates whether an event was triggered by a user action or programmatically by a script. This property is crucial for security purposes, allowing developers to distinguish between genuine user interactions and automated script-generated events. When an event is triggered by genuine user actions like clicks, keystrokes, or mouse movements, the isTrusted property returns true. However, when the same event is generated programmatically using JavaScript methods like click(), dispatchEvent(), or similar functions, it returns false. Syntax Following is the syntax to access the isTrusted property from an event ...

Read More

HTML oninput Event Attribute

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 427 Views

The oninput event attribute in HTML is triggered when the user enters or modifies input in form elements such as , , and elements. Unlike onchange, which fires only when the element loses focus, oninput fires immediately as the user types or modifies content. Syntax Following is the syntax for the oninput event attribute − Where script is the JavaScript code or function to execute when the input event occurs. Using oninput with Textarea The oninput event is commonly used with elements to provide real-time feedback as users type. ...

Read More

HTML DOM Video height Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 189 Views

The HTML DOM Video height property gets or sets the height of a video element in pixels. This property corresponds to the height attribute of the element and allows dynamic resizing of video content through JavaScript. Syntax Following is the syntax for getting the height property − mediaObject.height Following is the syntax for setting the height property − mediaObject.height = number Parameters The height property accepts the following parameter − number − A numeric value representing the height of the video element in pixels. The value ...

Read More

How to Display the Chemistry Formula in the HTML Input?

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

In HTML, displaying chemistry formulas requires the use of subscript and superscript tags to properly represent chemical notation. The tag displays text below the baseline for elements like H2O, while the tag displays text above the baseline for charges like Ca2+. Syntax Following is the syntax for subscript text − subscript text Following is the syntax for superscript text − superscript text HTML Subscript The HTML element specifies inline text that should be displayed as subscript for typographical reasons. Subscripts appear with a smaller font size ...

Read More

HTML DOM Fieldset Object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 217 Views

The HTML DOM Fieldset object represents the HTML element, which groups related form controls and labels. This object provides properties and methods to dynamically create, access, and manipulate fieldset elements using JavaScript. The element is commonly used to group form inputs, checkboxes, radio buttons, and other controls together with an optional element that provides a caption for the group. Syntax Following is the syntax for creating a fieldset element using JavaScript − var fieldsetElement = document.createElement("FIELDSET"); To access an existing fieldset element by its ID − var fieldsetElement ...

Read More

HTML DOM Table caption Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 207 Views

The HTML DOM table caption property is used to get or set the caption of an HTML table element. The caption provides a title or description for the table content and is typically displayed above the table. Syntax Following is the syntax for getting the caption property − tableObject.caption Following is the syntax for setting the caption property − tableObject.caption = captionObject Property Values The caption property accepts the following values − captionObject − A reference to the caption element object, or null if no caption exists. ...

Read More

HTML oninvalid Event Attribute

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 327 Views

The HTML oninvalid event attribute is triggered when an input field fails validation while submitting a form. This event occurs when form elements with validation constraints (like required, pattern, or type-specific validation) contain invalid data. Syntax Following is the syntax for the oninvalid event attribute − The script parameter contains JavaScript code that executes when the element becomes invalid during form submission. How It Works The oninvalid event fires when: A required field is empty during form submission An input value doesn't match the specified pattern An email input ...

Read More

How to add sub heading using HTML?

Shabaz Alam
Shabaz Alam
Updated on 16-Mar-2026 6K+ Views

A subheading is a text element used to organize and structure content on a webpage. Subheadings break up large blocks of text and provide a clear hierarchy of information for users. In HTML, subheadings are primarily created using heading tags , , , , or , with being the main heading and being the lowest level subheading. Syntax Following is the basic syntax for creating subheadings in HTML − Subheading Level 2 Subheading Level 3 Subheading Level 4 Subheading Level 5 Subheading Level 6 The heading tags create a semantic hierarchy where ...

Read More

HTML DOM Video load( ) Method

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 248 Views

The HTML DOM Video load() method is used to reload the video element after modifying its attributes such as the src or playback settings. When properties like defaultPlaybackRate, src, or video sources are changed, calling load() re-initializes the video element to apply these changes. Syntax Following is the syntax for the Video load() method − videoObject.load() Parameters The load() method takes no parameters. Return Value The method does not return any value. It simply reloads the video element with the updated attributes. When to Use load() Method The load() ...

Read More
Showing 13231–13240 of 61,297 articles
Advertisements