Browsers are not supposed to support this proprietary format. Even if you want your solution to be based on the MS Office format (which I would not recommend, but many sites to exactly that), you would need to define some mapping between some class of documents and HTML, represent the document as HTML, and provide the editing capabilities through editable HTML. When the document is updated by the user, you can convert it back to Office format using the mapping your defined.
Editable HTML can be based on this feature:
<div contenteditable="true">
<p>Some initial content, optional...</p>
</div>
If you add this fragment on your HTML page, the user will be able to edit it; and you will need to add formatting controls to such "editor".
Please see:
http://www.w3.org/TR/2008/WD-html5-20080610/editing.html[
^] (see 5.2),
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_Editable[
^].
There are many dedicated Javascript-based HTML editors you can use. Please see:
http://en.wikipedia.org/wiki/HTML_editor#WYSIWYG_HTML_editors[
^],
http://en.wikipedia.org/wiki/HTML_editor#Online_editors[
^].
—SA