More:

Saturday, 10 January 2015

HTML Tutorial – 5 (Styling Text in HTML) Bold, Italic, And Font Tag

HTML Tutorial – 5
(Styling Text in HTML)
Hello Everyone, in this tutotial we are going to learn about how you can simply style text in HTML. I mean how you can make text bold, italic or both, how you can change text color or font style etc.
Text display requirements are not always same. Sometimes we need specific colored text so we make it by special tags and their properties in HTML.
So let’s start, to make text bold we use <b> tag and to make text italic we use <i> tag. We can use both tags at once to get bold italic effect.



If you want to make any other modifications you have to use <font> tag in HTML.




When you press a space inside the starting tag you can see the list of its properties in an Advanced editor like Dreamweaver (You cannot see these helpful options in Notepad) you can select any property from there to make your tag modified according to your needs.

Like I have made some changes in the text inside font tag. Our Output will be:



As you can see properties I selected and modified took effect text in font tag. So now open your editors and practice it a little. Ask me if you have any question about it. Thank you for reading


Previous Tutorial                                                                                                                 Next Tutorial

No comments:

Post a Comment