What is the difference between properties and attributes in HTML?

Hello, everyone!

I’m a but confuse with this part.

Can we use attributes and properties interchangeably? In this part they use both to refer to href.

The href attribute allows us to specify the URL, or address on the web, that a link should take users to. See below for an example of the href attribute in action.

When we set the href property on an anchor tag (abbreviated to ) we can specify both the text that

This is an extract of the ‘Adding Hyperlinks’ lesson in the Languages for web development module.

Thanks!

Here’s a good explanation: