There is a bug with the code tags. You need to uncheck the disable html markup in order for it to work right.
You are not referencing anything, so that should be throwing an error.
you need a reference to the object [link] to do that, you need to use this.
this.style.fontWeight = "bold";
Eric