allowfullscreen
an HTML attribute for the iframe tag

What versions of HTML support allowfullscreen?

Answers:

  • The allowfullscreen attribute is primarily associated with the <iframe> tag in HTML. This attribute is part of the HTML5 specification. Therefore, it is supported in HTML5 and later versions.

    In HTML5, the allowfullscreen attribute allows a webpage to indicate that an iframe can be displayed in full-screen mode, typically when embedding content such as videos from services like YouTube.

    In summary, the allowfullscreen attribute is supported in:

    • HTML5

    Older versions of HTML (like HTML 4.01) do not have the allowfullscreen attribute, so it is not supported there. If you are developing for modern browsers or applications, you should use HTML5, which includes this functionality.

Related Questions: