What is the difference between properties and attributes in HTML

0 votes
I've been trying to define the difference between properties and attributes in HTML since the changes in jQuery 1.6.1.

According to the list on the jQuery 1.6.1 release notes (near the bottom), HTML properties and attributes can be classified as follows:

Properties: Any property that has a boolean value or is calculated by UA, such as selectedIndex.

Attributes: 'Attributes' that can be added to an HTML element that is neither boolean nor contains a value generated by the user agent.

Thoughts?
Aug 12, 2022 in HTML by Tejashwini
• 3,820 points
1,421 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In HTML

0 votes
0 answers

What is the difference between HTML div and span elements?

Please provide some straightforward examples of how ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,430 points
315 views
0 votes
0 answers

What is the difference between HTML tags and elements?

I've noticed that most people interchangeably refer ...READ MORE

Aug 19, 2022 in HTML by Tejashwini
• 780 points
470 views
0 votes
0 answers

Difference between id and name attributes in HTML

The "id" and "name" attributes serve the ...READ MORE

Jun 3, 2022 in HTML by Tejashwini
• 3,820 points
412 views
0 votes
0 answers

What is the color code for transparent in HTML, is there any code as such?

I need to show a nav bar ...READ MORE

Jul 4, 2022 in HTML by Tejashwini
• 3,820 points
371 views
0 votes
0 answers

what is the meaning of href in HTML?

Can someone let me know the meaning ...READ MORE

Jul 7, 2022 in HTML by Tejashwini
• 3,820 points
305 views
0 votes
0 answers

What is the HTML for="" attribute in <label>?

What does it do? I saw this ...READ MORE

Jul 21, 2022 in HTML by Ashwini
• 5,430 points
391 views
0 votes
0 answers

Uncaught TypeError: Cannot read property 'top' of undefined

I have two different kinds of sticky ...READ MORE

May 11, 2022 in Java-Script by Kichu
• 19,040 points
3,382 views
0 votes
0 answers

Chrome extension HTML Tree Generator is not working

I installed HTML Tree Generator to observe ...READ MORE

Jul 27, 2022 in HTML by Tejashwini
• 3,820 points
1,284 views
0 votes
1 answer

Best Practice: Access form elements by HTML id or name attribute?

It is a good idea to use ...READ MORE

answered Aug 8, 2022 in HTML by Vikas
1,095 views
0 votes
0 answers

Getting jQuery selector to recognize newly-added DOM elements

I've searched the jQuery docs and here ...READ MORE

Aug 18, 2022 in Web Development by gaurav
• 23,260 points
1,842 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP