Is there a way, using javascript, to display within a web page the font-family being used for a tag? For instance, I would like to show the font-family being used for the h1 tag.
I know I can go into the CSS and simply put the font family on the webpage, but I was hoping for a more programmatic approach in the event someone changed the font-family.
I also know I can go to the browser developer tools and look, but I was trying to simply show it on the page.