English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
خصائص optgroup label تحدد العلامة التبويب للمجموعة من الخيارات.
مجموعة خيارات تحتوي على label:
<!DOCTYPE html> <html> <head> <title>HTML:<optgroup> label 属性 - أساسيات تعليمات البرمجة (oldtoolbag.com)</title> </head> <body> <select> <optgroup label="German Cars" disabled> <option value="mercedes">Mercedes</option> <option value="audi">Audi</option> </optgroup> </select> </body> </html>اختبرها هنا ‹/›
IEFirefoxOperaChromeSafari
يدعم جميع المتصفحات الشائعة خاصية label.
يحدد خاصية label وصف القائمة المختارة.
لا يوجد.
<optgroup label="text">
قيمة | وصف |
---|---|
text | تحديد علامة/شرح للقائمة المختارة. |