This forum is now read-only. Please use our new forums! Go to forums
banner
Close banner
I tested out the first paragraph without the first ‘p’ tag in the exercise module and it did the same thing it did when the first ‘p’ tag was there. Then I did the same thing by removing the ‘p’ tag from the second paragraph, and this time placed the ‘p’ tag before and after the first paragraph, and it worked here too.
If there is an explanation, please incorporate that into the lesson itself.
Answer 51dffe8d9c4e9dad0200986b
7
votes
Hi bobby,
Text can either be placed by itself or in paragraphs, but it’s generally bad practice to place text by itself.
Later on, when you get onto styling and CSS, you’ll be able to change your text’s colours, fonts, size, etc. If your text is in a p tag, you know that you can tell CSS to make your desired changes to ‘p’.If your text is just sitting on the page by itself, unless you target the entire body (which will change everything on the page, not just certain elements like p), you have no way of making any changes to that text.
1 comments
about 11 years
Thanks.
Answer 51e7b67f631fe9c808002045
Popular free courses
Free Course
Learn SQL
Beginner friendly,
4 Lessons
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.
Language Fluency
Free Course
Learn JavaScript
Beginner friendly,
11 Lessons
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.
Language Fluency
Free Course
Learn HTML
Beginner friendly,
6 Lessons
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.
Language Fluency