I can bold "a" and "p" but not H1 or H in general.
Here is my code and a picture of how it looks
:
<link rel="stylesheet" href="style.css">
<style>
.bold {
font-weight: bold;
</style>
<div style="text-align:center" class="nice bold">
<h1 class="green">InsertName</h1>
<p>Options:</p>
<a class="special" href="#abs">|About Us|</a>
<a class="special" href="#test">|Test Page|</a>
<a class="special" href="#shop">|Shopping List|</a>
<a class="special" href="#html">|How to HTML|</a>
<a class="special" href="#homework">|Homework|</a>
<a class="special" href="#fonts">|Fontblog|</a>
<a class="special" href="#colortest">|Colors|</a>
</div>
.nice {
font-family: 'Titillium Web', sans-serif;
}
.link }```
Read more here: https://stackoverflow.com/questions/65718259/bold-font-is-working-for-everything-except-for-h1-h2-h3
Content Attribution
This content was originally published by umbreonben at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.