Apologies in advance for what may seem like a basic question, but I'm encountering a perplexing issue.
Despite specifying web-safe fonts like Didot using the code:
header h1{
font-family: Didot, serif;
font-size: 36px;
}
my browser continues to only display the standard serif font.
Even when trying other web-safe options like Arial and Helvetica, there is no change in the displayed font. The selector seems to be correct as it successfully toggles between serif and sans-serif, but refuses to render any other web-safe fonts.
I am a beginner working with a simple setup - just an HTML page linked to a CSS file opened directly in my browser (file:///C:/Users/Agent%201/Desktop/Web%20Projects/ResumeSite/index.html). This issue persists across Chrome and Edge.
Could there be an error in my CSS code? Or are there limitations when viewing a local HTML file in a browser?
Please forgive me if this question sounds trivial, I've exhausted all resources and solutions like utilizing !important or adjusting selectors, to no avail.
Thank you in advance for any insight or assistance!