Answers for "how to to cente the vedio in html"

1

html center video

video {
    margin-left: auto;
    margin-right: auto;
    display: block
}
Posted by: Guest on May-08-2020
1

html center youtube video

<!-- Add the <center> to the start and end of the iframe :D -->
<center><iframe width="560" height="315" 
src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" 
allow="accelerometer; autoplay; clipboard-write; encrypted-media; 
gyroscope; picture-in-picture" allowfullscreen></iframe></iframe></center>
Posted by: Guest on November-25-2020

Browse Popular Code Answers by Language