1,105,644 Community Members

multiple attribute for select tag

Member Avatar
cartergarth
Light Poster
25 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

What is the proper value of the multiple attribute for select tag?

http://www.tizag.com/htmlT/htmlselect.php says "yes"

while

http://www.w3schools.com/tags/att_select_multiple.asp says "multiple"

I did, however, tried both and worked just fine but I want to be using what's acceptable by w3c to ensure full compatibility in most major browsers.

Member Avatar
pritaeas
mod_pritaeas
11,315 posts since Jul 2006
Reputation Points: 1,420 [?]
Q&As Helped to Solve: 1,835 [?]
Skill Endorsements: 156 [?]
Moderator
Featured
Sponsor
 
0
 

Why not read the official documentation instead of those websites. It states multiple has to be set, it is a boolean attribute, so it does not need a value.

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: