Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJonathan Slack
3,197 PointsTry setting value attribute on the text input.
tried everything, still not working.
<input type="text" name="Hello World" value="Hello World">
Seab Jackson
5,692 PointsAm still not certain of what the question is...
Perhaps you're looking for this format?
<input type="text" value=" ">
value specifies the value of an <input> element. So if I wanna give my input the value John, I'd write it like so:
<input type="text" value="John ">
Jonathan Slack
3,197 PointsJonathan Slack
3,197 Points<input type="text" name="Hello World" value="Hello World">