Producing web pages
* HTML CSS DHTML XHTML A to Z of tags        Accessibility          Design

<ins>

<ins
cite=url
class=type
datetime=date
dir=ltr|rtr
id=value
lang=language
style=style
title=text
</ins>

One of two tags that mark revisions to text; the other is the <del> tag. The <ins> tag marks content that you have added to a page. It usually appears underlined.

This tag is useful in marking changes from one version of a page to the next. You might use it in draft legislation where lawmakers need to view the changes.

This tag can contain one or more words within a paragraph or contain one or more block-level tags such as paragraphs, lists and tables.

For example:

<p>The CENTER tag defines a block whose contents are 
centered horizontally on visual browsers. <ins 
cite="http://www.mysite.com/changes.html"
datetime="1997-12-19T00:00:00-5:00">Note that CENTER is 
deprecated in HTML 4.0.</ins></p>

Attributes

cite=url

Provides a URL of the source page or document. This is meant to point to information that explains why the page was changed.

class=type

Indicates the class to which the tag belongs. You can use the class attribute in a style sheet to create different styles that you want apply to a single HTML tag. For example, you might create three different styles for a <ins> tag. See Using the class attribute as a selector for more details.

datetime=date

The date and time on which you inserted the text. For example:

YYYY-MM-DDThh:mm:ssTZD

YYYY

The four-digit year

MM

The two-digit month (01 through 12)

DD

The two-digit day (01 through 31)

hh

The two-digit hour (00 through 23)

mm

The two-digit minute (00 through 59)

ss

The two-digit second (00 through 59)

TZD

The time zone designator

Note that the T separating the date from the time must appear literally and is case-sensitive.

The time zone designator may be one of the following:

    u Z (case-sensitive). Indicates Universal Coordinated Time (the same as GMT) u+hh:mm, the time ahead of UTC in hours and minutes u-hh:mm, the time behind UTC in hours and minutes

If you don't know any of the two-digit components, use 00.

dir=ltr|rtr

Specifies the direction of text. This can be left-to-right (ltr) or right-to-left (rtl). For example, English characters are presented left-to-right, Hebrew characters are presented right-to-left.

id=value

Specifies a unique name for the tag. No two tags can have the same id on a single page. The value must begin with a letter followed by any alphanumeric character, a hyphen, an underscore, a colon or a full stop. You use it to reference a unique style for a tag or to manipulate the tag with a script.

lang=language

Specifies which language the <ins> tag uses. You can enter any valid ISO standard language abbreviation, for example, “en” for English, “de” for German and so on. For example, <span lang="es">hola! como esta?</span>.

This attribute helps search engines understand different languages as different languages rather than just misspelled English. It may also help spelling and grammar checkers and allow speech synthesizers to use language-dependent pronunciation rules.

style=style

Specifies style information. See Style sheets for more information.

title=text

For information only. Some browsers display the title when you move the mouse over the tag (like a tool tip).