FAQ: Learn HTML: Forms - Text Input

This community-built FAQ covers the “Text Input” exercise from the lesson “Learn HTML: Forms”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Introduction to HTML

FAQs on the exercise Text Input

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

1 Like

5 posts were split to a new topic: Old html bug

A post was split to a new topic: Is text the only value for type?

3 posts were split to a new topic: What’s the difference between the name and id attributes?

3 posts were split to a new topic: Why does input not require a closing tag?

2 posts were split to a new topic: What does the localhost username do?

4 posts were merged into an existing topic: Why does input not require a closing tag?

2 posts were split to a new topic: Can the value be overwritten?

3 posts were split to a new topic: How can I create a default value that disappears when the user types in the form?

2 posts were merged into an existing topic: What’s the difference between the name and id attributes?

Not sure if it’s okay to post non-questions here but I noticed once I added the “name” attribute with the “username” value and ran the code, my LastPass browser extension populated the option to try auto-filling the text field. Guess that means one way they determine which fields might need to be filled is by looking for certain values under the “name” attribute? Pretty neat!

the questions i am trying to do are right but the website is counting them wrong. Why is that?