2. The method of claim 1 , further comprising creating a document object model from the electronic document; wherein the first element, the second element, and the immutability indicator are components of the document object model.
1. A method, comprising the steps implemented in a processor of: parsing an electronic document, wherein the electronic document is an HTML document; determining whether a first element of the electronic document specifies immutability of a second element of the electronic document; in response to determining that the first element of the electronic document specifies immutability of the second element of the electronic document, setting an immutability indicator associated with the second element of the electronic document; automatically setting the immutability indicator associated with the second element of the electronic document in response to an event, wherein the event comprises one of a) a passage of a predetermined amount of time since the second element was created, or b) issuance of a predetermined number of modification sequence numbers; receiving a request to modify the second element of the electronic document; determining that the immutability indicator associated with the second element of the electronic document is set; and responsive to determining that the immutability indicator associated with the second element of the electronic document is set, preventing the second element of the electronic document from being modified.