File Uploads in Vue.js
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Validate File Upload Filetype with the HTML Accept Attribute

In this lesson, learn how to validate file types with the built-in html accept attribute. The accept attribute takes a comma separated list of MIME types, file extensions, or MIME types with wildcards (*) for the subtype. These are known as the “unique file type specifier”.

Links