if you want to remove an article from website contact us from top.

    which of the following element defines a group of related options in a drop-down list?

    Mohammed

    Guys, does anyone know the answer?

    get which of the following element defines a group of related options in a drop-down list? from screen.

    Which of the following defines a group of related options

    Which of the following defines a group of related options in a drop-down list?

    Home » HTML » HTML Forms » Question

    HTML Forms

    Easy Questions

    HTML

    HTML Introduction HTML Basic HTML Elements HTML Attributes HTML CSS HTML Tables HTML URL Encode HTML Forms HTML Graphics HTML Media HTML APIs Html miscellaneous

    Which of the following defines a group of related options in a drop-down list?

    None of these

    Correct Option: C

    HTML form element is used in its

    Your comments will be displayed only after manual approval.

    स्रोत : interviewmania.com

    : The Option Group element

    The HTML element creates a grouping of options within a element.Try itNote: Optgroup elements may not be nested.AttributesThis element includes the global attributes.disabledIf this Boolean attribute is set, none of the items in this option group is selectable. Often browsers grey out such control and it won't receive any browsing events, like mouse clicks or focus-related ones.labelThe name of the group of options, which the browser can use when labeling the options in the user interface. This attribute is mandatory if this element is used.Examples

    Result

    Technical summary

    Content categories None.

    Permitted content Zero or more Tag omission The start tag is mandatory. The end tag is optional if this element is immediately followed by another element, or if the parent element has no more content.Permitted parents A , , ,

    स्रोत : developer.mozilla.org

    HTML optgroup tag

    W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

    HTML Tag

    ❮ Reference ❯

    Example

    Group related options with tags:

    Try it Yourself »

    Definition and Usage

    The tag is used to group related options in a element (drop-down list).If you have a long list of options, groups of related options are easier to handle for a user.Browser SupportElement Yes Yes Yes Yes YesAttributesAttribute Value Descriptiondisabled disabled Specifies that an option-group should be disabledlabel Specifies a label for an option-groupGlobal AttributesThe tag also supports the Global Attributes in HTML.Event AttributesThe tag also supports the Event Attributes in HTML.Related PagesHTML DOM reference: OptionGroup ObjectDefault CSS SettingsNone.❮Reference❯

    स्रोत : www.w3schools.com

    Do you want to see answer or more ?
    Mohammed 15 day ago
    4

    Guys, does anyone know the answer?

    Click For Answer