HTML, HTML Attributes , 0 Comments

The accept-charset attribute indicates the encoding characters to be used for submitting the form. The default value of accept-charset attribute is UNKNOWN (there is no default value of this attribute), and it’s mean that encoding equals the encoding of the document containing the <form> element. You can use accept-charset attribute with the form tag. Example Syntax Attribute

Read More

HTML, HTML Attributes , 0 Comments

The accept attribute Specify which type of file user can choose from the input picker. This attribute is valid for only input type=”file” Example Note: You can use accept attribute only for <input type=”file”>. Tip: Do not use this attribute as a validation tool. File uploads should be validated on the server for better validation. Syntax Separate the values with a comma to indicate more than one value (e.g. <input accept=” image/*, video/*, audio/*,” />. Attribute Values

Read More