0

What can i add to a code like this ?

I went through a related topic under the HTML Course. The Topic was about embeding YouTube videos. <iframe width="320" height="240" src="https://www.youtube.com/embed/Q6_5InVJZ88"></iframe> What can I add to a code like this that it adjust always to the viewer screen and fits the vidoes at the center?

18th Nov 2021, 8:30 AM
Isaiah Egbokhan
Isaiah Egbokhan - avatar
1 Odpowiedź
+ 1
Do not fixed but relative width and height, set margin to auto. Style with CSS.
18th Nov 2021, 8:38 AM
Lisa
Lisa - avatar