Issues Using h2 and h3 and Changing to use rem for font-size
Briefly

When transitioning from using div elements to h2 or h3 for headings, one may notice an emphasis in text appearance due to the default bold font-weight associated with headings. This is compounded by the text being resized from a smaller 17px to a significantly larger 4.125rem. Adjusting the font-weight in your CSS to 'normal' can prevent this bold rendering and help in maintaining a consistent visual style. Additionally, ensure that margins and paddings are adjusted to align elements properly after the change in HTML structure.
The default font-weight for headings in browsers is bold, which causes text to appear emphasized when using h2 or h3 instead of div.
Changing font-size from 17px to 4.125rem might also increase the perceived emphasis on the text, as larger text can draw more attention.
To maintain similar styling when switching from div to heading tags, consider explicitly defining font-weight in CSS to avoid unintended emphasis.
Ensure margins and padding settings are consistent across different element types to retain visual alignment and spacing when making HTML changes.
Read at SitePoint Forums | Web Development & Design Community
[
|
]