
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 8591 Articles for Front End Technology

141 Views
When an element is being dragged and dropped in HTML, the ondragover attribute fires.ExampleYou can try to run the following code to implement the ondragover attribute − .drag { float: left; width: 100px; height: 35px; border: 2px dashed #876587; margin: 15px; padding: 10px; } ... Read More

199 Views
Use the onsearch attribute in HTML to execute a script when the user writes in a search field and press ENTER or x.ExampleYou can try to run the following code to implement the onsearch attribute − Search something and press ENTER. Note: It won' work in Internet Explorer and Firefox. function display() { var a = document.getElementById("inputID"); document.getElementById("test").innerHTML = "Searched for - " + a.value; }

197 Views
When an element is scrolled, the onscroll attribute triggers. You can try to run the following code to implement onscroll attribute −Example #myid { width : 250px; height : 80px; border : 2px solid blue; overflow: scroll; } Scroll the box. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. This is demo text. function display() { document.getElementById("myid").style.color = "blue"; }

178 Views
The onpause attribute trigger when the media is paused. You can try to run the following code to implement the onpause attribute −Example Play Your browser does not support the video element. function myFunction() { document.getElementById("test").innerHTML = "Media paused!"; }