If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

So href is used to create a hyperlink. If you wanted to link to another URL or another page on your site. The below code would take you to google by clicking "here".

HTML Code:

Go to google by clicking<a href='www.google.com'>here</a>

Now to answer your question. JavaScript and the onload function is not needed to make something bold with CSS. Below will work, which is what you already have. I suppose I should ask what are you trying to do?