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 controls Attribute

HTML controls Attribute



The controls attribute is a boolean attribute. When present, it specifies that audio/video controls should be displayed.


Features in the controls attribute are:-


  • Play
  • Pause
  • Seeking
  • Volume
  • Fullscreen toggle only for video
  • Captions/Subtitles only for video when available
  • Track for only video when available


Used WIth:-


Elements Attribute
audio controls
video controls




Its syntax is:- < element controls >

Code Explanation

All Tutorials related to HTML Attributes

All Sections related to HTML