My html code only works locally but not on mywebsite

this code

<!doctype
 html>

<html>


<head>  </head>

<a href= "https://studio.youtube.com/video/Edq0IVDYvwg">
crows</a>

<body>


<p> please clck this link

<p/>
</body>


</html>

Hey @satman49,

Looks like there are a few small HTML issues that might be causing problems. Try moving the <a> tag inside the <body> tag, and fix the <p> closing tag—it should be </p>, not <p/>. Also, don’t forget to fully close your <!doctype html> declaration. Here’s a cleaned-up version that should work better:

html

CopyEdit

<!doctype html>
<html>
<head></head>
<body>
  <p>Please click this link:</p>
  <a href="https://studio.youtube.com/video/Edq0IVDYvwg">crows</a>
</body>
</html>

Give that a shot and see if it works on your site!

Your link is also not a real link to a video if that’s what you are trying to do. That looks like a link only for the channel owner to manage that specific video. Meaning its not a public video, only the channel owner or people with access can view that video. The general public can not