Forum Moderators: travelin cat
it would be more helpfull if you'd describe your problem more excatly. Which application should show the html files as text? The built in apache server? The OSX text editor?
I suppose you mean the text editor because by default it opens html files in wysiwyg mode which is somehow disturbing or at least confusing. If that's your problem just edit the preferences of TextEdit. There's a option you can set so that html files are not rendered but opened as plain text instead.
HTH