Skip to content

Instantly share code, notes, and snippets.

@nm-scripts
Created May 6, 2020 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nm-scripts/4034682a9c4ade953e72e478ce61f5b5 to your computer and use it in GitHub Desktop.
Save nm-scripts/4034682a9c4ade953e72e478ce61f5b5 to your computer and use it in GitHub Desktop.
CSS Tutorial » CSS Text Bold - The font-weight property sets how thick or thin characters in text should be displayed. https://www.agernic.com/css-tutorial/css-text-bold.html
<!DOCTYPE html>
<html> <head>
<title>CSS Text Bold - examples - example</title>
<style>
div.bold1 {
font-weight: normal;
}div.bold2 {
font-weight: bold;
}
div.bold3 {
font-weight: 900;
}
</style>
</head>
<body>
<h1>CSS Text Bold. The font-weight Property</h1>
<div class="bold1">Here your text.</div>
<div class="bold2">Here your text.</div>
<div class="bold3">Here your text.</div>
<h2>CSS Text bold. The font-weight Property using inline CSS</h2>
<p style="font-weight:bold; color:blue;"> I'm a big, blue, <strong>strong</strong> paragraph </p>
<h3>HTML simple Text bold.</h3>
<strong> I'm a big, blue, <strong>strong bold</strong> paragraph </strong>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment