The HTML Attribute reference.

"accept" - html Attribute

  • Specifies a comma-separated list of content types that a server processing this form will handle correctly.
  • Content types are case-insensitive. Examples of content types include "text/html", "image/png", "image/gif", "video/mpeg", "text/css", and "audio/basic".

Value(s): content-type-list
Used in the element(s):
Elements Description
form This element defines an interactive form.
input This element defines a form control for the user to enter input.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.