html select option set selected condition code example Example: html select option selected true <option selected='selected' />