fontWeight: 400
을 가져온 것이다let font = new FontFace('NanumBarunGothic', 'url(//cdn.jsdelivr.net/font-nanumlight/1.0/NanumBarunGothicWeb.woff)');
font.load().then(function(loadedFont)
{
document.fonts.add(loadedFont);
}).catch(function(error) {
});
document.body.style.fontFamily = 'NanumBarunGothic';
let text = document.createElement('div');
text.innerHTML = `<h4><strong>Hello</strong></h4>`;
document.body.style.fontFamily = 'Arial';
let text = document.createElement('div');
text.innerHTML = `<h4><strong>Hello</strong></h4>`;
기본 폰트인 Arial에 이렇게 strong을 적용하면 볼드체로 나오는 것을 확인할 수 있다