- 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 11433 Articles
AmitDiwan
85 Views
The HTML DOM Input Datetime value property returns a string, which is the value of the value attribute of input datetime. User can also set it to a new string.SyntaxFollowing is the syntax −Returning string valueinputDatetimeObject.valueSetting value attribute to a string valueinputDatetimeObject.value = ‘String’ExampleLet us see an example of Input ... Read More
AmitDiwan
65 Views
The HTML DOM isDefaultNamespace() method returns a boolean value (true/false) if specified namespace is default or not.Note − An element node inherits the namespace of its parent node, therefore, all elements in an XHTML document has the namespaceURI "http://www.w3.org/1999/xhtml".SyntaxFollowing is the syntax −Calling isDefaultNamespace()document.documentElement.isDefaultNamespace("nameSpaceURI")ExampleLet us see an example for isDefaultNamespace() method ... Read More
AmitDiwan
42 Views
The HTML DOM isEqualNode() method returns a boolean value (true/false) if specified nodes are equal or not.SyntaxFollowing is the syntax −Calling isEqualNode()firstNode.isEqualNode(secondNode)NOTE − ‘firstNode’ and ‘secondNode’ are equal only if they have same type, attributes and attribute values. All childNodes if any should also be the same.ExampleLet us see an ... Read More
AmitDiwan
43 Views
The HTML DOM Input DatetimeLocal disabled property sets/returns whether Input DatetimeLocal is enabled or disabled.SyntaxFollowing is the syntax −Returning boolean value - true/falseinputDatetimeLocalObject.disabledSetting disabled to booleanValueinputDatetimeLocalObject.disabled = booleanValueBoolean ValuesHere, “booleanValue” can be the following −booleanValueDetailstrueIt defines that the input datetimeLocal is disabled.falseIt defines that the input datetimeLocal is not disabled ... Read More
AmitDiwan
68 Views
The HTML DOM isSameNode() method returns a boolean value (true/false) if two nodes are same or not.Note − The isSameNode() method is deprecated so you should use ‘===’ operator instead.SyntaxFollowing is the syntax −Calling isSameNode()nodeOne.isSameNode(NodeTwo)ExampleLet us see an example for isSameNode() method − Live Demo isSameNode() form ... Read More
AmitDiwan
100 Views
The HTML DOM Italic Object represents an element which displays text in italic.SyntaxFollowing is the syntax −Creating an elementvar italicObject = document.createElement(“I”)ExampleLet us see an example for Italic object element − Live Demo Italic Object form { width:70%; margin: ... Read More
AmitDiwan
57 Views
The HTML DOM Input DatetimeLocal form property returns the reference of enclosing form for input DatetimeLocal.SyntaxFollowing is the syntax −Returning reference to the form objectinputDatetimeLocalObject.formExampleLet us see an example of Input DatetimeLocal form property − Live Demo Input DatetimeLocal form form { width:70%; ... Read More
AmitDiwan
68 Views
The HTML DOM item() method returns a node from a node list object.Note − The item() method is used to provide index value in a node list object. It is same as getting node by passing index value in ‘[index]’ on node list object.SyntaxFollowing is the syntax −Calling item(index), where ... Read More
AmitDiwan
68 Views
The HTML DOM Input DatetimeLocal max property returns/sets max attribute of Input DatetimeLocal.SyntaxFollowing is the syntax −Returning string valueinputDatetimeLocalObject.maxSetting max to string valueinputDatetimeLocalObject.max = YYYY-MM-DDThh:mm:ssString ValuesHere, “YYYY-MM-DDThh:mm:ss” can be the following −stringValueDetailsYYYYIt defines year (eg:2006)MMIt defines month (eg: 06 for June).DDIt defines Day (eg: 17)TIt is a separator for date ... Read More
AmitDiwan
56 Views
The Kbd Object represents an inline element which displays monospace font by default.SyntaxFollowing is the syntax −Creating a elementvar kbdObject = document.createElement(“KBD”)ExampleLet us see an example for Kbd object element − Live Demo Kbd Object form { width:70%; margin: 0 ... Read More
To Continue Learning Please Login
Login with Google