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

BY Best Interview Question ON 26 Jan 2019