HTML Font

HTML Font is used for display various font styles with text size. It’s very easy to implement in your html code with below examples.


Font Properties:
font-family: Select the font family for text
font-size: Select the font size of text
font-style: Select the font style for text
font-weight: Specifies the weight of a font
Example: 
font-family:”sans-serif”;
font-size:15px;

font-style
There are different style of font, example are given below (when copy and paste the given code then you can see the difference in html page.. It’s very simple and easy to use).
font-style: normal;
font-style: italic;
font-style: inherit;
font-style: oblique;



font-weight
There are different style of font weight, example are given below (when copy and paste the given code then you can see the difference in html page.. It’s very simple and easy to use).
font-weight: bold;
font-weight: bolder;
font-weight: lighter;
font-weight: normal;

For any technical guide you can feel free contact to us. We always happy to serve you.

Coding Tag

Coding Tag always happy to serve you in Information Technology (IT). Learn HTML, CSS, Javascript, PHP, Android, Digital Marketing, Latest IT News and many more.

Leave a Reply

avatar
  Subscribe  
Notify of