Width and height attributes

Report a typo

Set width and height attributes to the video.

Please note that the video won't be displayed. It's just to practice writing attributes properly.

Write HTML and CSS code
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Video object</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<video src="video.mp4" controls loop></video>
</body>

</html>















Completed 0 of 2
Add width attribute is equal to 500
Add height attribute is equal to 300
___

Create a free account to access the full topic