- 1
Can <a></a> be used to make links to videos?
This is my code: <a href="https://www.youtube.com/watch?v=J---aiyznGQ&feature=youtu.be" target="_blank"> <p> This is a funny cat place :) </p> </a> When I run it it shows up, but there's a cross next to that line saying, "Named entity expected. Got none."
3 Answers
+ 1
put the <p>outside the <a> block instead, or better yet if a is inside another block like a div, change p to span instead
+ 1
Clever marketing of Charlie Schmidt's the keyboard cat debut video.
For advance HTML coding W3School.com: https://www.w3schools.com/html/default.asp
0
you can iframe it like this:
<iframe src="https://www.youtube.com/embed/AWx8VlnT8ZY" width=560 height=315 frameborder="0" allowfullscreen></iframe>
Just be sure that it's "www" not "m" or the header will not allow the frame to work