DOCTYPE Declaration: The correct declaration should be <!DOCTYPE html> instead of <DOCTYPE! html>.
<html> Tag: The rel attribute is not valid for the <html> tag. It should be removed.
<header> Tag: The opening <header> tag is missing the closing angle bracket >. It should be <header> instead of <header.
<a> Tag: The <a> tag wrapping the DC Comics logo is not closed properly. Add </a> after the <img> tag.
<img> Tag: The <img> tag is not self-closed properly. Instead of <img></img>, it should be <img />.
<video> Tag: The src attribute of the <video> tag should point to a video file, not a webpage URL like YouTube. If you want to embed a YouTube video, you’ll need to use the YouTube embed code or iframe.
Closing Tags: The closing </input> tags for the input elements are not necessary. Input elements are self-closing and should not have closing tags.
To embed a video from YouTube into your HTML page, you can use an iframe element with the src attribute set to the YouTube video’s embed URL. Here’s how you can do it:
<!DOCTYPE html>
<html>
<head>
<title>Embedded YouTube Video</title>
</head>
<body>
<h2>Embedded YouTube Video</h2>
<!-- Replace VIDEO_ID with the actual ID of the YouTube video -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
</body>
</html>
Replace “VIDEO_ID” in the src attribute with the actual ID of the YouTube video you want to embed. You can find the video ID in the URL of the YouTube video after the “watch?v=” part. For example, if the URL of the YouTube video is “https://www.youtube.com/watch?v=VIDEO_ID”, then “VIDEO_ID” is the ID you need to use.
You can also customize the width and height of the iframe to fit your layout. Additionally, the frameborder attribute sets whether the iframe should have a border or not, and the allowfullscreen attribute allows the video to be viewed in fullscreen mode.