Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online

Html insdel tag code learning guide 2012 Donate at flattr Flattr this





Alert! Connect with 10,000 Chating Online. Join Now

Html insdel


Learn html insdel codes and tags using the sample below.

Html insdel

INS and DEL

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.

Note: at time of writing, not all browsers supported these tags. The text above has been coded to simulate the effect outlined in the style sheet source code above.



Html insdel source code

 

Html insdel tutorial

Html insdel 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 page code is provifed for you to use it to practice, if you want to help to improve and maintain this work, you can donate to us on.



Html tutorial guide and web design in easy steps


Beginners guide to html

Html tag

image

abbracro

nobr

object

css

paragraph

blockquote

table

meta

bdo

code

ol

ascii

ssi

q

divspan

address

fieldset

ul

insdel

checkbox

textformat

dl

anchor

form

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
 

Css Generator    Htaccess Generator    Percentage Calculator   Area conversion

Htaccess    html   Php    javascript   Asp   css    maths  Past Questions  Practice Tests Online