
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 10483 Articles for Web Development

152 Views
Use the kind attribute in HTML to specify the kind of text track in HTML. For example, you can set the kind as subtitles for subtitle files.ExampleYou can try to run the following code to implement the kind attribute − Your browser does not support the video element.

137 Views
When a user copies the content of an element, the oncopy event takes place.When a user copies an element, such as an image made using the element, the oncopy event also takes place.The elements with type="text" are the ones that often use the oncopy event. Following are the examples… Example In the following example we are running a javascript when copying text of an element. DOCTYPE html> function myFunction() { ... Read More

2K+ Views
For each HTML element, the id attribute specifies a special id. The id attribute's value must be distinct across the HTML content. A specific style declaration in a style sheet is referenced using the id attribute. JavaScript also uses it to access and modify the element with the given id. Following are the examples… Example In the following example we are using pointing to id name ”tutorial”. This will get styled according to the #tutorial. DOCTYPE html> #tutorial { ... Read More

221 Views
A boolean attribute makes up the hidden attribute. It indicates that an element is either not important yet or is no longer relevant when it is present. Elements that have the hidden attribute specified shouldn't be displayed by browsers.Another application of the hidden attribute is to prevent a user from viewing an element until a different requirement has been satisfied. Syntax ……… Following are the examples… Example We are using the hidden attribute to hide the element of the html script that is not relevant. DOCTYPE html> Heading This is ... Read More

396 Views
The dblclick event is triggered when a pointing device button, such as the mouse's main button, is double-clicked, or when it is quickly clicked twice on the same element in a brief period of time. Following are the examples… Example: Using ondblclick attribute in HTML In the following example we are using ondblclick attribute for creating the double click event using HTML. DOCTYPE html> HELLO EVERYONE :):) Double Click the text "HELLO EVERYONE" to see the effect. ... Read More

234 Views
Oncut attribute triggers when the user cuts the content of an element. Although all HTML elements supported the oncut attribute, cutting content was not allowed unless the element's contenteditable attribute was set to "true." Following are the examples… Example: Cutting some text in using In the following example we are excuting a javascript for cutting some text in an element using the oncut attribute. DOCTYPE html> function myworld() { ... Read More

333 Views
The headers attribute in HTML text along with the td and th tags allows us to add one or more header cells. It holds the value header id, which specifies a list of ids for one or more header cells that the table header cell is associated to, separated by spaces. Syntax Content.. Following are the examples… Example In the following example we are using headers to add required headercells in our table. DOCTYPE html> table { ... Read More

170 Views
Use the ondragover attribute in HTML to execute a script when the element is being dragged in HTML.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