HTML Text Styling

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.

Programmazione HTML
Programmazione HTML

To make this lesson easier, let’s revisit our text from the previous lesson:

verdana;”>Here is my first text . Basically, everything enclosed within the body tags is written in Verdana Bold style.

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

Se vuoi rimanere aggiornato su HTML Text Styling iscriviti alla nostra newsletter settimanale

Be the first to comment

Leave a Reply

Your email address will not be published.


*