- 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
AmitDiwan has Published 11365 Articles
AmitDiwan
59 Views
The HTML DOM KeyboardEvent altKey property returns whether an ALT key was pressed or not when a key event was triggered in an HTML document.SyntaxFollowing is the syntax −event.altKeyLet us see an example of HTML KeyboardEvent altKey property−Example Live Demo body { color: #000; ... Read More
AmitDiwan
169 Views
The HTML DOM Variable Object represent the element of an HTML document.Create var object−SyntaxFollowing is the syntax −document.createElement(“VAR”);Let us see an example of var object−Example Live Demo body { text-align: center; background-color: #fff; color: #0197F6; } ... Read More
AmitDiwan
153 Views
The HTML DOM HR Object represent the element of an HTML document.Create hr object−SyntaxFollowing is the syntax −document.createElement(“HR”);Let us see an example of hr object−Example Live Demo body { text-align: center; background-color: #fff; color: #0197F6; } ... Read More
AmitDiwan
145 Views
The HTML DOM Ins Object represent the element of an HTML document.Create ins objectSyntaxFollowing is the syntax −document.createElement(“INS”);Properties of ins objectPropertyExplanationciteIt returns and alter the value of the cite attribute of an ins element in an HTML document.dateTimeIt returns and alter the value of the cite attribute of an ... Read More
AmitDiwan
145 Views
The HTML ondblclick attribute is triggered when you mouse double-click on an HTML element in an HTML document.SyntaxFollowing is the syntax −Let us see an example of HTML ondblclick event Attribute−Example Live Demo body { color: #000; height: 100vh; ... Read More
AmitDiwan
129 Views
The HTML DOM tagname property returns the tag name of the HTML element in an HTML document.SyntaxFollowing is the syntax −element.tagNameLet us see an example of HTML DOM tagName property−Example Live Demo body { color: #000; height: 100vh; ... Read More
AmitDiwan
72 Views
The HTML DOM Style paddingRight property return and add right padding to an HTML element.SyntaxFollowing is the syntax −1. Returning paddingRightobject.style.paddingRight2. Adding paddingRightobject.style.paddingRight=”value”Here, “value” can be the following −ValueDetailslengthIt defines value padding in length unit.initialIt defines padding to its default value.inheritIn this padding gets inherited from its parent element.percentage(%)It defines ... Read More
AmitDiwan
53 Views
The HTML onhashchange event attribute is triggered when there is a change in the anchor part of the URL in an HTML document.SyntaxFollowing is the syntax −Let us see an example of HTML onhashchange event attribute−Example Live Demo body { color: #000; ... Read More
AmitDiwan
69 Views
The HTML returnValue event property returns and modify whether the current event is cancelled or not.SyntaxFollowing is the syntax −1. Returning returnValueevent.returnValue2. Adding returnValueevent.returnValue=”true | false”Let us see an example of HTML returnValue event property−Example Live Demo body { color: #000; ... Read More
AmitDiwan
478 Views
The HTML onmouseover event attribute is triggered when the mouse pointer moves over an HTML element in an HTML document.SyntaxFollowing is the syntax −Let us see an example of HTML onmouseover event Attribute−Example Live Demo body { color: #000; height: 100vh; ... Read More