Link:http://output.to/sideway/default.asp?qno=100800033 Body Elements HTML BodyThe <ins> and <del> elements of Body Section.
Code Sample:
<body>
<div> <p>block-level element is not allowed for <p> element.</p> <del><p>block-level element is not allowed for <p> element.</p></del> <ins> <p><b>Only</b> text-level element is allowed for <p> element.</p> <p>And block-level element is allowed for <div> element.</p> </ins> <p><del>block-level</del><ins><b>Only</b> text-level</ins> element is <del>not</del> allowed for <p> element.</p> </div> ... </body>
Element ( <ins> | <del> )
The <ins> and <del> elements
are used to markup the text contents of a HTML document. Although they can be
used to markup both block-level and text-level or inline elements, they are
limited by their parent element. They act as a version mark on the HTML
document, the addition or deletion of the element text contents and elements
should follow the HTML specification.
<ins>
open tag: <ins> end tag: </ins>
The <ins> element is used to markup the element text contents as texts and/or sections inserted into the HTML document.
<del>
open tag: <del> end tag: </del>
The <del> element is used to markup the element text contents as texts and/or sections deleted from the HTML document.
child elements:
( ( ( <p> | ( <h1> | <h2> | <h3> | <h4> | <h5> | <h6> ) | ( <ul> | <ol> | <dir> | <menu> ) | ( <pre> ) | <dl> | <div> | <center> | <noscript> | <noframes> | <blockquote> | <form> | <isindex> | <hr> | <table> | <fieldset> | <address> ) | ( ( #PCDATA ) | ( <tt> | <i> | <b> | <u> | <s> | <strike> | <big> | <small> ) | ( <em> | <strong> | <dfn> | <code> | <samp> | <kbd> | <var> | <cite> | <abbr> | <acronym> ) | ( <a> | <img> | <applet> | <object> | <font> | <basefont> | <br> | <script> | <map> | <q> | <sub> | <sup> | <span> | <bdo> | <iframe> ) | ( <input> | <select> | <textarea> | <label> | <button> ) ) ) )*
attributes:
id class style title lang dir cite datetime
events:
onclick ondbclick onmousedown onmouseup onmouseover onmousemove onmouseout onkeypress onkeydown onkeyup
required
Optional tag
Deprecated
Transitional
Frameset
Exclusion
Optional Element or Content Occurrence Character: (+) one or more; (*) zero or more; (?) zero or one times; ( ) exactly once Choice or Sequence Element or Content : (|) or (&) and (,) sequence (+) include (-) exclude |
Sideway BICK Blog 29/08 |