Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use INS and DEL to tag documents to change usage

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to use INS and DEL markup documents to change usage", the content is easy to understand, well-organized, hope to help you solve your doubts, the following let Xiaobian lead you to study and learn "how to use INS and DEL markup documents to change usage" this article.

Ins and del were introduced in HTML4.0 to help creators cooperate with each other when developing documents, while also maintaining editors (such as reflecting how the creator modified the document over a period of time) and version control (with the help of the software, the document can be restored to its state at a particular time).

Attribute

1.cite: the attribute value is the URI of a document or information resource. This property indicates why the interpretation of the document has been changed.

2.datetime: the attribute value clearly specifies the date and time when the modification occurred

Format of datetime attribute value: YYYY-MM-DDThh:mm:ssTZD

YYYY = 4 digits for the year (0000-9999)

MM = 2 digits for month (01-12)

DD = 2 digits for the day (01-31)

Hh = 2 digits represent hours (00-23)

Mm = 2 is a number indicating minutes (00-59)

Ss = 2 is a number indicating seconds (00-59)

TZD = time zone indicator

For example, the modification time is 19:25:25 Beijing time on May 15, 2007.

Datetime is written as follows:

Datetime= "20070515T112525Z"

Greenwich mean time is also called "Zulu", so it is represented by Z value.

Datetime= "20070515T192525+08:00"

Beijing time is 8 hours earlier than Greenwich mean time

This ensures that it may be written differently depending on the location of the creator, but the universal time is the same.

Note:

Case sensitive. Both T and Z must be uppercase.

Hours and minutes are necessary. Do not know seconds or want to ignore seconds can be expressed as 00.

3.id, class, lang,dir,title,style

4.onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

Usage

Ins and del can be used as both block-level and inline elements in HTML, but not both. So they can contain one or more text in a paragraph, or several block-level elements such as paragraphs (p), lists (ul, ol, dl), tables (table), and so on.

Copy the code

The code is as follows:

I have 23 cents.

I have three cents.

Creators can comment on inserted or deleted elements through the title attribute, and a user agent (such as a browser) may display this information to the user

I have three cents.

This is a mistake, that is, ins and del cannot be both block-level and inline elements at the same time.

The display of ins and del on the page can be controlled by CSS.

The above is all the content of the article "how to use INS and DEL markup documents to change usage". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report