
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 2202 Articles for HTML

4K+ Views
A contact form is a great way to allow users to reach out to you directly through your website. Contact forms are a crucial aspect of any website, as they allow visitors to get in touch with the website owner. A contact form on website provides an easy way for visitors to ask questions, make inquiries, or provide feedback. In this tutorial, we will be discussing how to create a simple contact form using HTML, CSS, and PHP. Step 1: Create the HTML Form The first step in creating a contact form is to create its structure using HTML. In ... Read More

1K+ Views
HTML is used to create web pages. In every new release of HTML, developers make some changes and add unique features. Here, we will discuss that unknown features by most developers who can help developers improve web pages. Here, we have explained the top 5 HTML tricks with examples. Color Picker in HTML We can create a color picker in HTML using the tag. It allows us to pick up any colour by clicking on the colour or adding RGB values. Syntax Users can follow the syntax below to create a color picker using HTML. In the ... Read More

1K+ Views
There are several JavaScript methods we can use to retrieve the value of the text input field. We may access or set the value of the text input field inside the script by using the jQuery .val() method. The task we are going to perform in this article is calculating HTML input values and showing them directly using JQuery. Let’s dive into the article for a better understanding. Using JQuery val() method To retrieve the values of form components like input, select, and textarea, utilize the .val() function. It returns undefined when called on a collection that is empty. Syntax ... Read More

186 Views
This article shows how to add an HTML element in between two existing elements. This is a common task when creating webpages, and can be achieved with a few simple steps. We will be using the JavaScript API to access and manipulate the elements on our webpage. The task we are going to perform in this article is adding an HTML element, starting after one and finishing before another one. For this, we are going to use insertBefore() method. Using insertBefore() method The Node interface's insertBefore() method places a node as a child of a given parent node ahead of ... Read More

10K+ Views
This can be done by using the JavaScript method JSON.parse() to parse through the JSON file and extract the URL of the desired image. Then, an HTML img tag can be created with a source attribute set to this URL. Finally, this img tag can be appended to an existing HTML element in order to display it on your page. This will require some knowledge of basic JavaScript syntax, as well as familiarity with how JSON is structured and parsed within it. With these skills in hand, you should have no trouble modifying your code to achieve your goal! Let’s ... Read More

25K+ Views
To create a text inside a box using HTML and CSS, we will be understanding most commonly used approaches in this article. We are having a element, inside that element we will have element. We need to to place some charecter of the p element inside a box, or create a border surrounded those charecters. Approaches to Create a Text Inside a Box Using span element with CSS Using CSS flexbox Creating a Text inside a Box Using span Element To create a text inside a box using ... Read More

276 Views
In this article, we are going to learn how to match the width of text to the width of a dynamically sized image or title. Let's get into the article to learn more about matching the width of text to the width of an image. Matching width of text to width of image To insert an image inside a webpage or website, use the HTML tag. In modern websites, images are linked to web pages using the element, which contains space for the image. This prevents websites from directly adding images to web pages. Syntax Following is the ... Read More

2K+ Views
The act of extracting text from an HTML file is essentially equivalent to copying and pasting website content onto a notepad. It might sound easy, but it wouldn't be as enjoyable if you had to extract text from millions of HTML files (webpages). Let's dive into the article for getting better understanding on extracting text from a HTML tag in text format. Extracting text from HTML tag Numerous elements in HTML can be used to give text a specific meaning. For getting more idea on extracting text from a HTML tag in text format, let's look into the following examples. ... Read More

2K+ Views
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

130 Views
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