help opening local html file with default browser

I would like to have a applescript launch the default browser on a local html file.
also, are there any limitations on this script (assuming it can be done), if the user is using an old macOS? In other words does anyone know the first macOS when default browser was a property?
thanks -jordan

You can make your .html file open in the favorite browser by changing its creator type also.

on open this_file 
 tell application "Finder" 
  set creator type of item 1 of this_file to "udog" 
 end tell 
end open