CSS
Cascading Style Sheet
This property sets the weight, or relative boldness, of a font. Values can be set with named values (normal, bold, bolder, or lighter) or with numbered values (100 through 900).
Example
<html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
font-weight: normal;
}
.text2
{
font-weight: lighter;
}
.text3
{
font-weight: bold;
}
.text4
{
font-weight: 600;
}
</style> </head>
<body>
<span class="text1">www.skillpundit.com</span>
</br><span class="text2">www.skillpundit.com</span>
</br><span class="text3">www.skillpundit.com</span>
</br><span class="text4">www.skillpundit.com</span>
</body> </html>
<head>
<title>Skillpundit</title>
<style type="text/css"> .text1
{
font-weight: normal;
}
.text2
{
font-weight: lighter;
}
.text3
{
font-weight: bold;
}
.text4
{
font-weight: 600;
}
</style> </head>
<body>
<span class="text1">www.skillpundit.com</span>
</br><span class="text2">www.skillpundit.com</span>
</br><span class="text3">www.skillpundit.com</span>
</br><span class="text4">www.skillpundit.com</span>
</body> </html>
Output