Contact Number

+91 908 908 6161

Email Address

info@darlic.com

Sign up
Login

Learn with Darlic®
  • HTML
  • CSS
  • JQuery
  • Javascript
  • PHP
  • SQL
  • Tutorials
  • Courses

size

size

Posted on March 22, 2017 by

Definition and Example

It defines the number of visible items in the drop-down list. If the size attribute has the value “1” and the multiple attribute is absent, browsers will usually display a drop-down box. Otherwise, the control will take the form of a scrollable box.
In size attribute of select tag , if you have many options, you might want to display more options to the user (without them having to scroll or interact with the control first).You can use the size attribute to specify the number of options to show the user.

Attribute Values

Value Description
number  The number of visible options in the drop-down list. Default value is 1. If the multiple attribute is present, the default value is 4

Post navigation

Previous
Next

Empty Widget Area

About Darlic®

Darlic® is innovative platform to create websites, web applications, progressive web applications, mobile applications without a pain. Darlic® is registered Trademark of OXO IT SOLUTIONS PRIVATE LIMITED.

Links

  • Home
  • About
  • Features
  • Templates
  • Career
  • Blog
  • Contact

Resources

  • Documentation
  • Resources
  • Tools
  • Bits
  • Learn
  • Ask

Email Address

info@darlic.com

Contact Number

+91 908 908 6161

Social Links

Copyright Right
  • Privacy Policy
  • Terms and Condition