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

HTML Basics Forum

View Course » View Exercise

52 points
Picture
Submitted by
Aldrich Wingsiong
about 4 years ago

Do the start and end title tags always have to be in the same line?

Does exercise 1.4 emphasize the fact that the title tags should always be on the same line?


0 votes

permalink

Not necessarily. But its in habit of a good coder :)
The below code'll work too.Try it.

   <title>Its more clean to write this stuff in one line cuz its usually not very long and doesn't have anything too much formative. Just plain simple text called title :)
     </title>

743 points
Picture
Submitted by
Ronak Jain
about 4 years ago

2 Comments

58ee1def2ddfa314630001c6_770779860 Brian Haas about 4 years ago

Exactly :) It will work also if you dont put them into the same line... But for a good coder its a must to have them in the same line ;)

Picture Aldrich Wingsiong about 4 years ago

Wickeddd, thanks for the quick responses guys!