Mastering the Media: Complete HTML Course
Sobre a Aula

HTML video element

If you wish to embed a video on your HTML page, you can easily do so using the <video> element. This element is specifically designed for displaying video content.

The use of the <video> element allows you to directly insert videos into your web pages, providing a richer visual experience for visitors.

By utilizing this element, you can provide an embedded video player on the page itself, making access and viewing more convenient for users.

Remember that when using the <video> element, you need to provide the path or URL of the desired video as an attribute so that the browser knows where to find the content to be played.

This is an effective way to enhance the user experience by offering an integrated method of video playback in your web projects.

Check out the example:

<video width="320" height="240" controls>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
Entrar na conversa
Rolar para cima