Ins and del were introduced in HTML 4.0, which can help creators cooperate with each other when developing documents, and also maintain some editing (for example, it can reflect that the creator modified the document for a period of time and how he thought about it) and version control components (with the help of the software, it can restore the document to its state at a certain time).
property1.cite: The attribute value is the URI of a document or information resource. This attribute indicates why the explanation information of this document is changed.
2.datetime: The attribute value clearly states the date and time when the modification occurs.
The format of datetime attribute value: YYYY-MM-DDThh:mm:ssTZD
YYYY = 4-digit number represents year (0000-9999)
MM = 2-digit number represents month (01 - 12)
DD = 2-digit number represents day (01 - 31)
hh = 2 digits represent hours (00 - 23)
mm = 2 is a number for minutes (00 - 59)
ss = 2 is a number for seconds (00 - 59)
TZD = Time Zone Indicator
For example, the modification time is: 19:25:25 Beijing time on May 15, 2007
The datetime is written as :datetime=20070515T112525Z
Greenwich Mean Time is also known as Zulu, so it is represented by the Z value.
datetime=20070515T192525+08:00
Beijing time is 8 hours ahead of Greenwich Standard Time
This ensures that the writing may be different due to the different locations of the creator, but the general time is the same
Notice :Case sensitive, both T and Z must be capitalized
Time and minutes are necessary. If you don’t know the seconds or want to ignore them, you can use 00 to express them.
3.id, class, lang,dir, title, style
4.onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
usageIn HTML, the two elements ins and del can be used as block-level elements or inline elements, but they cannot be used as two elements at the same time. So they can contain one or several texts in the paragraph, or they can contain several block-level elements such as paragraph (p), list (ul, ol, dl), table (table), etc.
Copy the code