Microsoft's Control Pad is a tool you can use to insert and ActiveX objects into HTML pages. Although Control Pad isn't very good at editing plain old HTML, it works well when editing and scripting ActiveX controls. As if that weren't enough, it's free from Microsoft.
Check out the color changing label described in Chapter 5