Answers for "video in html tag"

1

video in html

<video width="200" height="150" controls>
<source src="vid.mp4" type="video/mp4">
<source src="vid.ogg" type="video/ogg">
No video support.
</video>
Posted by: Guest on August-05-2021
1

video tag html

<!DOCTYPE html>
<html>
<body>

<h1>Video TITLE</h1>

<video width="320" height="240" controls>
  <source src="Video Link">
</video>

</body>
</html>
Posted by: Guest on March-21-2021
1

video tag html5

<!-- Non-Semantic: -->
<video width="100" height="100" controls>
  <source src="video.mp4" type="video/mp4">
  Your browser does not support the video element.
</video>
<!-- The text below <source> is displayed if your browser cannot display
the video itself -->

<!-- Semantic: --> 
<figure>
  <video width="100" height="100" controls>
    <source src="video2.mp4" type="video/mp4" />
    Your browser does not support the video element.
  </video>
</figure>

<!-- <Figure> is a semantic element for objects such as audio, video, images,
or embedded content. If you also noticed the / at the end of <source>, this is
simply to ensure the tag closes off. It's not required but is considered a
common practice. -->
Posted by: Guest on June-17-2021
1

HTML Video

<video width="320" height="240" controls autoplay muted>

  <source src="movie.mp4" type="video/mp4">

  <source src="movie.ogg" type="video/ogg">

Your browser does not support the video tag.

</video>
Posted by: Guest on May-31-2021

Browse Popular Code Answers by Language