Web Development Articles

Found 8,010 articles

How to call a function inside a jQuery plugin from outside?

Amit D
Amit D
Updated on 24-Mar-2026 996 Views

When building jQuery plugins, you often need to expose internal methods so they can be called from outside the plugin. This is achieved by returning an object containing the methods you want to make publicly accessible. Basic Plugin Structure A jQuery plugin that exposes methods typically follows this pattern − it returns an object with the functions you want to access externally ? $.fn.pluginName = function(options) { var settings = $.extend({ // default options }, options); ...

Read More

Adding an element at a given position of the array in Javascript

Lokesh Badavath
Lokesh Badavath
Updated on 18-Mar-2026 628 Views

In this article, we are going to learn how to add an element at a given position of the array in JavaScript. An array is a special variable that can hold more than one value. JavaScript provides several ways to insert an element at a specific index, including the built-in splice() method and the spread operator approach. Syntax The most common way to insert an element at a given position is using the splice() method − array.splice(index, 0, element); Here, index is the position where the element should be inserted, 0 means no elements ...

Read More

UInt16.CompareTo() Method in C# with Examples

AmitDiwan
AmitDiwan
Updated on 17-Mar-2026 236 Views

The UInt16.CompareTo() method in C# is used to compare the current instance to a specified object or UInt16 and returns an indication of their relative values. This method is essential for sorting operations and conditional comparisons involving unsigned 16-bit integers. Syntax The UInt16.CompareTo() method has two overloads − public int CompareTo(object val); public int CompareTo(ushort val); Parameters val − In the first overload, it is an object to compare. In the second overload, it is an unsigned 16-bit integer to compare. Return Value The method returns an ...

Read More

How Web Works?

Satish Kumar
Satish Kumar
Updated on 16-Mar-2026 1K+ Views

The World Wide Web (also known as the "web") is a global network of interconnected documents and other resources, linked by hyperlinks and URLs. It is a platform that allows people to access and share information, communicate with one another, and conduct business online. The web is built on top of the Internet, which is a global network of computers that are connected to each other and can communicate with one another. The Internet allows computers to send and receive data, such as emails, files, and web pages, to and from one another. The web was invented in ...

Read More

World Wide Web Consortium (W3C)

Satish Kumar
Satish Kumar
Updated on 16-Mar-2026 4K+ Views

The World Wide Web Consortium (W3C) is an international organization that develops standards for the World Wide Web. It was founded in 1994 by Tim Berners-Lee, the inventor of the Web, with the goal of ensuring that the Web remains a free and open platform for communication and innovation. The W3C works to develop and promote standards that ensure the long-term growth of the Web. It is made up of member organizations, including governments, companies, and research institutions, that contribute their expertise and resources to the development of Web standards. W3C Standards Development Process ...

Read More

What is Web Architecture?

Satish Kumar
Satish Kumar
Updated on 16-Mar-2026 32K+ Views

Web architecture refers to the structural framework and design principles that define how web applications are organized, implemented, and deployed. It encompasses the technologies, protocols, and components that work together to deliver web content and functionality to users across the internet. At its core, web architecture involves the strategic arrangement of client-side and server-side components, data flow patterns, and communication protocols such as HTTP/HTTPS. It determines how users interact with web applications, how data is processed and stored, and how different system components communicate with each other. Web Architecture Overview ...

Read More

The URL Schemes

Satish Kumar
Satish Kumar
Updated on 16-Mar-2026 4K+ Views

A URL (Uniform Resource Locator) is a string of characters that specifies the location of a resource on the internet. URL schemes define the protocol used to access different types of resources, determining how browsers and applications interact with various services. URL schemes follow the format scheme:// followed by the resource location. Each scheme has specific rules and behaviors for accessing its corresponding resource type. Common URL Schemes HTTP HTTPS FTP FILE ...

Read More

Static Web Pages

Satish Kumar
Satish Kumar
Updated on 16-Mar-2026 4K+ Views

A static web page is an HTML document that displays the same content to every visitor, regardless of when or how they access it. Unlike dynamic pages, static pages contain fixed content that doesn't change based on user interactions, database queries, or server-side processing. Static web pages are created using HTML, CSS, and sometimes JavaScript for basic client-side functionality. They are stored as files on a web server and delivered directly to users' browsers without any server-side processing or database interaction. Static Web Page Architecture ...

Read More

How to remove the space between inline/inline-block elements in HTML?

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

When using inline-block elements in HTML, unwanted whitespace often appears between them due to how browsers render whitespace in the HTML markup. This space comes from line breaks, spaces, and tabs between elements in your HTML code. There are several effective methods to remove this spacing. Understanding the Problem The space between inline-block elements occurs because browsers treat whitespace characters (spaces, tabs, line breaks) in HTML as actual content. When elements are displayed as inline-block, this whitespace becomes visible as gaps between the elements. Example − Inline-block Elements with Space Let us first see how the ...

Read More

How can I vertically align elements in a div?

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

Vertically aligning elements within a div is a common requirement in web development. There are several effective methods to achieve perfect vertical alignment, each suitable for different scenarios and content types. Methods for Vertical Alignment We can vertically align elements in a div using any of the following approaches − Flexbox − Modern and most flexible approach Position property − Traditional method with absolute positioning Line-height property − Best for single-line text content Padding property − Simple method using equal top and bottom padding CSS Grid − Powerful layout method for complex alignments Using ...

Read More
Showing 1–10 of 8,010 articles
« Prev 1 2 3 4 5 801 Next »
Advertisements