# 예시 1
<!DOCTYPE html>
<html>
<body>
<h1>The option selected attribute</h1>
<label for="cars">Choose a car:</label>
<select id="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="vw">VW</option>
<option value="audi" selected>Audi</option>
</select>
</body>
</html>
# 예시 2
<select id='country' name='country'>
{% for country in countries %}
<option value={{country.code}} {% if country.code == s_country %}selected{% endif %}>{{country.name}}</option>
{% endfor %}
</select>