July 1998
Intermediate to advanced
1456 pages
65h 5m
English
ACCEPT — NN n/a IE n/a HTML 4
ACCEPT=”MIMETypeList"Optional
Intended for use with INPUT elements of type
file, the ACCEPT attribute lets
you specify one or more MIME types for allowable files to be uploaded
to the server when the form is submitted. The predicted
implementation of this attribute would filter the file types listed
in file dialogs used to select files for uploading. In a way, this
attribute provides client-side validation of a file type so that
files not conforming to the permitted MIME type are not even sent to
the server.
<FORM ACCEPT="text/html, image/gif" ...>...</FORM>
Case-insensitive MIME type (content type) value. For multiple items, a comma-delimited list is allowed.
None.
Read now
Unlock full access