Monday, October 14, 2013

Filled Under:

How to give font styles

Hey everyone how are you all today
The topic for today is how can we change the font style?

This is very very very simple guys you don't need to worry about it.After reading this post you all will be able to change font style like you do in your notepad etc.
So the 5 main font styles are

Bold: Your text will appear in bold,very much prominent 
Italic: Your text will appear in italic format.
strong: This is used for the text which for users to be aware that the written text is important
emphasized: This is also a format for users to understand as important.
code: Text will appear as the output of the computer.
<html>
<body>

<p><b>Text will appear in bold</b></p>
<p><strong>Text will appear as strong</strong></p>
<p><i>Text will appear in italic</i></p>
<p><code>This is the format how the computer gives the output</code></p>
<p><em>Text will appear as emphasized</em></p>


</body>
</html>


Very simple guys,just open the html and body tags,give the paragraph tag,because your will be writing a paragraph,you can also style headings in the same way.
now give the tags and write the sentence <b> hello 
</b><b> is for bold
<i></i> is for italic
<em></em> is for emphasized.

I hope you don't have any problems yet.If you do have any questions please do ask.




0 comments:

Post a Comment