Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Video | Advanced Concepts
Introduction to HTML
course content

Contenido del Curso

Introduction to HTML

Introduction to HTML

1. Basics Introduction
2. Basic Elements
3. Metadata and the Head Element
4. Advanced Text Formatting Elements
5. Advanced Concepts

bookVideo

The video and audio elements in HTML allow you to embed video and audio content on a web page.

html

index

css

index

js

index

copy
  • poster attribute specifies an image to display before the video starts playing;
  • controls attribute adds playback controls to the video.

You can also use the source element to specify multiple video versions in different formats, and the browser will choose the appropriate version based on the device's capabilities.

html

index

css

index

js

index

copy

Several other attributes:

  • autoplay attribute can be used to start playing the video when the page loads automatically;
  • The loop attribute can loop the video indefinitely.

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 5. Capítulo 6
We're sorry to hear that something went wrong. What happened?
some-alt