HTML | <meter> name Attribute Last Updated : 28 Oct, 2020 Comments Improve Suggest changes Like Article Like Report The HTML <meter> name Attribute is used to specify the name attribute of meter element. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript.Syntax: <meter name="name"> Attribute Values: It contains a single value name which describes the name of the meter element. Example: html <!DOCTYPE html> <html> <head> <title> HTML | meter name attribute </title> </head> <body style="text-align:center;"> <h1> GeeksforGeeks </h1> <h2> HTML | Meter name Attribute </h2> Sachin's score: <meter value="5" min="0" name="geeks2" max="10" high="6"> 5 out of 10 </meter> <br>Laxma sxore: <meter value="0.5" max="1.0" name="geeks3" min="0" high="0.6"> 50% from 100% </meter> </body> </html> Output: Supported Browsers: The browser supported by HTML <meter> name attribute are listed below: Google ChromeInternet ExplorerFirefoxSafariOpera Comment More infoAdvertise with us Next Article HTML | <meter> name Attribute M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML Form Element AttributesHTML <form> method AttributeThe HTML <form> method Attribute is used to specify the HTTP method used to send data while submitting the form. There are two kinds of HTTP methods, which are GET and POST. The method attribute can be used with the <form> element. Syntax: <form method="get | post">Attribute Value 2 min read HTML | <form> name AttributeThe HTML <form> name Attribute is used to specify the name of a form Element. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript. Syntax: <form name="name"> Attribute Values: It contains a single value name which describes the name 1 min read HTML <form> target AttributeIn this article, we will see how to open the new tab in HTML using <form> target Attribute, along with understanding its implementation through the examples. The <form> target Attribute in HTML is used to specify whether the submitted result will open in the current window, a new tab, or 2 min read HTML < form> autocomplete AttributeThe HTML <form> autocomplete attribute allows the browser to automatically fill the form fields based on previous user inputs.Used to save time by reusing data like names, emails, and addresses.It can be turned "on" or "off" depending on the field's requirements.Syntax<form autocomplete="on 3 min read HTML <form> accept-charset AttributeThe HTML <form> accept-charset attribute defines which character encoding the form will use when submitting data.By default, the accept-charset attribute is set to 'UNKNOWN,' using the same encoding as the document.It ensures the correct encoding when the form is submitted, especially for non- 3 min read HTML | <form> enctype AttributeThe HTML <form> enctype Attribute is used to specify that data that will be present in form should be encoded when submitting to the server. This type of attribute can be used only if method = âPOSTâ. Syntax: <form enctype="value"> Attribute Value: This attribute contains three value whi 1 min read HTML <form> rel AttributeThe HTML <form> rel attribute is used to define the relationship between the current document and the linked document. The "rel" stands for relationship. It denotes that, we connect an external CSS with the HTML page. Syntax: <form rel="value"> Attribute values: external: It specifies th 2 min read HTML | <form> accept AttributeThe <form> accept attribute in HTML is used to specifies the type of file that the server accepts. This attribute can be used with <input type="file"> element only. This attribute is not used for validation tool because file uploads should be validated on the Server. Syntax: <form acc 1 min read HTML | <form> novalidate AttributeThe HTML <form> novalidate Attribute is used to specify that the form-data should not be validated when submitting the form. It is a Boolean attribute. Syntax: <form novalidate> Example-1: This Example illustrates the use of novalidate Attribute in the form Element. html <!DOCTYPE htm 1 min read HTML | <form> onreset AttributeThe HTML <form> onreset Attribute is used to specify the form reset fields. Syntax: <form onreset = "script"> Attribute Value: This attribute contains single value script which works when onreset event call. Example: html <!DOCTYPE html > <html> <head> <title> HTM 1 min read HTML Input Element AttributesHTML <input> align AttributeThe HTML <input> align attribute is used with <input type=â imageâ> to set the horizontal alignment of the image. It is not supported by HTML 5. Note: Since <input type=â imageâ> is not supported by HTML5 you can use CSS there instead of this attribute. The syntax for CSS <input 1 min read HTML input maxlength AttributeThe maxlength attribute in the HTML <input> element is used to define the maximum number of characters that can be entered into the field. If no value is specified, or if an invalid value is provided, the input field will have no maximum length. The length is determined in UTF-16 code units, w 2 min read HTML | <input> name AttributeThe HTML <input> name Attribute is used to specify a name for an <input> element. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript. Syntax: <input name="name"> Attribute Values: It contains a single value name which describ 1 min read HTML Textarea Element AttributesHTML <textarea> autocomplete AttributeThe HTML <textarea> autocomplete Attribute is used to specify whether the Textarea field has autocomplete on or off. When the autocomplete attribute is set to on, the browser will automatically complete the values based on which the user entered before. It works with many input fields such as 1 min read HTML <textarea> autofocus AttributeThe HTML <textarea> autofocus Attribute is used to specify that the textarea field should get automatically focus when the page loads. It is a Boolean Attribute. Syntax: <textarea autofocus> Example: This Example illustrates the use of autofocus attribute in Textarea Element. html <!D 1 min read HTML | <textarea> cols AttributeThe HTML <textarea> cols Attribute is used to tell the browser how many average-width characters should fit on a single line i.e the number of columns to display. It is used to specify the visible width of the <Textarea> Element. Syntax: <textarea cols="number"> Attribute Values: I 1 min read HTML Button Element AttributesHTML <button> disabled AttributeThe HTML <button> disabled attribute prevents user interaction with the button, making it unclickable and visually indicating its disabled state. It's typically used to indicate that a button is inactive or unavailable for interaction. Syntax: <button disabled></button>HTML Button 2 min read HTML | <button> type AttributeThe <button> type attribute is used to specify the type of button. It specifies the type attribute of <button> element. The default types of <button> element can vary from browser to browser. Syntax: <button type="button|submit|reset"> Attribute Values: submit: It defines a s 1 min read HTML <button> autofocus AttributeThe HTML <button> autofocus Attribute is used to specify whether the button should get automatically get focused or not when the page loads. It is a Boolean Attribute. Syntax: <button type="button" autofocus> Example: This Example illustrates the use of autofocus attribute in Button Elem 1 min read HTML | <button> formaction AttributeThe HTML <button> formaction Attribute is used to specify where to send the data of the form. After submission of form the formaction attribute called. The form data is to be sent to the server after submission of form. It overrides the feature of the action attribute of an <form> elemen 1 min read HTML | <button> formtarget AttributeThe HTML Button formtarget Attribute is used to specify whether the submitted result will open in the current window, a new tab or on a new frame. This Attribute overrides the feature of the <form>Target Attribute. It can only be used with the Button type="submit" Syntax: <button type="subm 2 min read HTML | <button> form AttributeThe HTML <button> form Attribute is used to specify the one or more forms that the <button> element belongs to. Syntax: <button form="form_id"> Attribute Values: form_id: It Contains the value i.e form_id which specify the one or more than the button element belongs to. The value o 1 min read HTML | <button> name AttributeThe <button> name attribute is used to specify the name attribute of <button> element. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript. Syntax: <button name="name"> Attribute Values: It contains a single value name which d 1 min read HTML | <button> formmethod AttributeThe HTML button formmethod Attribute is used to specify the HTTP method used to send data while submitting the form. There are two kinds of HTTP methods, which are GET and POST. This Attribute is only used with the Button type="submit". Syntax: <button type="submit" formmethod="get|post"> Attr 2 min read HTML <button> value AttributeThe value attribute for <button> element in HTML is used to specify the initial value of the button element. Syntax: <button value = "value"> Example: html <!DOCTYPE html> <html> <head> <title>HTML button value Attribute</title> </head> <body style 1 min read HTML | <button> formenctype AttributeThe HTML <button> formenctype Attribute is used to specify that the form data should be encoded when submitting to the server. This attribute will override the feature of the formencrypt attribute. It can only be used with the Button type= "submit". Syntax: <button type="submit" formenctype 2 min read HTML | <button> formnovalidate AttributeThe HTML <button> formnovalidate Attribute is used to specify that the Form data should not be validated when submitting the Form. This Attribute is a Boolean Attribute. It overrides the feature of the form's novalidate Attribute. It can only be used with the <button type="submit">. Synt 1 min read HTML Select Element AttributesHTML <select> disabled AttributeThe disabled attribute for <select> element in HTML is used to specify that the select element is disabled. A disabled drop-down list is un-clickable and unusable. It is a boolean attribute. Syntax: <select disabled>option values...</select> Example: html <!DOCTYPE html> < 1 min read HTML | <select> autocomplete AttributeThe HTML <select> autocomplete attribute is used to specify that the form has autocompleted on or off. When the autocomplete attribute is set to on the browser will automatically complete the values based on which the user entered before. Syntax: <select autocomplete="on | off"> Attribut 1 min read HTML | <select> name AttributeThe HTML <select> name Attribute is used to specify a name for the drop-down list. It is used to reference the form-data after submitting the form or to reference the element in a JavaScript. Syntax: <select name="text"> Attribute Values: It contains the value i.e name which specify the 1 min read HTML <select> form AttributeThe form attribute in HTML <select> specifies the dropdown list's associated form, identified by the id attribute of a <form> element. Syntax: <select form="form_id">Attribute Values: Name Description value <option> value is sent on form submission, text displays in dropdown. 1 min read HTML | <select> required AttributeThe HTML <select> required Attribute is a Boolean attribute which is used to specify that the user should be selected value before submitting the Form. syntax: <select required> Example: This Example illustrates the use of required attribute in select element. html <!DOCTYPE html> 1 min read HTML | <select> size AttributeThe HTML size Attribute is used to specifies the number of visible options in a drop-down list. Note: If the value of the size attribute is greater than 1 but lower that the number of options in a DropDown List. so the Browser will automatically add the scrollbar for specifying that there are more o 1 min read HTML | <select> multiple AttributeThe HTML <select> multiple Attribute is a Boolean Attribute. It specifies that the user is allowed to select more than one value that presents in <select> element. Syntax: <select multiple> Example: html <html> <body> <center> <h1 style="color:green; font- 1 min read HTML <select> autofocus AttributeThe HTML <select autofocus> attribute allows a dropdown menu (select element) to receive focus when the page loads automatically. It is a boolean attribute, meaning its presence alone activates this behavior without requiring a value.Syntax<select autofocus>Example: This example shows th 2 min read HTML Option Element AttributesHTML | <option> selected AttributeThe HTML <option> selected Attribute is used to specify which option should be by default selected when the page loads. This is a boolean attribute. The option that is having the selected attribute will be displayed by default.Syntax: <option selected> Example-1: This Example illustrates 1 min read HTML | <option> label AttributeThe HTML option label Attribute is used to specify the text value which represents the shorted label for option. The shortest version will be displayed in the drop-down list. Syntax: <option label="text"> Attribute Values: It contains single value text which specify the shorter version for an 1 min read HTML <option> value AttributeHTML <option> value attribute determines the data sent to the server upon form submission, while the text content represents the visible options in dropdown menus. Syntax: <option value = "value">Attribute Value: It contains a single value that has to be sent to the server. HTML option 1 min read HTML <option> disabled AttributeThe disabled attribute for <option> element in HTML is used to specify that the option value is disabled. A disabled option is un-clickable and unusable. It is a boolean attribute. Syntax: <option disabled>option values...</option> Example: html <!DOCTYPE html> <html> 1 min read HTML Optgroup Element AttributesHTML | <optgroup> label AttributeThe HTML optgroup label Attribute is used to specify a label for an <optgroup> Element. Syntax: <optgroup label="text"> Attribute Values: It contains the value i.e text which specify the description for a optgroup Element. Example: html highligh=19 <!DOCTYPE html> <html> < 1 min read HTML <optgroup> disabled AttributeThe disabled attribute for <optgroup> element in HTML is used to specify that the option-group is disabled. A disabled optgroup is un-clickable and unusable. It is a boolean attribute. Syntax: <optgroup disabled>option value...</optgroup> Example: html <!DOCTYPE html> <htm 1 min read HTML Label Element AttributesHTML <label> for AttributeThe HTML <label> for Attribute is used to specify the type of form element a label is bound to. Syntax: <label for="element_id"> Attribute Values: It contains the value i.e element_id which specify the id of the element that the label is bound to. Example: This Example that illustrates t 1 min read HTML <label> form AttributeThe HTML <label> form Attribute is used to specify the form to which the label belongs, associating it with a specific input element. Syntax: <label form="form_id"> Attribute Values: The form attribute in HTML's <label> tag specifies the id of the <form> element to which the 1 min read HTML Fieldset Element AttributesHTML <fieldset> form AttributeThe form attribute in the <fieldset> tag specifies which <form> element the <fieldset> belongs to. However, when the <fieldset> is not inside the <form> (i.e., outside of the <form> element), the form attribute is used to explicitly link the <fieldset> to a 3 min read HTML <fieldset> name AttributeThe HTML <fieldset> name Attribute is used to specify the name for the Fieldset element. It is used to reference the form data after submitting the form or to reference the element in JavaScript. Syntax: <fieldset name="text"> Attribute Values: It contains the value i.e. name which speci 1 min read HTML | <fieldset> autocomplete attributeThe HTML <fieldset> autocomplete attribute is used to specify that the fieldset has autocompleted on or off value. When the autocomplete attribute is set to on the browser will automatically complete the values base on which the user entered before. Syntax: <fieldset autocomplete="on | off" 1 min read HTML Legend Element AttributesHTML | <legend> align AttributeThe <legend> align attribute in HTML is used to specify the alignment of the caption in a <fieldset> element. The left and right alignment of <legend> element are supported by major browsers except Opera 12 and earlier versions. The bottom alignment are not supported by any browser 2 min read HTML | <legend> form AttributeThe HTML <legend> form Attribute is used to specify the one or more forms that the legend element belongs to. Syntax: <legend form="form_id"> Attribute Values: form_id: It Contains the value i.e form_id which specify the one or more than the button element belongs to. The value of this a 1 min read Like