0 votes
in JavaScript by
How are Attributes different from Property?

1 Answer

0 votes
by

Attribute provides more details of an element like type, id, value, etc.

Property is the specific value assigned to the property. For example, value = ‘Name’, type = “text”, etc.

Related questions

+2 votes
asked Jan 20, 2020 in Mathematics by sharadyadav1986
0 votes
asked Mar 6, 2022 in VueJS by sharadyadav1986
...