Style for inner element : element « XML « HTML / CSS






Style for inner element

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


MyElement {
    display: inline;
    font-weight: bold;
    font-style: italic;
    color: red;
}

 








Related examples in the same category

1.element background