answersLogoWhite

0

Use .style.fontWeight to refer to that property. For example:

var myHTMLElement=document.getElementById("myElement");

myHTMLElement.style.fontWeight="bold"; //Makes text in that element bold

User Avatar

Wiki User

13y ago

What else can I help you with?