- 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
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
8K+ Views
The href attribute specifies the link’s destination, which can be a URL or an anchor point within the same document. Changing the attribute value of href which allows us to dynamically update the destination of the link, which can be useful in a variety of situations. Generally, the tag is used to create a hyperlink in HTML. stands for anchor tag, and it is used to link the other web pages or to specify the exact locations within the same page. On the other side, the href attribute is used to specify the link’s destination, which can be ... Read More
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
808 Views
Using JavaScript is one of the most famous ways to change the font-weight of any text on your webpage. We can build interactive applications using JavaScript with HTML elements. Font weight refers to the boldness or thinness of the characters. In this article, we will see how we can change the font-weight of a text using JavaScript. Using the Style fontWeight Property Let us see how can we change the font weight of a single element, such as a paragraph or a heading. To do this, we will use the ‘style.fontWeight’ property of the element. This property is an object ... Read More
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
876 Views
We can use onmouseover, onmouseout events to set or change the cursor into the state of waiting. In JavaScript, we have different types of mouse events which performs the different functionalities on mouse. Let us see some of the mouse events. onmousedown − These event is occurred when a mouse button is pressed over an HTML element onmouseenter − It occurs when a pointer is moved out of an element onmousemove − These event is occurred when the pointer is moving over an HTML element onmouseout − It occurs when the pointer leaves the element onmouseover − When the ... Read More
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
5K+ Views
We can use the style fontFamily property to change font style using drop-down list in JavaScript. To make the font change effective using the drop-down list, we can use onchange event when an option is selected in the drop down list. Before we move further, let us know in detail about the drop-down list. A drop-down list is a switchable menu which enables the user to select the one item from a various option. These options can be defined using the HTML code, which are connected to a function. These functions are triggered and starts operating whenever you click or ... Read More
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
2K+ Views
The style.border property is used to change the element’s border, and it returns the three border-bottom properties, i.e., border-color, border-style, and border-width of the element. It is one of the HTML Style Object properties. We use onchange event to make changes effective after filling the box. The onchange is one of the JavaScript attribute and it occurs when the value of an HTML element is changed. It also works with the radio buttons and checkboxes, when the checked state is changed. The onchange event can also work with the HTML element. The onchange event is quite similar to the ... Read More
![Gungi Mahesh](https://www.tutorialspoint.com/assets/profiles/605414/profile/60_863133-1676974345.jpg)
16K+ Views
The style.backgroundColor property is used to change the element color, and it returns the string value, which represents the color of the background. Transparent is the default value of these color property. Here we use the onclick event to make changes effective after clicking the button. As we know, the onclick event occurs only when a user clicks the elements and it is a purely JavaScript attribute. Whenever you click on the onclick event it does some actions like displaying a message or redirects the user another page. The onclick event must be used very less in the website, because ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
1K+ Views
In this tutorial, we will learn the fastest way to convert JavaScript NodeList to Array. NodeList is a similar structure to an array; it is a collection of DOM (Document Object Model) elements. However, array methods like ‘map( )’, ‘filter( )’, and ‘slice( )’ cannot be used on NodeList objects. There are so many ways to convert NodeList to Array, but this task can be done faster using these two ways − By iterating for loop Using Array.from( ) function By iterating for loop In JavaScript, we can use for loop to iterate over the NodeList to get ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
832 Views
In this tutorial, we will learn to create an explosion animation effect using canvas in HTML. Using canvas, we can draw graphics on a web page in an easy and powerful way. Let’s see some examples of creating explosion animation in canvas. Explosion Animation 1 We will create an explosion of 50 randomly colored particles that originate from the center of the canvas and move in random directions. The particles will continue to move until the page is refreshed. Algorithm Step 1 − Create an HTML canvas element with an id of "explosion" and set its dimensions to 400x400 ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
1K+ Views
We will learn about the V8 engine, Node.js, and the connection between V8 and Node.js. Overview of V8 JavaScript Engine V8 is a high-performance JavaScript engine developed by Google and used in Google Chrome, the open-source browser from Google. It was designed to improve the performance of web applications by compiling JavaScript into native machine code rather than interpreting it, which makes it faster. V8 is C++ based open source JavaScript engine. It runs on various platforms, like Linux, Windows, and macOS. It has features like just-in-time (JIT) compilation, garbage collection, and support for modern JavaScript features such as classes, ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
1K+ Views
We can use cookies to store the user information on the client side in the web browser. For example, whenever a user opens any website in the browser, it requests some information to the server, and once the client gets the information, it stores it in the browser with the expiry time. It makes the website faster for users, as it doesn’t need to request the server for information every time users come back to the site. However, once cookies expire, the client requests the server again for that information. In this tutorial, we will learn about the express cookie-parse ... Read More