Firebug Extension for Firefox pretty much allows you to edit anything.
In firefox > 3 you can use contentEditable for html elements I understood. A tag looks like this:
<div id="myEditableDiv" contentEditable="true">click here to edit ...</div>
you can control the editing process with 'execCommand' (see: msdn for command identifiers)