FAQ: Learn HTML - Intro to HTML - Videos

This community-built FAQ covers the “Videos” exercise in Codecademy’s lessons on HTML.

FAQs on the HTML exercise Videos

Join the Discussion. We Want to Hear From You!

Have a new question or can answer someone else’s? Reply (reply) to an existing thread!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources about HTML in general? Go here!

Want to take the conversation in a totally different direction? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account, billing, Pro, or Pro Intensive? Reach out to our support team!

None of the above? Find out where to ask other questions here!

Other FAQs

The following are links to additional questions that our community has asked about this exercise:

  • This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
  • Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
  • This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!

Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon (search) in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post (reply).

How do we know what the appropriate height and width should be? What are the units for these dimensions? And how do these map onto page size?

why the “Video not supported” is placed between the opening and closing of the tag ?

1 Like

Why are the links in quotation marks? I removed them and the webpage works just fine.

1 Like

I can not find a way to alter the video tag attributes so that the message “Video not supported” is shown. I only get the broken video placeholder in the same width and height that are specified in attributes. What must be done to see the text?

I am unable to complete the Video Not Supported section of the HTMl Video section. It looks exactly like the example, just with the text the exercises want.

</video src=“https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4” width=“320” height=“240” controls>
Video Not Supported

The duplicate /'s is there so you can see the actual text, and not the outcome of my text.


Question: Why are there quotation marks around the numbers 320 and 240 for width and height in the opening video tag? I removed them from the tag the code still works. Is this simply a coding convention?

Why won’t links from youtube work when I do the video exercise.
</video src=“https://www.youtube.com/watch?v=WFFoMOPQxhg” width=“380” height=“400” controls>Video not supported<//video >

I want to know this as well. For instance in the video portion of the html lesson it requests that I insert a link to the url using the video tag…but it doesn’t show the text having quotation marks, but is it just a given to always use the quotation marks when they are absent?

also, I noticed that in the same video lesson the link they wanted me to insert in the video tag ended with ```

example: https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4```

But in the actual text they showed the correct answer as leaving off the ```

This is a link to the lesson. https://www.codecademy.com/paths/web-development/tracks/learn-html-web-dev-path/modules/learn-html-elements/lessons/intro-to-html/exercises/videos-html

If you have any answers to this please let me know. I would greatly appreciate it.

1 Like

What is the difference between the title attribute and the alt attribute when adding a video element to my HTML document?

I would like to know the answer to this question as well, but havent found any answer yet.

Did you ever get a reply or figure this out? I am having the same issue. Even went so far as to copy and paste thinking I messed up the address.

I can not display the video, in error message it says I did not create a suitcase , here is my code below: video

<video src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-1/lesson-2/htmlcss1-vid_brown-bear.mp4">

That would be the correct way, you’re putting the source of the video in the content section, which is wrong.

This question was asked, but not answered. Why do we put “video not supported”?

Can I use one or more <source> tags inside the <video> element?

Hey there!
I tried testing the alternative text for the tag by taking a letter out of the link. Instead of replacing the video window with the text “Video not supported”, the video window is dark grey and gives no error code.

The instructions for the exercise say to wrap the video url in: . The trouble is, the “>” in the opening tag seems to be an error? The video won’t load with the tag typed as instructed:

Only by leaving OFF that second > does it load the video. So the correct instruction would have been for the opening tag to be written: <video (correct?)

If so, it would appear that there is an error in the directions.