FAQ: Learn HTML Elements - Intro to HTML - Videos

#1

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!

#2

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).

#6

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?

#7

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

#8

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

1 Like
#9

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?

#10

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
<//video>

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

2 Likes
#11

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?

#12

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

#14

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
#15

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

#16

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

#17

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.