** lang
attribute set to en
- what does that mean and what am I doing wrong?**
Describe your issue in detail here.
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/116.0.0.0 Safari/537.36
Challenge: Learn HTML Forms by Building a Registration Form - Step 2
Link to the challenge:
Fahim05:
lang="en"
This part is fine
Fahim05:
<html/
This though isn’t a proper start to your tag. Also, you are missing a closing tag for this element.
1 Like
Why doesnt the below work?
<lang=“en”>
Because that is not an html
element
2 Likes
<!DOCTYPE html lang="en">
and
<!DOCTYPE html>
< lang="en">
No working…
That’s also not a html
element. It has to start with <html ....
to be an html
element
1 Like
Did you fix it so it is a html
element?
<html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/><html lang="en"/>
Writing the same thing that many times will probably not pass the tests.
Did you add a corresponding closing tag?
I’ve edited your code 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 (').
1 Like
Fahim05
October 20, 2023, 4:58pm
12
Still not working…
<!DOCTYPE html>
<html lang="en"/>
What’s your new code? I unfortunately (probably fortunately actually) cannot remotely view your computer screen and see what is not working
Fahim05
October 20, 2023, 5:02pm
14
I cant seem to post my code on here keeps disappearing…
JeremyLT:
I’ve edited your code 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 (').
Did you see this post I made?
Ah, here’s you code. You didn’t format it.
I think you keep missing this part of what I’m saying.
Fahim05
October 20, 2023, 5:09pm
17
Not clear on how I format it and its got > so a closing tag is included right?
Can you say what part of the formatting instructions are unclear?
JeremyLT:
I’ve edited your code 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.
No, a > is not a tag. A tag has both a < and a >
You have an opening tag with a < and a > but you do not have a closing tag.
Fahim05
October 20, 2023, 5:31pm
19
Here…still not working
<a lang='en'>
</a>
<html/>
I’ve edited your code 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 (').