How can I set the default value for an HTML element? August 27, 2022 by Tarik Set selected="selected" for the option you want to be the default. <option selected="selected"> 3 </option>