This forum is now read-only. Please use our new forums at discuss.codecademy.com.

HTML Basics Forum

View Course » View Exercise

11 points
29c3b79d13b2c2ee60d8a2d776bb24c8?s=140&d=retro
Submitted by
Momo324
almost 5 years ago

Ex: How can I make the text end up on different lines.

say when you are writing on word on you computer, and you press enter/return and it goes to a new line, how can you do that so that on the website, the text is on different lines.


1 vote

permalink

IN HTML it's <BR> break line

250 points
51860838027198f7f9743527e93619c0?s=140&d=retro
Submitted by
Peter
almost 5 years ago

1 Comment

2300dda4644e0e41f2d6a42d371e560b?s=140&d=retro ovrzls almost 5 years ago

Another way is to wrap your text in a paragraph tag(eg. para onepara two)


1 vote

permalink

simply use < br> tag so that you can break the sentence.

349 points
51418aa1ba269b4e000040e7_720675170
Submitted by
P.Siva Durga Venkatesh
over 4 years ago

1 Comment

2de5a9d342a6f6f7447ef51bb3c6de01?s=140&d=retro henryPilime over 4 years ago

make use of tag


0 votes

permalink

Hello Momo324,
Are you ready to restart again? If you have any difficulties just post them in the Q&A forum. The number of people willing to help is growing exponentially. Have a nice Summer.

2946 points
5533b41186f55278520000c6_295543857
Submitted by
tony de araujo
over 4 years ago


0 votes

permalink

Use the element.

1210 points
Fb6f13fcbef596b703d337caf56196d0?s=140&d=retro
Submitted by
Joel.Miles925
about 3 years ago