Failed to use the checked attribute with

تبليغ
سؤال

يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.

تبليغ
‎إلغاء

I waned to use the checked attribute with a <select multiple></select> but the checked attribute didn’t work.
I don’t know what I did wrong

<body>
<form action=”” method=”get”>
<fieldset>
<label for=”skill”>Skill</label>
<select name=”skills” id=”skill” multiple>
<option checked value=”html”>Html</option>
<option value=”css”>Css</option>
<option value=”jss”>Javascript</option>
</select>
<br>
<input type=”submit”>
<input type=”reset”>
</fieldset>
</form>

Thank you

‫أضف إجابة

تصفح
تصفح

مجهول يجيب