You Try It: Bold and Italic Formatting Tags
-
Log in to Repl.it and open the You Try It - practice space repl.
-
Add these two paragraphs to your html code just below the closing paragraph tag for 'My first paragraph':
<p>When formatting text on a web page, I can use strong and emphasis formatting tags
to draw attention to a certain word or groups of words. Even full sentences can be emphasized.</p>
<p>These formatting tags can also be used together for major emphasis.</p>
-
Now add formatting tags to the paragraphs so that your finished paragraphs look like this when viewed in a browser:
When formatting text on a web page, I can use strong and emphasis formatting tags
to draw attention to a certain word or groups of words. Even full sentences can be emphasized.
These formatting tags can also be used together for major emphasis.
-
See if you can figure out how to place the tags to make the text display correctly. Be sure to include opening and closing tags. If you have trouble with the code or just want to check your solution, click here to reveal the code that created the text displayed above.
- Be sure to run your code to see how it looks as a web page. Your page should now look like this:
If it doesn't look like this, go back and edit the code. Run the code again. Keep working until the display is exactly correct!