In how to make two <br /> in a row in html


#1

https://www.codecademy.com/courses/learn-html-elements/lessons/common-html-elements/exercises/line-breaks-html?action=resume_content_item&course_redirect=learn-html
That’s the lesson that I am on. I’d really like to understand what I’m missing.
The instructions say, 'In index.html, add two line breaks (
) after the sentence that ends with “Least Concern”.'
I’ve only just started learning code, so if it’s super simple you can chalk it up to the fact that I’m a noob.
Thanks!


#2

It’s just a matter of typing two tags…

<p>The brown bear (<em>Ursus arctos</em>) is native to parts of northern Eurasia and North America. Its conservation status is currently <strong>Least Concern</strong>.<br /><br />

Later on in your reading you will find that these tags are rather frowned upon, favoring new paragraphs, instead, but from a semantic view, it a paragraph is meant to remain in tact, line breaks are the next best thing.


#3

I tried that. Hmm. Maybe I just impute it incorrectly. Thank you!


#4

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