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 trialDavid Elston
8,112 Points<br> doesn't work for me
I tried closing it, nope, adding multiples, nope. Is <br> working correctly in Workspaces?
3 Answers
Steve Hunter
57,712 PointsHi David,
Can you share your code, please?
Thanks,
Steve.
David Elston
8,112 PointsI just followed right along with the HTML forms code for the radio buttons lesson and found that even after triple checking, saving and refreshing the page it didn't produce the line break.
However I just finished the following lesson and it worked as expected on that lesson.
<label>Age:</label>
<input type="radio" id="under_13" value="under_13" name="user_age"><label for="under_13" class="light">Under 13</label>
<br>
<input type="radio" id="over_13" value="over_13" name="user_age"><label for="over_13" class="light">Over 13</label>
Jason Anders
Treehouse Moderator 145,860 PointsHey David, The line break tag is a single self-closing tag.
Did you try?
</br>
David Elston
8,112 PointsHi Jason,
I did attempt that but it also didn't work. Perhaps this was just an anomaly, because I tested it on the next lesson's work space and it worked as expected.
Oh well.