In this lesson we're going to be working with formatting text making Text Bold Italic underlined and
other formatting options.
Let's start with creating a text element in making it bold.
We'll start by creating a new paragraph under our last header
to make this text bold.
We would add the following tags around the text we just typed strong it's a strong open tag and a corresponding
strong close tag.
Now let's save this file.
And take a look at it in our web browser.
So this is what the bold text looks like.
Now we want a second line of text directly under this bold text line
so using the tab key you can indent just to keep the format of your CLO code clean and organized
this next text element.
We're going to we're gonna make it italic to make it italic.
You use the E M E m sorry tag
and the E M tag does have a corresponding close tag
remember if we want if we want this italic text line directly under the bold text line we need to add
a line break
and we'll add another break here because right underneath this we're gonna add an underlined text which
is created with the U tag
we can also insert a straight through our text using the stripe tag.
It also has a corresponding closing strike tag
so let's take a look at what this looks like so far
so here we can see we have our bold text italic text underlined in strike through text it's what it
looks like in the browser.
Now let's go ahead and just add another break for this next line.
We're gonna combine a variety of different formatting options together so let's type the text first.
So we want to apply.
We want to make this line of text bold italic and underlined
so we'll begin by adding all our tags
we can start with any the order doesn't matter so we'll start with italics and we'll create the Close
the closing tag at the end.
So as you can see the the tags must be closed in the same order they were open
we'll save that.
So there it is we have a line of text that's bold italic and underlined.