Arjun Thakur

Arjun Thakur

749 Articles Published

Articles by Arjun Thakur

Page 16 of 75

Positive Acknowledgement with Retransmission (PAR)

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 3K+ Views

Positive Acknowledgement with Retransmission (PAR) is a group of error-control protocols for transmission of data over noisy or unreliable communication networks. These protocols reside in the Data Link Layer and Transport Layer of the OSI model. They provide automatic retransmission of frames that are corrupted or lost during transit. PAR is also called Automatic Repeat Request (ARQ). PAR protocols are used to provide reliable transmissions over unreliable network services. They are commonly implemented in wireless communication systems like GSM networks, where signal interference and packet loss are frequent challenges. Working Principle In PAR protocols, the receiver sends ...

Read More

How to use datetime input type in HTML?

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 29K+ Views

The datetime-local input type in HTML allows users to select both date and time using a built-in date and time picker. This input type creates a form control that displays a calendar and time selector when clicked, making it easy for users to enter accurate date-time values. Syntax Following is the syntax for the datetime-local input type − The value format follows the ISO 8601 standard: YYYY-MM-DDTHH:MM where the T separates the date and time components. Basic Example Following example demonstrates how to use the datetime-local input type in a form ...

Read More

Execute a script when the file is unavailable in HTML?

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

The onemptied attribute in HTML is an event handler that executes JavaScript code when a media element (audio or video) becomes unavailable or empty. This event typically occurs when the media file cannot be loaded, the playlist becomes empty, or the media source is removed during playback. Syntax Following is the syntax for the onemptied attribute − The script parameter contains JavaScript code or a function call that executes when the emptied event is triggered. When the Emptied Event Occurs The emptied event is fired in the following scenarios − ...

Read More

HTML DOM Anchor protocol Property

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

The HTML DOM Anchor protocol property sets or returns the protocol portion of a URL in an anchor element's href attribute. The protocol identifies the scheme used to access the resource, such as http:, https:, ftp:, or file:. Syntax Following is the syntax to set the protocol property − anchorObject.protocol = "protocol:" Following is the syntax to return the protocol property − anchorObject.protocol Parameters The protocol property accepts a string value representing the URL protocol, including the colon (:). Common values include − http: − Standard web ...

Read More

How to automatically redirect your visitors to your new home page?

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 2K+ Views

Page redirection is a situation where you click a URL to reach a page X but are internally directed to another page Y. This happens due to page redirection setup by the website developer. HTML provides a simple way to automatically redirect visitors from one page to another using the META tag. To redirect from an HTML page, use the META tag with the http-equiv attribute. The http-equiv attribute provides an HTTP header for the value of the content attribute. The value in the content is the number of seconds you want the page to wait before redirecting. ...

Read More

HTML width Attribute

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

The width attribute in HTML is specifically used with the element to control the display width of image-based submit buttons. This attribute allows you to resize images used as form submission buttons without affecting their original file dimensions. Syntax Following is the syntax for using the width attribute with input elements − Here, width represents the desired width in pixels. The height attribute is often used together to maintain proper image proportions. How It Works The width attribute is only applicable to elements. When you specify a width value, ...

Read More

HTML cite Attribute

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

The cite attribute in HTML is used to specify the URL or source of a quoted text, citation, or reference. It provides metadata about the source of the content, making it valuable for accessibility tools like screen readers and search engines, even though the URL itself is not visually displayed on the webpage. Syntax Following is the syntax for the cite attribute − quoted text quoted content deleted text inserted text Where URL is the web address or document reference that serves as the source of the quoted, deleted, or inserted content. Elements ...

Read More

HTML autofocus Attribute

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

The autofocus attribute in HTML automatically sets focus to a form element when the page loads. This attribute causes the browser to immediately place the cursor in the specified element, making it ready for user input without requiring a mouse click or tab navigation. The autofocus attribute is a boolean attribute introduced in HTML5 and can be used with various form elements including , , , and . Syntax Following is the syntax for the autofocus attribute − The autofocus attribute can also be written as − ...

Read More

Maximum size of a element in HTML

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 2K+ Views

The HTML5 element allows you to draw graphics dynamically using JavaScript. However, all web browsers impose limits on the canvas element's maximum width, height, and total area to prevent memory issues and ensure stable performance. Browser-Specific Canvas Size Limits Different browsers have varying maximum size restrictions for canvas elements. Understanding these limits is crucial when developing graphics-intensive web applications. Browser Maximum Width/Height Maximum Area Google Chrome 32, 767 pixels 268, 435, 456 pixels Mozilla Firefox 32, 767 pixels 472, 907, 776 pixels Internet Explorer 8, ...

Read More

HTML cancelable Event Property

Arjun Thakur
Arjun Thakur
Updated on 16-Mar-2026 178 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
Showing 151–160 of 749 articles
« Prev 1 14 15 16 17 18 75 Next »
Advertisements