Articles on Trending Technologies

Technical articles with clear explanations and examples

How to create bullets using li elements?

Jaisshree
Jaisshree
Updated on 16-Mar-2026 413 Views

The element is used to define list items within an ordered list () or an unordered list (). The element stands for "list item". Bullets are most commonly used with unordered lists to create visual markers for each item, making content easier to read and organize. Syntax Following is the basic syntax for creating bulleted lists using elements − First item Second item Third item The CSS list-style-type property controls the bullet appearance − ul { ...

Read More

HTML DOM Input Time disabled Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 208 Views

The HTML DOM Input Time disabled property sets or returns whether a time input field is enabled or disabled. When an input time element is disabled, it becomes non-editable and appears grayed out, preventing user interaction. Syntax Following is the syntax for returning the disabled property − inputTimeObject.disabled Following is the syntax for setting the disabled property − inputTimeObject.disabled = booleanValue Parameters Here, booleanValue can be one of the following − Value Description true Disables the input time element (non-editable, grayed ...

Read More

HTML DOM Input Password required property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 257 Views

The HTML DOM Input Password required property is associated with the required attribute of an element with type="password". This property sets or returns whether a password field must be filled before form submission. When set to true, the browser prevents form submission if the password field is empty and displays a validation message. Syntax Following is the syntax for setting the required property − passwordObject.required = true|false Following is the syntax for getting the required property − var isRequired = passwordObject.required; Parameters The required property accepts the following ...

Read More

Why doesn't height: 100% work to expand divs to the screen height?

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 386 Views

The height: 100% property in CSS doesn't work as expected for expanding divs to screen height because percentage heights depend on the parent element's height. If the parent doesn't have an explicit height, the percentage calculation fails, and the element won't expand to full screen height. Why height: 100% Fails When you set height: 100% on a div, the browser looks for the parent element's height to calculate the percentage. If the parent element (like or ) doesn't have a defined height, the percentage has no reference point and defaults to the content height instead of the ...

Read More

Can I pass a value from one HTML page to another HTML page without passing it in URL?

Ayush Singh
Ayush Singh
Updated on 16-Mar-2026 6K+ Views

Yes, you can pass values from one HTML page to another without exposing them in the URL. While HTML itself is a static markup language without native data transmission capabilities, JavaScript and server-side technologies provide several methods to share data between pages securely and efficiently. Available Methods The following techniques allow data transfer between HTML pages without URL parameters − Local Storage − Browser-based storage that persists data across sessions Session Storage − Temporary storage that lasts only for the current session Cookies − Small data files stored in the browser Form Submission with Hidden Fields ...

Read More

HTML DOM Input Time form Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 213 Views

The HTML DOM Input Time form property returns a reference to the form element that contains the input time field. This property is read-only and provides access to the parent form object, allowing you to retrieve form attributes like ID, name, or other form-related properties. Syntax Following is the syntax for accessing the form property − inputTimeObject.form Return Value The form property returns a reference to the HTMLFormElement object that contains the input time element. If the input time element is not inside a form, it returns null. Example − Getting Form ...

Read More

Create A Form Using HTML Tables?

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 10K+ Views

Creating forms using HTML tables was a common practice before CSS became widely adopted. While modern web development favors CSS-based layouts, understanding table-based forms is still valuable for maintaining legacy code and certain specific use cases. Syntax Following is the basic syntax for creating a form using HTML tables − Label: ...

Read More

Can you copy HTML code from a website?

Ayush Singh
Ayush Singh
Updated on 16-Mar-2026 9K+ Views

Yes, you can copy HTML code from a website using various browser tools and online services. Modern web browsers provide built-in features like "Inspect Element" and "View Page Source" that allow you to examine and copy the HTML structure of any webpage. However, it's essential to respect copyright laws and intellectual property rights when using copied HTML code, especially for commercial purposes. Methods to Copy HTML Code There are several effective methods to copy HTML code from websites − Using Browser's Inspect Element − Right-click on any element and select "Inspect" to view and copy specific ...

Read More

HTML DOM Input Time max Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 239 Views

The HTML DOM Input Time max property sets or returns the value of the max attribute of a time input field. This property defines the maximum time value that a user can enter in the time input field. Syntax Following is the syntax for returning the max property value − inputTimeObject.max Following is the syntax for setting the max property value − inputTimeObject.max = "hh:mm:ss.ms" Property Values The max property accepts a string value representing time in the format hh:mm:ss.ms. Here are the components − ...

Read More

How to set date and time when the text was deleted using HTML?

Shabaz Alam
Shabaz Alam
Updated on 16-Mar-2026 301 Views

When creating web content, it's common to update text by removing outdated or incorrect information. HTML provides semantic elements to mark these changes while preserving a record of when modifications occurred. The del element and time element are the primary methods for tracking text deletions with timestamps. Syntax Following is the syntax for marking deleted text with a timestamp − deleted content The datetime attribute follows the ISO 8601 format, which includes date, time, and optionally timezone information. Following is the syntax for using the time element to display deletion timestamps − ...

Read More
Showing 13061–13070 of 61,298 articles
Advertisements