| A | B |
| <video> element | Defines a video to embed in the web page. |
| width and height attributes | Specifies the width and height (in pixels) of the video window. If not specified, the video size will be determined by the source video file when it loads, which could change the web page layout considerably. |
| controls attribute | Adds video and audio controls such as the play, pause, rewind and volume controls. |
| poster attribute | Identifies an image to be displayed until the play button is clicked or while the video is downloading. If the poster attribute is not specified, the first frame of the video is displayed instead. |
| <source> element | Defines the media resource. Multiple sources can be listed, such as different types of video or audio formats, to support a variety of devices and browsers. |
| src attribute | Identifies the location and file name of the media resource. |
| type attribute | Identifies the format, or MIME type, of the audio or video. The <video> element supports three formats: MP4, WebM, and Ogg. The <audio> element supports three formats: MP3, wav, and Ogg. |
| Text | Text enclosed by the <video> element will appear if the browser or device cannot support any of the video formats available. |
| loop=”loop” | Specifies that the audio or video file will play over and over again without stopping. |
| autoplay=”autoplay” | Specifies that the video will play immediately upon loading. |