How to center GitHub readme video horizontally?
I tried:
<p align="center">
<video src="myvideo.mp4" width=400/>
<p/>
It works when p
is containing img
(see) but not with video
tag in it
CodePudding user response:
I had the same problem recently try div instead of p tag
<div align="center">
<video src="myvideo.mp4" width=400/>
<div/>