Articles on Trending Technologies

Technical articles with clear explanations and examples

How to create table footer in HTML?

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

The task we are going to perform in this article is how to create table footer in HTML. As we are familiar with table in HTML, let's have a quick look on it. A table in HTML makes a lot of sense when you want to organize data that would look best in a spreadsheet. A table is a visual representation of rows and columns of data. You may organize data like photos, text, links, and more into rows and columns of cells in HTML by using tables. Syntax Following is the syntax for creating a table ...

Read More

Is it possible to style HTML5 audio tag?

varma
varma
Updated on 16-Mar-2026 4K+ Views

HTML5 audio tags can be styled in multiple ways. By using the audio tag with the controls attribute, the default browser player is displayed. However, you can create completely custom audio controls by removing the controls attribute and building your own interface using HTML, CSS, and JavaScript. Syntax Following is the basic syntax for the HTML5 audio element − For custom controls without the default browser interface − Play Pause Styling Default Audio Controls The default browser controls have ...

Read More

HTML cancelable Event Property

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 179 Views

The cancelable event property in HTML determines whether an event can be canceled using the preventDefault() method. It returns true if the event is cancelable and false if it cannot be canceled. This property is particularly useful when you need to check if an event's default behavior can be prevented before attempting to call preventDefault(). Syntax Following is the syntax for the cancelable event property − event.cancelable Return Value The cancelable property returns a boolean value − true − The event is cancelable and its default action can be prevented. ...

Read More

How do we include an anchor in HTML?

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

In this article, we will explore how to include anchors in HTML. An anchor is a fundamental element that creates hyperlinks, enabling navigation between web pages and sections within a page. The anchor element is used to link a source anchor to a destination anchor. The source is the text, image, or button that users click, while the destination is the resource or location being linked to. Hyperlinks are one of the key technologies that make the internet an interconnected information network. Syntax Following is the basic syntax for creating an anchor element − ...

Read More

How to programmatically empty browser cache with HTML?

usharani
usharani
Updated on 16-Mar-2026 3K+ Views

Browser caching improves website performance by storing files locally, but during development or when deploying updates, you may need to prevent caching to ensure users see the latest content. While HTML cannot directly empty the browser cache, it can control caching behavior through meta tags and cache-busting techniques. Understanding Browser Cache Control HTML provides meta tags that send HTTP headers to instruct browsers on how to handle caching. These directives tell the browser whether to cache the page, for how long, and when to revalidate the cached content. Syntax Following are the meta tags used to ...

Read More

HTML DOM PopStateEvent Object

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 200 Views

The HTML DOM PopStateEvent object represents the event that is triggered when the browser's history changes, specifically when the user navigates using the back or forward buttons, or when the history is programmatically modified using history.back(), history.forward(), or history.go(). The popstate event is fired when the active history entry changes between two different history entries for the same document. It provides access to the state data that was stored when the history entry was created using pushState() or replaceState(). Syntax Following is the syntax to handle the popstate event − window.onpopstate = function(event) { ...

Read More

How to fix getImageData() error 'The canvas has been tainted by cross-origin data' in HTML?

George John
George John
Updated on 16-Mar-2026 2K+ Views

The getImageData() error "The canvas has been tainted by cross-origin data" occurs when you try to extract pixel data from a canvas that contains images loaded from external domains without proper CORS (Cross-Origin Resource Sharing) configuration. This security restriction prevents websites from accessing image data from other domains. When a canvas is "tainted" by cross-origin content, the browser blocks methods like getImageData(), toDataURL(), and toBlob() to prevent potential security vulnerabilities. Understanding Canvas Tainting Canvas tainting happens when you draw images from external domains onto a canvas without proper CORS headers. Once tainted, the canvas becomes read-only for ...

Read More

How can I use the HTML5 canvas element in IE?

Chandu yadav
Chandu yadav
Updated on 16-Mar-2026 377 Views

The HTML5 canvas element provides a powerful way to create dynamic graphics and animations directly in the browser. However, older versions of Internet Explorer (IE6-IE8) do not natively support the canvas element. To enable canvas functionality in these browsers, you can use the excanvas JavaScript library. What is ExplorerCanvas? ExplorerCanvas (also known as excanvas) is a JavaScript library that emulates HTML5 canvas functionality in Internet Explorer versions 6, 7, and 8. While modern browsers like Firefox, Safari, Chrome, and Opera support the canvas tag natively for 2D drawing operations, ExplorerCanvas brings the same functionality to older IE browsers ...

Read More

HTML 5 local Storage size limit for sub domains

Sreemaha
Sreemaha
Updated on 16-Mar-2026 745 Views

HTML5's localStorage provides a way to store data locally in the user's browser. However, it comes with size limitations to prevent abuse and ensure browser performance. The standard size limit is typically 5 to 10 MB per origin, with most browsers implementing a 5 MB limit. Understanding Origins and Subdomains In web storage context, an origin consists of the protocol, domain, and port. Each origin gets its own separate localStorage space. Importantly, subdomains are treated as separate origins, meaning subdomain1.example.com and subdomain2.example.com each have their own 5 MB storage limit. localStorage Origins and Size ...

Read More

Using HTML5 file uploads with AJAX and jQuery

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 741 Views

HTML5 provides robust support for file uploads using AJAX and jQuery, allowing you to upload files asynchronously without page refresh. This approach uses the File API to read file contents on the client side and send them to the server via AJAX requests. Syntax Following is the basic syntax for HTML5 file input − JavaScript FileReader API syntax − var reader = new FileReader(); reader.readAsText(file, 'UTF-8'); reader.onload = function(event) { /* handle result */ }; Client-Side Implementation The client-side code captures the file upload process and uses the ...

Read More
Showing 13791–13800 of 61,297 articles
Advertisements