- 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
![Prabhas](https://www.tutorialspoint.com/assets/profiles/13554/profile/60_90506-1512543588.jpg)
3K+ Views
The standard JavaScript alert box won’t work if you want to customize it. For that, we have a custom alert box, which we’re creating using jQuery and styled with CSS.ExampleYou can try to run the following code to create an alert box with 3 buttons i.e Yes, No and Cancel. function functionConfirm(msg, myYes, myNo, cancel) { var confirmBox = $("#confirm"); confirmBox.find(".message").text(msg); confirmBox.find(".yes, .no, .cancel").unbind().click(function() { ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
5K+ Views
In this tutorial, we will learn to check if a variable is an integer in JavaScript. Before we solve the problem, we must have a problem. We can ask ourselves, “why do we need to check if the variable is an integer?”. Let’s understand the answer using a single example. Suppose, we are taking the value from the user using the input text box. It returns the values in the string format, and now think that we are adding values. Will we get the correct result? Obviously, not. So, in such cases, we need to check if the variable is ... Read More
![Arpit Anand](https://www.tutorialspoint.com/articles/images/user_icon.png)
7K+ Views
The standard alert box in JavaScript does not provide the option to apply CSS. To style your alert box, you need to create a custom one first. The custom alert box will be created using jQuery and styles will be applied to CSS.ExampleYou can try to run the following code to learn how to create and apply CSS to alert box −Live Demo function functionAlert(msg, myYes) { var confirmBox = $("#confirm"); confirmBox.find(".message").text(msg); ... Read More
![Shubham Vora](https://www.tutorialspoint.com/assets/profiles/485898/profile/60_1456867-1657516792.jpeg)
8K+ Views
In this tutorial, we will learn to stop a video with JavaScript on YouTube. Using the ‘iframe’ HTML element, we can easily embed the YouTube videos on our application. It is a video player in HTML 5 and has many attributes that users can use according to their needs. In some cases, it happens that you want to create a custom pause or stop button for the embedded YouTube video. Customized buttons are always pretty rather than default ones, making UI pretty. So, we will learn two different methods to create the custom stop button for the YouTube videos. However, ... Read More
![mkotla](https://www.tutorialspoint.com/assets/profiles/13540/profile/60_41073-1512640012.jpg)
98 Views
The void operator is used to evaluate the given expression. After that, it returns undefined. It obtains the undefined primitive value, using void(0) i.e. 0 as an argument.The void(0) can be used with hyperlinks to obtain the undefined primitive value, ExampleLive Demo Understanding JavaScript void(0) Click me not once, but twice. We used JavaScript:void(0) above to prevent the page from reloading when the button is clicked the first time.The code will only work when the button will be clicked twice. If it is clicked once, ... Read More
![Giri Raju](https://www.tutorialspoint.com/assets/profiles/13536/profile/60_72105-1512540773.jpg)
57 Views
The JavaScript void returns an expression to remove the side effect and return the undefined primitive value. This side effect may occur while inserting expression in a web page.Let’s see an example of the void. The void(0) can be used with hyperlinks to obtain the undefined primitive value, ExampleLive Demo Understanding JavaScript void(0) Click me not once, but twice. We used JavaScript:void(0) above to prevent the page from reloading when the button is clicked the first time.The code will ... Read More
![Sreemaha](https://www.tutorialspoint.com/assets/profiles/13570/profile/60_64977-1512709068.jpg)
318 Views
Use “nofollow” to create HTML link that doesn’t follow the link. In HTML, while adding an external link, you can set the attribute “rel” as “nofollow” or “dofollow” −The “nofollow” value tells the search engine − “Don't follow links on this page" or "Don't follow this specific link."Another WebsiteWhile using “nofollow”, the search engine won’t transfer anchor text across these link.
![Lokesh Badavath](https://www.tutorialspoint.com/assets/profiles/538106/profile/60_1039031-1666073315.jpg)
12K+ Views
A bookmark is helpful when you want to remember the web page for future reference. You can access that bookmark at any time to view the web page again. We use HTML links to create bookmarks, so that we can jump to specific parts of a web page. Bookmarks can be useful if a web page is long. When we click on the link, the page will scroll down or up to the location with the bookmark specified on the web page. Syntax First, we should use the id attribute to create a bookmark text… Then, add a link ... Read More
![Lokesh Badavath](https://www.tutorialspoint.com/assets/profiles/538106/profile/60_1039031-1666073315.jpg)
325K+ Views
We can add image as a link and other HTML elements as a link. A link is a connection from one Web page to another web page. We can add page links to a web page. HTML links are hyperlinks. The tag defines a hyperlink and used to link from one page to another. The href attribute is used with the tag, which indicates the link's destination. To make page links in an HTML page, use the and tags, with href attribute used to define the links. We should use the … tags inside … tags. Syntax ... Read More
![Srinivas Gorla](https://www.tutorialspoint.com/assets/profiles/13556/profile/60_78057-1512712331.jpg)
945 Views
To use an image on a webpage, use the tag. The tag allows you to add image source, alt, width, height, etc. The alt is the alternate text attribute, which is text that is visible when the image fails to load.The following are the attributes −AttributeDescriptionAltThe alternate text for the imageHeightThe height of the imageIsmapThe image as a server-side image-mapLongdescThe URL to a detailed description of an imageSrcThe URL of an imageUsemapThe image as a client-side image-mapWidthThe width of the imageJust keep in mind the tag has no end tag.ExampleYou can try to run the following code to ... Read More