align video center html code example Example: html center video video { margin-left: auto; margin-right: auto; display: block }