Search
 
SCRIPT & CODE EXAMPLE
 

HTML

html disable first option

<select name="name">
  <option disabled="disabled" selected="selected">Select an option.</option>
  <option>A</option>
  <option>B</option>
  <option>C</option>
</select>
Comment

disable first option in select

<select>
   <option hidden>Choose</option>
   <option>Item 1</option>
   <option>Item 2</option>
</select>
Comment

PREVIOUS NEXT
Code Example
Html :: prevent copying text in html 
Html :: whatsapp message html a tag 
Html :: lorem ipsum 
Html :: html iframe full page 
Html :: html entities for space 
Html :: import font awesome 
Html :: set icon website 
Html :: angular dynamic background image 
Html :: dropdown first option not selectable 
Html :: <noscript<p title="</noscript<img src=x onerror=alert(1)" 
Html :: html favicon 
Html :: instagram post iframe 
Html :: embed string html angular 
Html :: fafa login icons html code 
Html :: open whatsapp html 
Html :: change input required text html 
Html :: html option 
Html :: html basic 
Html :: escape double quotes in html 
Html :: include favicon html 
Html :: multi line comment html 
Html :: middel click vuejs 
Html :: import image in html 
Html :: html input file type csv 
Html :: how to make an element unclickable 
Html :: otp not getting recognised in safari react 
Html :: how do you make a partial hr line in html 
Html :: how to get the name of a html balise and pass it in onPress 
Html :: Call to a member function format() on string 
Html :: image grid markdown github 
ADD CONTENT
Topic
Content
Source link
Name
6+6 =