Learn insdel syntax codes and tags using the sample below.
insdel syntax
Insert and delete are for marking revisions in an HTML page. The tags take two key attributes, CITE, which is a URL containing information about the change, and DATETIME which is an ISO-8601 datetime format (YYYY-MM-DDThh:mm:ssTZD) for when the change occured. You can also use the core attribute, "TITLE", to give additional information right in the tag. A browser could then render the extra information either as a tool tip or in the status bar.
CODE
<INS CITE="http://www.host.com/explanation.html"
DATETIME="1998-05-21T21:32:17-08:00"></INS>
<DEL TITLE="I felt like a change."
DATETIME="1998-05-21T21:32:17-08:00"></DEL>
Using Style Sheets to Enhance the Purpose
Used inconjunction with style sheets, these tags can allow you to visually track changes to an on-line corporate document, or legal papers, or anything requiring this feature. Additionally, you could use a Dynamic HTML script to alter the style definitions for changes older than 30 days, or updated material less than a week old, etc.
(The source code has been color-coded to help you see what's going on a little better.)
CODE
<HEAD>
<STYLE TYPE="text/css">
DEL {
color: #990000;
text-decoration: line-through;
}
.old {
color: #996600;
}
INS {
background-color: #FFFF00;
}
#new {
color: #FF0000;
text-decoration: blink;
}
</STYLE>
</HEAD>
<BODY>
<H1>Preamble</H1>
<P>We hold these
<DEL DATETIME="1776-05-21T23:14:36-05:00" CLASS="old">
ideals
</DEL>
<DEL DATETIME="1776-06-28T21:32:17-05:00"
TITLE="This was Bens idea.">
groovy concepts
</DEL>
<INS DATETIME="1776-07-04T01:32:25-05:00">truths</INS>
to be self-evident, that all men
<INS DATETIME="1976-07-04T01:32:25-05:00" ID="new">
and women
</INS>
were created equal.
</BODY>
BROWSER
Preamble
We hold these ideals groovy concepts truths to be self-evident, that all men
and women
were created equal.
insdel code practice
insdel tutorial
insdel syntax code on this is provided for your study purpose, it will guide you to know how create and design a website using html. use it to practice and train your self online
All the tutorials on this site are free, the codes are provided for you to practice, if you want to help to improve and maintain this work, you can donate to us on.
All the tutorials on this site are provided for free. You can copy and print the tutorials and code on this site, but you are not allowed to reproduce this information on another website. All rights reserverd 2012