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


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>
  <title>Ollie Bike Sharing</title>
  <meta charset="utf-8"/>
  <link rel="stylesheet" type="text/css" href="main.css">
  <h1>Ollie Bike Sharing</h1>
  <h3>Share Your Pedals with the World</h3>
    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="" type="video/mp4> </video>


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.


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,


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