In the previous lesson, we got acquainted with text by setting the font type. Now let’s see how to style our text by analyzing bold, italics, and underlining.
To make this lesson easier, let’s revisit our text from the previous lesson:
Now let’s see how to write this sentence in italics using the i tag: verdana;”>Here is my first text Here is my first text
But how do I write text in bold, italics, and underlined all together?
The tags must follow a certain “hierarchy,” so we give precedence to bold, followed by italics, and closing with underline: verdana;”>Here is my first text
You need to open all the tags that identify the style and then close them after the text to be styled.
Pubblicato in HTML & CSS
Be the first to comment