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