In HTML, for displaying the chemistry formula in the HTML input, we are going to use the subscript and superscript tags. Let’s consider a simple example. Chemical formula of water is H2O For the above, we are going to apply the HTML superscript and subscript tags to get the output of the chemical formula as mentioned above. Chemical formula of water is H2O Let’s dive into the following article for getting the better understanding on displaying the chemistry formula in the HTML input. HTML Subscript Inline text that should be displayed as subscript purely for typographical reasons is specified ... Read More
In this tutorial, we will learn to count inversions of size three in a given array. Problem statement − We have given an array of length n containing the different numeric entries. We need to find the total number of pairs of numbers of size 3 such that arr[i] > arr[j] > arr[k], where I < j < k. Here, we will learn the brute force approach first and after that, we will optimize its time and space complexity. Using the Brute Force Approach In the brute force approach, we will use three nested for loops to find a count ... Read More
Introduction to BCSBI The Banking Codes and Standards Board of India (BCSBI) could be a voluntary, self-regulatory organization set up by the Reserve Bank of India to guarantee straightforwardness and reasonable practices within the Indian managing an account framework. BCSBI points to securing the interface of consumers of banking administrations by advancing great banking hones and guaranteeing that banks follow to built-up codes and benchmarks. It works towards upgrading client certainty and belief within the managing an account framework by settling complaints and grievances related to managing account administrations. Objectives of BCSBI The Banking Codes and Standards Board of India ... Read More
Introduction BCPL stands for "Basic Combined Programming Language." BCPL was designed as a predecessor to the C programming language and influenced its development. BCPL was designed to be a simple and efficient language suitable for systems programming, especially on limited hardware. It was used to develop the first versions of the Unix operating system and the early versions of the C compiler. Definition and Overview of BCPL Martin Richards of the University of Cambridge created the programming language known as "BCPL" (Basic Combined Programming Language) in 1966. It gained popularity fast, partly as a result of its high portability. The ... Read More
In HTML, the div tag is also known as the division tag in HTML. HTML uses the div tag to create content divisions in web pages such (text, images, header, footer, navigation bar, etc). It is required to close the div tag, which has an opening () and closing () tag. Because it makes it easier to break off material on a web page, the Div element is the most useful one in web development. Let’s dive into the article for getting better understanding on using the div to grab user’s attention without overflowing window. Using div to grab user ... Read More
In recent times, placing the anchor in the correct position on a responsive image has become more important. Because we encounter a lot of advertisements in our daily lives, if the anchor was not properly placed beneath the responsive image, it will make it more difficult for the user to understand that webpage. We are using CSS and HTML to anchor an element to the correct position on a responsive image. Before we dive into the article to gain a better understanding, let's take a quick look at anchor and image tags in HTML. Anchor tag in HTML With its ... Read More
Data URLs are a way to represent an image file in a text format. This makes it easy to transfer data between applications, as well as store the image in memory without having to write it out to disk. Drawing an image from a Data URL onto a HTML canvas is relatively straightforward and can be done with only a few lines of code. The process involves creating an Image object and setting its source attribute to the Data URL string before drawing it on the canvas using the drawImage() method. This article will provide step-by-step instructions for how to ... Read More
Introduction A Bar Code Reader (BCR) , also known as a barcode scanner, is a device that can read and decode information from a barcode. A lens, a light source, and a light sensor that converts optical signals into electrical ones make up a bar-code reader. Moreover, almost all barcode readers contain decoding hardware that examines the sensor-provided picture data of the barcode and transfers the content of the barcode to the scanner's output port. Definition of BCR A device that can read and decipher the data encoded in a barcode is referred to as a barcode reader or ... Read More
Adding and removing values on an HTML element's click event can be a useful way to interact with your web page. It is possible to do this using JavaScript, which allows you to add or remove certain values when the user clicks on a particular element. It enables developers to create interactive, user-friendly websites that can easily be manipulated by the viewer. Let’s dive into the article to get a better understanding of adding and removing value from the onclick event in HTML. Adding the value to an onclick event in HTML Before we jump into the article, let’s have ... Read More
Let's see "How to show the current year and a random 4-digit number at the same time." This can be useful for a variety of reasons, such as creating unique identifiers, tracking dates, or displaying the date in a specific format. By using some simple programming techniques, you can quickly create this effect with minimal coding knowledge. Let's explore how to do it in JavaScript. Let’s dive into the article to get a better understanding of displaying today's year and a random 4-digit number at the same time. Using JavaScript random() method The Math.random() static method provides a floating-point, pseudo-random ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP