In Windows 7 RC1:
click Start, Control Panel, [view by (Small or Large) Icons], Default Programs, Associate a file type or protocol with a program
Check extensions: .htm and .html
Notice, they can be set to 2 different programs, such that a .htm extension could be opened by Firefox, and a .html extension could be opened by Internet Explorer.
Further, check the bottom of the list for the HTTP and HTTPS protocol associations.
As another poster alluded to: these file associations are for links called (clicked on) when the PROGRAM calling them does not override Window's defaults. (Now that I think about it, I vaguely remember certain links on some web sites that would force open Internet Explorer, even though I had Firefox as the default association, but don't quote me on that! :-) )
As an afterthought, I do not know which takes precedence: the extension association or the protocol association. In other words, suppose both .htm and .html are set to open with Firefox, but both the HTTP and HTTPS protocols are set to open with Internet Explorer. Some programs recognize a simple link: www.techrepublic.com , but others only recognize a full link: https://www.techrepublic.com
As a quick and dirty test: I just set my HTTP protocol association to Internet Explorer. Then, in an Excel cell, I typed: www.techrepublic.com , which Excel interpreted as a link (I did not type the http:// , but, while hovering over the cell, Excel showed it to be a full link. When I clicked on it, it opened in Internet Explorer. When I changed the HTTP protocol association to Firefox, the clicked link in the cell opened in Firefox.
Your mileage may vary.