HTML: Optgroup Tag

The …. tag helps to group related choices when we have a long list of options to select from the drop-down list created using the tag.



disableddisabledSpecifies that an option-group should be disabled
labeltextSpecifies a label for an option-group
Tagged : / / / / /

HTML: Button tag

We can customize the appearance of button using the <button> tag.

autofocusautofocusSpecifies that a button should automatically get focus when the page loads
disableddisabledSpecifies that a button should be disabled
formform_idSpecifies one or more forms the button belongs to
formactionURLSpecifies where to send the form-data when a form is submitted. Only for type=”submit”
Specifies how form-data should be encoded before sending it to a server. Only for type=”submit”
Specifies how to send the form-data (which HTTP method to use). Only for type=”submit”
formnovalidateformnovalidateSpecifies that the form-data should not be validated on submission. Only for type=”submit”
Specifies where to display the response after submitting the form. Only for type=”submit”
namenameSpecifies a name for the button
typebutton reset submitSpecifies the type of button
value textSpecifies an initial value for the button
Tagged : / / / /