Not sure what u talking about.. but.. hmm you would have to edit the registry for the html extension.. put ur program in so that ur program starts up when a html is opened..then seach and edit the html just like a text file....

hope that helps