The Power of Controls
When embedding media in HTML, the content is locked by default. The controls attribute is the key that unlocks interaction, giving the user the power to play, pause, and adjust volume.
The Video Tag
The <video> element embeds a media player. Without attributes, it displays the first frame of the video but offers no interactivity. Adding controls renders the browser's native video player interface.
The Audio Tag
Unlike video, the <audio> tag has no visual component by default. If you forget to add the controls attribute, the audio player will be completely invisible on the page, rendering it useless unless controlled via JavaScript.
Boolean Attributes
Attributes like controls, autoplay, loop, and muted are "boolean attributes". Their presence represents true, and their absence represents false. You do not need to write controls="true".
