Saturday, 5 March 2011

How HTML.

Rather than the obsoletedeprecated S Tag
it is better to use the HTML DEL Tag.



The HTML S Tag has the following common attributes:

Name Value Required Optional Default Description
Core Attributes
id ID Optional page-wide unique id
class CDATA Optional space-separated list of classes
style style sheet data Optional associated style information
title text Optional advisory title
Internationalisation Attributes
lang a language code, as per RFC1766, such as en or fr Optional language code
dir ltr or rtl Optional direction for weak/neutral text
Event Attributes
onclick script expression Optional a pointer button was clicked
ondblclick script expression Optional a pointer button was double clicked
onmousedown script expression Optional a pointer button was pressed down
onmouseup script expression Optional a pointer button was released
onmouseover script expression Optional a pointer was moved onto
onmousemove script expression Optional a pointer was moved within
onmouseout script expression Optional a pointer was moved away
onkeypress script expression Optional a key was pressed and released
onkeydown script expression Optional a key was pressed down
onkeyup script expression Optional a key was

No comments:

Post a Comment