Click Here!
home account info subscribe login search My ITKnowledge FAQ/help site map contact us


 
Brief Full
 Advanced
      Search
 Search Tips
To access the contents, click the chapter and section titles.

HTML 4.0 Sourcebook
(Publisher: John Wiley & Sons, Inc.)
Author(s): Ian S. Graham
ISBN: 0471257249
Publication Date: 04/01/98

Bookmark It

Search this book:
 
Previous Table of Contents Next


DEL supports the standard “generic” and “event-handler” attributes described earlier in this chapter. Note that the event handlers are only partially supported by Internet Explorer 4 and are not supported by Netscape Navigator 4. In addition, DEL supports the two optional attributes CITE and DATETIME to provide details related to the insertions and deletions. The meanings of these attributes are:

CITE=“url” (optional) Specifies a URL that references a document that explains the reasons for the change, or the source of the change. Current browsers do not support this attribute.
DATETIME=“string” (optional) Specifies the time and date when the change was made. The value of this attribute must be of the format:
YYYY-MM-DDThh:mm:ssTZD
The meanings of these fields are defined in Table 6.14.

INS Element: Inserted Text

Usage: <INS> ... </INS>
Can Contain: ADDRESS, BLOCKQUOTE, CENTER, COLGROUP, DD, DIR, DIV, DL, DT, FIELDSET, FORM, Hn, HR, [ISINDEX], LI, MENU, NOFRAMES, NOSCRIPT, OL, P, PRE, TABLE, TD, TBODY, TFOOT, TH, THEAD, TR, UL,
DEL, INS
characters, character highlighting, A, APPLET, BASEFONT, BR, BUTTON, CAPTION, IFRAME, IMG, INPUT, LABEL, MAP, OBJECT, OPTGROUP, OPTION, SCRIPT, SELECT, TEXTAREA
Can Be Inside: ADDRESS, BLOCKQUOTE, BODY, CENTER, COLGROUP, DIR, DIV, DD, DL, DT, FIELDSET, FORM, Hn, LI, MENU, NOFRAMES, NOSCRIPT, OL, P, PRE, TABLE, TD, TBODY, TFOOT, TH, THEAD, TR, UL,
DEL, INS,
character highlighting, A, APPLET, BUTTON, CAPTION, IFRAME, LABEL, MAP, OBJECT, OPTGROUP, OPTION, SELECT
Attributes: CLASS, DIR, ID, LANG, STYLE, TITLE, standard event handlers,
CITE, DATETIME

This element marks text that has been inserted. The browser should display this in a distinctive way, for example by rendering it in a different color or with an underline. This behavior can, of course, be modified using a style sheet. This element is supported by Internet Explorer 4 (by default, the text is rendered with an underline), but is not supported by Netscape Navigator 4.


Table 6.14 Meanings of Fields for Time Specifications in a DATETIME Attribute

Field Meaning
YYYY The year (four digits are mandatory)
MM The month (from 01 [January] to 12 [December]; must have two digits)
DD The day of the month (from 00 to 31; must have two digits)
hh The hour on a 24 hour clock (00-24, AM and PM not permitted; must have two digits)
mm The minutes (00-59; must have two digits)
ss The seconds (00-59; must have two digits)
TZD Time Zone Displacement. The three possible values are:
Z Indicates UTC (Coordinated Universal Time)
+hh:mm Indicates that the time is in local time and that local time is hh hours and mm minutes ahead of UTC
-hh:mm Indicates that the time is in local time and that local time is hh hours and mm minutes behind UTC

INS supports the standard “generic” and “event-handler” attributes described earlier in this chapter. Note that the event handlers are only partially supported by Internet Explorer 4 and are not supported by Netscape Navigator 4. INS supports the two optional attributes CITE and DATETIME, which provide details related to the insertions. The meanings of these attributes are described in the DEL element section.

NOSCRIPT Element: Alternative to SCRIPT Content

Usage: <NOSCRIPT> ... </NOSCRIPT>
Can Contain: ADDRESS, BLOCKQUOTE, CENTER, DIR, DIV, DL, FIELDSET, FORM, Hn, HR, [ISINDEX], MENU, NOFRAMES, NOSCRIPT, OL, P, PRE, TABLE, UL,
characters, character highlighting, A, APPLET, BASEFONT, BR, BUTTON, IFRAME, IMG, INPUT, LABEL, MAP, OBJECT, SCRIPT, SELECT, TEXTAREA
Can Be Inside: BLOCKQUOTE, BODY, CENTER, DD, DIV, FIELDSET, FORM, LI, NOFRAMES, NOSCRIPT, TD, TH,
APPLET, BUTTON, IFRAME, OBJECT
Attributes: CLASS, DIR, ID, LANG, STYLE, TITLE, standard event handlers

The NOSCRIPT element contains regular HTML markup to be displayed by browsers that do not understand SCRIPT or that have script interpretation disabled. In the former case, the browser will ignore both the SCRIPT and NOSCRIPT tags, and will render the NOSCRIPT element content. (However, the content of the SCRIPT element will also be displayed unless, as has been previously discussed, it is placed inside an HTML comment <!-- ... -->.) In the latter case, a properly designed browser will hide the content of NOSCRIPT if script support is enabled, but will display the NOSCRIPT content if script support is disabled.


Previous Table of Contents Next


Products |  Contact Us |  About Us |  Privacy  |  Ad Info  |  Home

Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc.
All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement.