4

I was reading that font weight is an optional value in the Short-Hand Font Property. Yet, if I don't state it, it will make everything font-weight: normal, including strong and heading elements. Can someone clarify this for me.

* {
  font: 100%/1.3 serif;
}
<h1>Heading one</h1>
<p>First paragraph.</p>
<p>Another paragraph, with <b>bold</b> and <strong>strong</strong>.</p>
mplungjan
  • 169,008
  • 28
  • 173
  • 236

1 Answers1

1

In shorthand font, the font-size and font-family are required. Everything else is optional. However, the values omitted will be set to their initial values, which in most cases is “normal”, as against “bold”. This is the case with headings, and strong and bold tags as well.

VorganHaze
  • 1,887
  • 1
  • 12
  • 35