A method for editing Web-based documents and a software package for
implementing the method is provided. The method can include receiving
from a user an indication of a selected portion of a Web-based document
to be edited and of a desired editing function to be performed on the
selected portion and inserting immediately prior to the selected portion
a first editing tag corresponding to the desired editing function. Also,
the method may include detecting object tag elements within the selected
portion, inserting immediately prior to each object tag element within
the selected portion a second editing tag corresponding to the desired
editing function and inserting the second tag at the end of the selected
portion, and inserting immediately after each object tag element within
the selected portion the first editing tag, wherein the first and second
editing tags are distinguishable from the object tag elements.