optgroup

<select name="language"> 
    <optgroup label="선택하세요" style="color:orange"></optgroup> 
    <optgroup label="Web" style="color:green"> 
        <option>ASP 
        <option>PHP 
        <option>JSP 
    </optgroup> 
    <optgroup label="Window" style="color:blue"> 
        <option>VB 
        <option>C++ 
        <option>JAVA 
    </optgroup> 
</select>

결과 :

답글 남기기