The explanation of ins from the information is: defining an inserted text. I don’t know if you are familiar with the ins tag.
The data explains ins as: defining an inserted text. insThere are two standard attributes: cite and datetime . The value of cite is a URL, which points to another document, used to explain the reason for the new text insertion; the value of datetime is a time, used to specify the date and time of text insertion, The format is YYYY-MM-DDThh:mm:ssTZD, where:
YYYY = 4 digits representing the year (such as 2008)
MM = 2 digits representing the month (such as 01,02,.. .12)
DD = 2 digits representing the day (such as 01,02,...31)
hh = 2 digits representing the hour (such as 01,02,...24)
mm = 2 is a number representing minutes (such as 01,02,...60)
ss = 2 is a number representing seconds (such as 01,02,...60)
TZD = Time zone indicator
If the modified time is: May 28, 2008 21:05:00
Then the way to write datetime in Greenwich Mean Time is: 2008-05-28T21:05:00Z ;The writing method according to Beijing time is: 2008-05-28T21:05:00+08:00. Because Beijing time is 8 hours ahead of Greenwich Mean Time.
So what is inserting a text? As the name suggests, it refers to inserting a new text into the original document. When using ins, we usually use another del tag, which is used to define the deleted text in the document.
For example, a sentence of news: "A 7.8-magnitude earthquake occurred in Wenchuan, China on May 12." Now it has been revised to level 8.0 after expert survey. Then you can use ins to insert new text to modify this sentence:
5.12 What happened in Wenchuan, China7.8 8.0 magnitude earthquake
After modification:
5.12 China Wenchuan 7.8##8.0 earthquake occurred
Thecite and datetime values The reason and date for the modification were explained.
Another example: "There are 200 tents in the warehouse". After shipping today, there are still 100 tents left: Existing in the warehouse200100tents
The above two usedel and ins The example allows us to clearly know when the document was modified, why it was modified, and when it was modified.
The above is the detailed content of Explanation of rules for using ins tags. For more information, please follow other related articles on the PHP Chinese website!