Question: 1 / 50

Which tag is used to embed a video in an HTML document?

video

The tag used to embed a video in an HTML document is the "video" tag. This element allows for the inclusion of video content directly in a web page, offering a concise and effective way to display multimedia without needing external plugins. The "video" tag provides several attributes that enhance functionality, such as controls (to show playback features like play, pause, volume), autoplay (to start playing the video automatically), and loop (to play the video repeatedly). It is widely supported in modern web browsers, making it a standard choice for embedding video. While other tags like "embed" can also be used for multimedia content embedding, the "video" tag specifically and semantically denotes video content, providing additional features tailored for video playback. The "media" tag does not exist in HTML, and "source" is used to specify the media resources for elements like "video" or "audio," but on its own does not serve as a container for video content.

media

embed

source

Next

Report this question