The prop() method is used to change properties for HTML tag as per the DOM tree, whereas attr() changes attributes for HTML tags.

Suggest An Answer

No suggestions Available!