Help please. I cant get the video code right in Make a Website


#1

I can't get the video to play and can't work out what I am doing wrong. Any help would be appreciated

<!DOCTYPE html>
<html>
<head>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
  <h1>Ollie Bike Sharing</h1>
  <h3>Share Your Pedals with the World</h3>
  <p>
    Need a set of wheels while you are in town? Use Ollie to pair your perfect vocation with a stylish, affordable bike rental.</>
 <p>Here is a <a href="cities.html">list</a> of cities where you can find us. </p>
<video width="320" height="240" controls>
<source src="https://s3.amazonaws.com/codecademy-content/projects/make-a-website/lesson-1/ollie.mp4" type="video/mp4> </video>

#2

I found two errors:
1. Have you closed all paragraph tags?
2. Are you sure that type="video/mp4 is correct?

If you are still unable to find the errors, try using any HTML validators like this.


#3

Thank you mfaheemakhtar. It was your second point. I had not closed the quotation marks. I have much to learn including being more careful! thanks again,


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.