HTML Intro

HTML Intro Quiz

HTML Intro Exercise

HTML Basics

HTML Basic Quiz

HTML Basic Exercise

HTML Advance

HTML Advance Quiz

HTML Advance Exercise

HTML Tags List

HTML Global Attributes

HTML Attributes


HTML accept Attribute

accept Attribute



The accept attribute specifies the types of files that the server accepts which can be submitted through a file upload. It can be only used with the input tag. It is not the same as form validation.


Used With:-


Element Attribute
input accept




Its syntax is:- < element accept="value" >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML