What is the return data type of the property accept that belongs to the Input element?

A integer
B string
C boolean
D float

Correct Answer: string

The accept attribute is used to define the types of files that the control can select. When type is “file”, this property is a comma-separated list of MIME types that specify the types of files that may be selected. The strings “audio/*”, “video/*”, and “image/*” are also legal.

Related Questions

Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element ?

Next steps