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 in HTML by Tejashwini
• 1,960 points
42 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 in HTML by Ashwini
• 1,160 points
18 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 in HTML by Tejashwini
• 540 points
13 views
0 votes
0 answers

Difference between id and name attributes in HTML

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

Jun 3 in HTML by Tejashwini
• 1,960 points
38 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 in HTML by Tejashwini
• 1,960 points
13 views
0 votes
0 answers

what is the meaning of href in HTML?

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

Jul 7 in HTML by Tejashwini
• 1,960 points
14 views
0 votes
0 answers

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

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

Jul 21 in HTML by Ashwini
• 1,160 points
21 views
0 votes
0 answers

Uncaught TypeError: Cannot read property 'top' of undefined

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

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

Chrome extension HTML Tree Generator is not working

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

Jul 27 in HTML by Tejashwini
• 1,960 points
117 views
0 votes
1 answer
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 in Web Development by gaurav
• 18,960 points
49 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP