Front End Technology Articles

Page 26 of 652

HTML DOM Window opener Property

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 757 Views

The HTML DOM Window opener property returns a reference to the parent window that opened the current window using the window.open() method. This property allows communication between parent and child windows, enabling the child window to access and manipulate elements in its parent window. Syntax Following is the syntax for accessing the opener property − window.opener Return Value The opener property returns − A reference to the parent window object if the current window was opened by another window using window.open(). null if the window was opened directly by the user ...

Read More

How to disable autocomplete of an HTML input field?

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 462 Views

The autocomplete attribute in HTML controls whether the browser should automatically fill in form field values based on previously entered data. Setting autocomplete="off" disables this feature for enhanced privacy and security, particularly useful for sensitive fields like passwords or personal information. Syntax Following is the syntax for disabling autocomplete on an input field − To enable autocomplete explicitly − You can also disable autocomplete for an entire form − Disabling Autocomplete for Individual Fields The most common ...

Read More

How to turn off spell checking (grammar correction) for HTML form elements?

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 209 Views

The spellcheck attribute in HTML controls whether the browser's spell checking feature is enabled or disabled for text input fields. By default, most browsers enable spell checking on text inputs and textareas, showing red underlines for misspelled words. Syntax Following is the syntax for the spellcheck attribute − The spellcheck attribute accepts three values − true − Enables spell checking for the element false − Disables spell checking for the element default − Uses the browser's default spell check behavior Disabling Spell Check To disable spell checking ...

Read More

How to create a download link with HTML?

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 891 Views

To create a download link with HTML, you use the tag with the download attribute. This attribute forces the browser to download the linked file instead of navigating to it. The download attribute works for same-origin URLs and can specify a custom filename for the downloaded file. Syntax Following is the basic syntax for creating a download link − Download Text To specify a custom filename for the download − Download Text Basic Download Link The simplest download link uses just the download attribute without a value. The ...

Read More

Difference Between HTML and ASP.

Nitin Sharma
Nitin Sharma
Updated on 16-Mar-2026 2K+ Views

Both HTML and ASP are web development technologies widely used for creating web pages and applications. HTML focuses on structuring and presenting content in web browsers, while ASP enables server-side processing to create dynamic, interactive web applications. Understanding the fundamental differences between these technologies is essential for web developers to choose the right approach for their projects. What is HTML? HTML (HyperText Markup Language) is a client-side markup language used to create the structure and content of web pages. The term "HyperText" refers to hyperlinks that connect web pages, while "Markup Language" describes how tags define page ...

Read More

Difference Between XML and HTML

AmitDiwan
AmitDiwan
Updated on 16-Mar-2026 979 Views

In web development, HTML and XML are both markup languages that use tags to structure information, but they serve fundamentally different purposes. HTML is designed for displaying web pages in browsers, while XML is designed for storing and transporting data in a structured format. HTML Overview HTML (HyperText Markup Language) is the standard markup language for creating web pages and web applications. It uses predefined tags to structure content and define how it should be displayed in web browsers. Key Features of HTML Display-focused − Designed to present data visually in web browsers Predefined tags ...

Read More

Difference Between GET and POST Method in HTML

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

In HTML forms, the GET and POST methods determine how data is sent from the client to the server. The GET method appends form data to the URL as query parameters, while the POST method sends data in the request body. Understanding their differences is crucial for proper form handling and web security. Syntax Following is the syntax for using the GET method in HTML forms − Following is the syntax for using the POST method in HTML forms − ...

Read More

POST unchecked HTML checkboxes

Shubham Vora
Shubham Vora
Updated on 16-Mar-2026 5K+ Views

In HTML forms, checkboxes that are unchecked are not included in form submissions by default. This can create issues when you need to track the state of all checkboxes, not just the ones that are checked. This tutorial demonstrates how to POST unchecked HTML checkboxes to ensure complete form data is sent to the server. HTML forms typically send only data from checked checkboxes when using POST or GET methods. Unchecked checkboxes are omitted entirely from the submitted data, making it impossible for the server to distinguish between an unchecked checkbox and a checkbox that doesn't exist. This behavior ...

Read More

How to add a file uploads function to a webpage in HTML?

Diksha Patro
Diksha Patro
Updated on 16-Mar-2026 4K+ Views

File uploads are essential for modern web applications, allowing users to share documents, images, and other files. In HTML, file uploads are implemented using the element combined with form handling. This functionality requires both client-side HTML forms and server-side processing to securely store uploaded files. Syntax Following is the basic syntax for creating a file upload form in HTML − The key attributes are − method="post" − File uploads require POST method enctype="multipart/form-data" − Essential encoding type for file uploads action ...

Read More

How to add horizontal line in HTML?

Diksha Patro
Diksha Patro
Updated on 16-Mar-2026 5K+ Views

In this article, we will show you how to add a horizontal line to your webpage using HTML. A horizontal line, also known as a horizontal rule, is a way to separate content on a webpage and can be used for visual appeal or to indicate a change in content. There are multiple ways to add a horizontal line to your webpage in HTML, but the most common approach is by using the tag. The tag is a self-closing tag that creates a horizontal line on the webpage. This approach is simple and straightforward, and it requires ...

Read More
Showing 251–260 of 6,519 articles
« Prev 1 24 25 26 27 28 652 Next »
Advertisements