1/11
Looks like no tags are added yet.
Front property
A property that styles the font in HTML.
Font-size
A font property used to set the size of the font.
Font-weight
A font property used to set the boldness of the font.
Font-family
A font property used to set the typography of the font.
Static metrics
Font size measurements that do not vary throughout the development, such as pixels (px) and points (pt).
Relative metrics
Font size measurements that may vary depending on other tag's values, such as em and rem.
Px
A static metric that represents 0.26mm.
Pt
A static metric that represents 0.35mm.
Em
A relative metric that represents 100% of the parent element's font size.
Rem
A relative metric that represents 100% of the root element's font size.
Font weight representation
Can be done using keywords (normal, bold, light), relative keywords (lighter, bolder), or numbers (100-900).
Importing new fonts to HTML
Search for the desired font in Google Fonts, copy the HTML link and paste it in the head section of the HTML file, and copy the CSS rule to apply the font in the stylesheet.