Get computed font-family
HTML
<p id="paragraph">I am a paragraph.</p>
CSS
p {
font-family: "Times New Roman", Times, serif;
}
JavaScript
var el = document.getElementById("paragraph");
var style = window.getComputedStyle(el, null).getPropertyValue("font-family");
el.innerHTML = style;