Hello im getting assertion error in following html code can anybody please fix it?

<!DOCTYPE html>
  <link rel="icon" href="favicon.png" type="image/png">
  <link href="mystyle.css" rel="stylesheet" type="text/css">
   Registration form </h1>

<form id="container"  method="post">

  <label>Name:</label><input type="text" name="name"><br>
  <label>Date of birth:</label><input type="date" name="dob"><br>
  <label>country:</label><input list="country">
  <datalist id="country">
    <option value="India"></option>
    <option value="United states"></option>
    <option value="United kingdom"></option>
    <option value="Australia"></option>
    <option value="France"></option>
    <label>Email:</label><input type="email" name="email"><br>
    <label>website:</label><input type="url" name="url"><br>

<button type="submit">submit</button>



I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

“Assertion error” is broad, there is more than likely additional text that follows. What is it?

Are you working on one of the projects? Which one?

Looking at your code I see;

  • lots of <br>. Don’t use <br> to force line breaks or spaces, that’s what CSS is for
  • there are two </body> and two </html> tags. There should be only one of each