A

Admin • 833K Points
Coach

Q. 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 - Option(B)
  • Views: 27
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

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. Mirrors the accept attribute.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.