<COMMENT> element can be used to 'comment' out text. As such, it is similar to the
<!-- ... --> element.
Any text placed between the
</COMMENT> elements will not render on the screen, allowing comments to be placed in HTML documents.
<COMMENT>This text won't render.
I can say what I like here,
it wont appear</COMMENT>
Would not render on the screen.
NOTE : This element is only supported by the Internet Explorer and Mosaic.
The Internet Explorer 4.0 (and above) specific
TITLE attribute is used for informational purposes. For the
<COMMENT> element, the
TITLE attribute maybe useful for providing information to authors.
LANG attribute can be used to specify what language the
<COMMENT> element is using. It accepts any valid ISO standard language abbreviation (for example
"en" for English,
"de" for German etc.) For more details, see the Document Localisation section for more details.
ID="Unique element identifier"
ID attribute can be used to either reference a unique style sheet identifier, or to provide a unique name for the
<COMMENT> element for scripting purposes. Any
<COMMENT> element with an
ID attribute can be directly manipulated in script by referencing its
ID attribute, rather than working through the All collection to determine the element. See the Scripting introduction topic for more information.
<COMMENT> element in a document is an object that can be manipulated through scripting. Note that scripting of the
<COMMENT> element/object is only supported by Internet Explorer 4.0 in its Dynamic HTML object model. Netscape does not support direct scripting of the
<COMMENT> element at all.
<COMMENT...> element/object supports some of the standard Dynamic HTML properties (i.e. document, id, isTextEdit, lang, parentElement, parentTextEdit, sourceIndex, tagName and title). Details of these can be found in the standard Dynamic HTML properties topics.
<COMMENT...> element/object supports some of the standard Dynamic HTML methods (i.e. click, contains, getAttribute, removeAttribute, and setAttribute). Details of these can be found in the standard Dynamic HTML Methods topics.
<COMMENT...> element/object supports no events.
© 1995-1998, Stephen Le Hunte
|file: /Techref/language/html/ib/Text_Formatting/comm.htm, 4KB, , updated: 2004/3/1 15:05, local time: 2018/1/22 22:29,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/language/html/ib/Text_Formatting/comm.htm"> <COMMENT></A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20180122 David C Brown, Isaac M. Bavaresco, Manu Abraham, RussellMc, Van Horn, David, Dwayne Reid, Harold Hallikainen, James Cameron, Sean Breheny, John Gardner,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!