element background : element : XML HTML CSS TUTORIALS


HTML CSS TUTORIALS » XML » element »

 

element background


 

<?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
<?xml-stylesheet type="text/css" href="xml-block.css"?>
<MyRoot>
    T<MyElement>d</MyElement>w.
</MyRoot>

MyRoot {
    display: block;
    background: lightgrey;
}
MyElement {
    display: inline;
    font-weight: bold;
    font-style: italic;
    color: red;
}

 



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo XML
» element