Are Attributes and Property the same?
Answer / Asheesh Kumar Pandey
No, attributes and properties are not the same in JavaScript. HTML elements have attributes which serve as their initial property values. However, properties can be changed dynamically through JavaScript while attributes cannot be directly modified.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is var and let in javascript?
What would you use javascript for?
What is the use of blur function?
How to setting a cookie with the contents of a textbox?
Is not a function error in javascript?
What does break and continue statements do in javascript?
What is the use of dom?
How we can add title of the page by javascript?
What is difference between java and javascript?
Should you disable javascript?
How do you convert numbers between different bases in JavaScript?
4 Answers College School Exams Tests, Satyam, UIST, Wipro,
Is javascript a dynamic language?