- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Found 10711 Articles for Web Development
3K+ Views
The process of creating web pages involves incorporating various special characters into HTML structures that have distinctive meanings. Nevertheless, some instances require designers to display symbols with speciality without browsers interpreting them as such; this is where escape characters come in handy. By using these codes correctly in an HTML block, designers can ensure proper rendering of all intended symbols on their web pages. Basic Escape Characters in HTML The escape character must be employed to escape characters within an HTML block. The escape character is denoted by the "&it" symbol, followed by a character code, and ends with another ... Read More
127 Views
HTML is a fundamental language utilized in web development for creating web pages. The readability of HTML is of great importance, not only for developers but also for users who aim to navigate and understand a web page easily. Proper Indentation How code is structured and presented is known as indentation. Appropriate indentation is crucial for enhancing the readability and comprehensibility of the code.To ensure code readability and comprehension experts advise using a consistent indentation scheme whether it be tabs or spaces. Example Title ... Read More
326 Views
In TypeScript, the Record type is a powerful tool that allows you to define an object type with specific keys and corresponding value types. This tutorial will guide you through the fundamentals of using the Record type, providing syntax explanations and practical examples along the way. Whether you're a beginner or already familiar with TypeScript, this tutorial will help you understand how to leverage the Record type effectively in your projects. Syntax The syntax to create a Record type in TypeScript is straightforward. The type definition starts with the keyword Record, followed by angle brackets () containing the key and ... Read More
478 Views
The user’s history of visited web pages is represented via the window.history object. A history of the pages that have been loaded is stored in an array called the history object. The history object only provides a finite amount of information. The history object only has a few properties and methods since it is impossible to know where the current URL is located within the history object. The previous URL in the history list is loaded using the history.back() method. The second method of history is the forward() method, which loads the following URL in the history list. It is ... Read More
934 Views
Introduction When working on TypeScript projects, organizing and managing module dependencies is essential for maintaining a clean and scalable codebase. Absolute imports offer a convenient way to reference modules using a fixed path relative to the project's root directory. However, configuring and fixing absolute imports can sometimes be challenging, especially for beginners. In this tutorial, we will explore various scenarios where absolute imports may encounter issues and discuss practical solutions to resolve them. By the end, you'll understand how to fix absolute import problems in TypeScript effectively. Scenario 1: Missing TypeScript Configuration Before utilizing absolute imports, we must ensure that ... Read More
198 Views
In TypeScript, interfaces provide a powerful way to define the shape of objects and enforce type constraints. They allow us to specify the required properties and methods that an object must have. One interesting feature of interfaces is the ability to extend them, allowing us to create a combination of interfaces. In this tutorial, we will explore how to extend interfaces to create new ones that inherit properties and methods from existing interfaces. Syntax interface NewInterface extends ExistingInterface { // Additional properties and methods } interface NewInterface extends Interface1, Interface2, ... { // ... Read More
88 Views
An advanced mobile framework called jQuery Mobile makes it simple for developers to build applications and webpages that are optimized for mobile devices. This framework's capability to generate buttons with various themes is only one of its many advantages. We must follow some predefined steps to implement jquery theme buttons in our code. Following steps explain the whole process for adding theme buttons to any webpage. Downloading and installing the framework is the first and most important thing to do. The Jquery mobile library helps in utilizing its features to create various themes for buttons. The official website ... Read More
278 Views
Regular polygons, such as squares, triangles, and hexagons, are fundamental shapes used in various applications and graphics. Drawing regular polygons programmatically can be useful in TypeScript, allowing you to create geometric shapes dynamically. In this tutorial, we will explore how to draw regular polygons in TypeScript by leveraging basic mathematical principles and the HTML5 canvas element. Syntax function drawRegularPolygon(ctx: CanvasRenderingContext2D, n: number, x: number, y: number, r: number): void { const angle = (Math.PI * 2) / n; ctx.beginPath(); ctx.moveTo(x + r, y); for (let i = 1; i
702 Views
As the web is evolving, fabricating beautiful UI is one of the most important jobs to increase customer engagement on websites. One of such ways to improve the look and feel of the frontend is by applying gradient shadow in CSS. Two of the most important ways to apply gradient shadows are linear gradient and radial gradient. Gradient Shadows can be used to get user attention for a specific piece of information, apply hover or focus effects, or provide Web3 look and feel to the website. In this tutorial we are going to analyze both kinds of gradient shadows with ... Read More
562 Views
Object-oriented programming (OOP) is a popular programming paradigm that has been widely adopted in the software development industry. OOP is based on the concept of objects, which are instances of classes that encapsulate data and behaviour. TypeScript, a statically typed superset of JavaScript, is designed to support the development of large-scale applications and is also an object-oriented programming language. In this article, we will explore the object-oriented terms supported by TypeScript. Below we discuss various object-oriented terms supported by TypeScript. Class In TypeScript, a class is a blueprint for creating objects that define a set of properties and methods that ... Read More