HTML Font

by Yogesh Khanna 25-Jun-16

0 757


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.


Share:


Comments

    No Comments Yet.

Leave a Reply