Learn HTML Forms by Building a Registration Form - Step 2

Tell us what’s happening:
This is the question: Below the DOCTYPE , add an html element with a lang attribute set to en , so that you have a place to start putting some code.
I’ve done it and searched on google but it keeps saying that my code does not pass. I don’t know if I have done something wrong. Could someone please help.

Your code so far


<!-- User Editable Region -->

<!DOCTYPE html>
<html lang="en">

<!-- User Editable Region -->

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Challenge: Learn HTML Forms by Building a Registration Form - Step 2

Link to the challenge:

The html element requires both an opening and closing tag because you can put content in it.

1 Like

Thank you for the tip. It worked.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.