html select default
snippet in html

html select default

user5587

<select>
  <option value="" selected disabled hidden>Choose here</option>
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
  <option value="4">Four</option>
  <option value="5">Five</option>
</select>

set default value of a multiselect in html

user3046

<option value="value" selected>Option Name</option>

select default value

user5422

<option selected>
5
</option>