Home Web Front-end HTML Tutorial Detailed explanation of using INS and DEL to mark documents to change usage_HTML/Xhtml_Web page production

Detailed explanation of using INS and DEL to mark documents to change usage_HTML/Xhtml_Web page production

May 16, 2016 pm 04:40 PM
del ins mark

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 the creator's modification of the document over a period of time and how he thinks) and version control (With the help of software, the document can be restored to its state at a specific time).

Attributes
1.cite: The attribute value is the URI of a document or information resource. This attribute is to indicate why the document was changed.
2.datetime: The attribute value clearly and in detail describes the date and time when the modification occurred
The format of the datetime attribute value: YYYY-MM-DDThh:mm:ssTZD
YYYY = 4 digits representing the year (0000-9999)
MM = 2 digits represent the month (01 - 12)
DD = 2 digits represent the day (01 - 31)
hh = 2 digits represent the hour (00 - 23)
mm = 2 digits represent the minute (00 - 59)
ss = 2 is a number representing seconds (00 - 59)
TZD = time zone indicator
For example, the modification time is: May 15, 2007 19:25:25 Beijing time

Datetime is written as :
datetime="20070515T112525Z"
Greenwich Mean Time is also called "Zulu", so the Z value is used to represent it
datetime="20070515T192525 08:00"
Beijing time is 8 hours ahead of Greenwich Mean Time
This ensures that the writing may be different due to different locations of the creator, but the universal time is the same

Note:
It is case-sensitive, T and Z must be capitalized
Hours and minutes are required, if you don’t know the seconds or want to ignore them, you can use 00 to represent them
3. id, class, lang,dir,title,style
4.onclick, ondblclick, onmousedown, onmouseup, onmouseover, onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

Usage
The ins and del elements in HTML can be used as either block-level elements or inline elements, but they cannot be used as both elements at the same time. So they can contain one or several words in a paragraph, or they can contain several block-level elements such as paragraphs (p), lists (ul, ol, dl), tables (table), etc.

Copy code
The code is as follows:

I have23cents


I have 3 Fenqian


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

I have 3 cents

< /p>

This is a wrong way of writing, that is, ins and del cannot be both block-level elements and inline elements at the same time
The display effect of ins and del on the page can be achieved through CSS Control, for example, read the ins and del effects of this article "How IE, FireFox, and Opera Browsers Support Alpha Transparency".
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

What does the del key mean? What does the del key mean? Feb 21, 2023 am 11:48 AM

The del key means "delete key"; the full English spelling of del is Delete, so the DEL key is also called the "Delete key"; the function of the del key is generally to delete the selected information.

How to mark minesweeper? -How to change the difficulty of Minesweeper? How to mark minesweeper? -How to change the difficulty of Minesweeper? Mar 18, 2024 pm 06:34 PM

How to mark minesweeper? First, we need to familiarize ourselves with the marking method in Minesweeper. Normally, there are two common marking methods in Minesweeper games: flag marking and question mark marking. The flag mark is used to indicate that there are mines in the block and is a deterministic mark; while the question mark mark indicates that there may be mines in the block, but it is not deterministic. These two marking methods play an important role in the game, helping players to infer which blocks may contain mines, so as to effectively proceed to the next step. Proficient use of these marking methods can improve the player's success rate in the minesweeper game and reduce the risk of stepping on mines. Therefore, when playing the minesweeper game, if the player has mastered the flag mark and question mark mark, when the player is not sure whether there is a mine in a certain square, he can use the question mark mark to mark it.

How to mark multiple locations on Baidu Maps How to mark multiple locations How to mark multiple locations on Baidu Maps How to mark multiple locations Mar 15, 2024 pm 04:28 PM

There are many functions above, especially for maps that can mark multiple places. When we know some places, we will definitely use some punctuation functions, so that we can bring you a variety of different aspects. Some of the functions you mark will produce distance differences, that is, you can know how far away they are. Of course, some names and detailed information of the above places will also be displayed. However, many netizens may not be familiar with some of the above. The content information is not very clear, so in order to allow everyone to make better choices in various aspects, today the editor will bring you some choices in various aspects, so friends who are interested in ideas, If you are also interested, come and give it a try. Standard

How to mark strikethrough text in HTML? How to mark strikethrough text in HTML? Aug 25, 2023 pm 10:45 PM

To mark strikethrough text in HTML, use the <strike>…</strike> tag. It will render a strikethrough text. This tag has been deprecated by HTML and should not be used in HTML5. As an alternative, you can use the CSS text-decoration property. To use CSS properties, use the style attribute. The style attribute specifies inline styles for the element. This attribute can be used with the HTML <p> tag. Keep in mind that HTML5 does not support the <strike> tag, so CSS styling should be used. Example you can try running the following

What is the difference between Del and remove() on lists in Python? What is the difference between Del and remove() on lists in Python? Sep 12, 2023 pm 04:25 PM

Before discussing the differences, let us first understand what Del and Remove() are in Python lists. Del Keyword in Python List The del keyword in Python is used to delete one or more elements from a List. We can also delete all elements, i.e. delete the entire list. Example of using del keyword to delete elements from a Python list #CreateaListmyList=["Toyota","Benz","Audi","Bentley"]print("List="

How to mark on Baidu map - specific operations of marking on Baidu map How to mark on Baidu map - specific operations of marking on Baidu map Mar 04, 2024 pm 08:46 PM

Are you also using Baidu map software on your computer? But do you know how to mark Baidu map? The following article brings you the specific operation of Baidu map mark. Let us take a look below. After entering the Baidu map, click on the upper right corner to select the region, as shown in the figure. After selecting the region, select the tool in the map, as shown in the figure. Select the mark in the map, as shown in the figure. Mark the map you want to mark. Here we use the front of Xicheng District, Beijing. Take No. 33 Qingchang Hutong as an example. Just select and save as shown in the picture.

Why is the ins account deactivated? Why is the ins account deactivated? Nov 21, 2023 pm 01:59 PM

Instagram accounts are suspended due to violation of community guidelines, impersonation of others, violation of intellectual property rights, large number of follows and unfollows, false promotion and fraudulent behavior, and violation of terms of use. Detailed introduction: 1. Violation of community guidelines, including prohibition on publishing, sharing or disseminating illegal, infringing, pornographic, violent and other harmful content; 2. Impersonating others, that is, creating an account that is very similar to a certain brand, public figure or other user. Or use other people's photos and names to conduct false publicity or deception; 3. Violation of intellectual property rights, etc.

Is Twitter an ins? Is Twitter an ins? Sep 16, 2022 pm 02:50 PM

Twitter is not Instagram. Twitter is a social network and microblogging service website. Simply put, it is a concise version of Weibo; while ins (full name Instagram) is a social application software running on the mobile terminal, similar to Moments. , but ins requires you to post pictures, not just text; you can share the pictures you capture at any time with each other in a fast, wonderful and interesting way.

See all articles