Despite being new to the world of coding, I have been exploring ways to enhance the typography on my website. A tutorial I found on W3Schools touches on the usage of CSS for incorporating different font styles across my webpages. Among other things, it explains how to specify specific font families for different sections within an HTML document.
Intrigued by this concept, I began to wonder about the interaction between HTML and CSS. Shouldn't the doctype declaration at the top define this as an HTML file? How exactly does CSS influence the layout and styling of the fonts displayed on the webpage?