del color: crimson; : del « Tags « HTML / CSS






del color: crimson;

    

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'>
    <head>
        <title>Direct Child Selectors</title>
<style type='text/css'>
body {
    font-face: sans-serif;
}
del {
    color: crimson;
}
ins {
    color: forestgreen;
}
</style>

    </head>
    <body>
        <h1><ins>Direct Child</ins> <del>Descendant</del> Selectors</h1>
    </body>
</html>

   
    
    
    
  








Related examples in the same category

1.To strike through text use del tags
2.Deleting and inserting text
3.Deleting Text
4.'del' Example
5.Insert and Delete mark
6.'datetime' sets the date and time when the text in a 'del' or 'ins' element was deleted