Using to Indicate Deleted Text

5:35:00 PM | ,




If you want to delete some text from a document, you can place it inside a <del> element to indicate that it is marked to be deleted. Text inside a <del> element will have a line or strikethrough .
<del><p>This paragraph is contained inside a &lt;del&gt; element.</p></del>

The <del> element can carry the cite, datetime, and title attributes just like the <ins> element.
When you learn how to use CSS, you will see how it would be possible to show and hide the inserted and deleted content as required.




© ScienceZen 2012 All Rights Reserved

0 comments: