search
HomeWeb Front-endHTML TutorialDetailed explanation of using INS and DEL to mark documents to change usage_HTML/Xhtml_Web page production

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



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
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
del键是什么意思del键是什么意思Feb 21, 2023 am 11:48 AM

del键是“删除键”的意思;del的英文全拼是Delete,因此DEL键也称“Delete键”;del键的功能一般是将选中的信息删除掉。

扫雷怎么标记?-扫雷怎么更改难度?扫雷怎么标记?-扫雷怎么更改难度?Mar 18, 2024 pm 06:34 PM

扫雷怎么标记?首先,我们需要熟悉扫雷游戏中的标记方式。通常情况下,扫雷游戏中有两种常见的标记方式:旗子标记和问号标记。旗子标记用来表示该方块中有地雷,是一种确定性的标记;而问号标记则表明该方块可能存在地雷,但并非确定性。这两种标记方式在游戏中起着重要的作用,帮助玩家推断哪些方块可能存在地雷,从而有效地进行下一步操作。熟练运用这些标记方式可以提高玩家在扫雷游戏中的成功率,降低踩雷的风险。因此,在玩扫雷游戏时,掌握好旗子标记和问号标记的当玩家不能确定某一个方格是否有地雷时,可以使用问号标记来进行标记

百度地图怎么标记多个地点 标记多个地点方法百度地图怎么标记多个地点 标记多个地点方法Mar 15, 2024 pm 04:28 PM

  上面的功能非常的多,尤其是对于在地图方面可以标记到多个地方的一些为止,我们在知道一些地方的时候,肯定是采用标点的一些功能,这样就可以为你们带来多种不同方面的一些功能,你们所标点都会产生距离的差异,也就是可以知道距离究竟有多远,当然也会显示出上面地点的的一些名称和详细的信息都可以,但是很多网友们可能对于上面的一些内容资讯都不是非常的清楚,所以为了能够让大家们更好的进行多方面的一些选择,所以今日小编就来给你们带来多种不同方面的一些选择,所以有兴趣想法的朋友们,你也感兴趣的话,就来试一试吧。  标

如何在HTML中标记删除线文本?如何在HTML中标记删除线文本?Aug 25, 2023 pm 10:45 PM

要在HTML中标记删除线文本,请使用<strike>&hellip;</strike>标签。它会呈现一个删除线文本。HTML已经弃用了这个标签,在HTML5中不应该使用它。作为替代,可以使用CSS的text-decoration属性。要使用CSS属性,请使用style属性。style属性为元素指定了内联样式。该属性可以与HTML的<p>标签一起使用。请记住,HTML5不支持<strike>标签,所以应该使用CSS样式。示例您可以尝试运行以下

Del和remove()在Python中的列表上有什么区别?Del和remove()在Python中的列表上有什么区别?Sep 12, 2023 pm 04:25 PM

在讨论差异之前,让我们先了解一下Python列表中的Del和Remove()是什么。Python列表中的Del关键字Python中的del关键字用于从List中删除一个或多个元素。我们还可以删除所有元素,即删除整个列表。示例使用del关键字从Python列表中删除元素#CreateaListmyList=["Toyota","Benz","Audi","Bentley"]print("List="

百度地图如何标记-百度地图标记的具体操作百度地图如何标记-百度地图标记的具体操作Mar 04, 2024 pm 08:46 PM

你们电脑中是不是也在使用百度地图软件呢?不过你们知道百度地图如何标记吗?下面这篇文章就为大伙带来了百度地图标记的具体操作,让我们一同来下文看看吧。进入百度地图后点击右上角选择地区,如图选择好地区后在地图中选择工具,如图在地图中选择标记,如图标记,自己想要标记的地图,在这里我们以北京市西城区前青厂胡同33号为例,如图直接选择保存就好了,如图

ins账号被停用是什么原因ins账号被停用是什么原因Nov 21, 2023 pm 01:59 PM

ins账号被停用是因为违反社区准则、冒充他人、违反知识产权、大量关注和取消关注、虚假宣传和欺诈行为和违反使用条款造成的。详细介绍:1、违反社区准则,包括禁止发布、分享或传播违法、侵权、色情、暴力等不良内容;2、冒充他人,即创建了与某一品牌、公众人物或其他用户极其相似的账号,或者利用他人的照片、姓名进行虚假宣传或欺骗行为;3、违反知识产权等等。

推特是ins吗推特是ins吗Sep 16, 2022 pm 02:50 PM

推特不是ins。推特(Twitter)是一个社交网络及微博客服务的网站,简单来说是一个简洁版的微博;而ins(全称Instagram)是一款运行在移动端上的社交应用软件,类似于朋友圈,只不过ins是必须发图片不能只发文字;可以以一种快速、美妙和有趣的方式将你随时抓拍下的图片彼此分享。

See all articles

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

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

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment