html font types code example

Example 1: font-style css

#example {
	font-style: normal; /* no specification, default */
  	font-style: italic; /* font is italic */
    font-style: oblique; /* font is italic, even if italic letters are not specified for font family */
    font-style: inherit; /* inherit property from parent */
	font-style: initial; /* default value */
}

Example 2: sans serif font family css

<style>
.sansserif {
font-family: Arial, Helvetica, sans-serif;
}
</style>

Example 3: font tag html

Not Supported in HTML 5 | Support till HTML 4
<font color="red" face="Verdana, Geneva, sans-serif" size="+1">
  Your formatted text goes here
</font>

Example 4: html tag

<!--The font tag is no longer supported in HTML5, 
you have to have HTML4.
Not all of the tags are needed. You can use 1 or more of them
to change what the text looks like.-->

<font color="color" face="font family or font" size="size">
	Go to my account profile to invite my Discord Bot! :DDDDDD
</font>