In this lesson, we are talking about text messaging and in particular about how to make text placed
within our age HTML document Bold Italic and underlined.
Let's start with shortening the contents in our P and F tags.
The key is paragraph and headers seen before.
So to better identify the new tags inserted, let's delete then the contents or part of the content
of our tags.
Therefore, let's delete.
Or the first part.
Of those in the video.
And let the leader also the final parts.
Here, let's exploit also the apparent keyboard command to help us select everything.
Age three.
OK.
Age four.
OK.
Age five and age six.
Once done this, let's save the file we have just modified, therefore, with our control or command
s, let's refresh to verify the contents have indeed been shortened.
And so it was and let's start inserting our formatting.
The first we are going to see is the B tag, the E, the tag relative to the boulder represented exclusively
by such a letter that will be substituted also by the tag strong.
The difference between B and strong is just a question of words.
The B tag has the aim of highlighting a text without giving importance to it, though, whereas the
strong tag gives importance to the inserted tag.
Therefore, if a browser visualizes the content of our HDMI file one seen the B tag, it will recognize
that the text is stressed, but it wouldn't make it as important as the strong tag.
So if we insert before the first paragraph, but after the P tag, our new B tag.
Cutting and pasting are closing tag, we would see that by saving and refreshing crome.
We have, as a result, our Bettag, which highlights the first paragraph.
In addition to this tag, obviously in a similar way, we can insert the strong tag they have for let's
cut this as well and inserted at the end of the second paragraph that say refresh.
And we can see that also in this case, the second paragraph gets highlighted exactly like the first
with this difference when read by a browser, it will have more importance than the previous one.
In the same way we can use the eye tag that is the tag relative to Italic and the E m tag, which has
the same identical function with the difference that also in this case it will give importance to our
text.
Therefore, if we want to insert an Italian text, we'd better insert an e-mail at this point, let's
say refresh and see the results.
You can see both are in Italy with the same difference between one and the other that we have just seen
for The Bold.
Finally, when we need to use a tag to underline, we have to use the tag, which we've substituted
in this case, I by saving and refreshing to actually underline the content of the first paragraph within
the headings tags from H1 to age six.
Obviously, the bowl would not be necessary because of course they are already highlighted within the
text and they have a certain point as being some headings of titles, subtitles ET.
We may apply here as well, and e m.
Therefore, and Italic, which will add itself to the bold and perhaps to an underlined which will be
added to the bone also in the heading to.
Therefore, let's save refresh and we see that the first heading that is age one is in bold and in Italy.
Why the second is in bold and underlined.
These aspects of text formatting placed in a HTML get inserted using the tags we have just seen, we'll
see then later on in the park relative to the size sheet how these and other type of text formatting
may be implemented using an external sheet.
For the moment, you can use the tags in this way to get some practice.