back
Code
CSS
HTML
Web

p:only-of-type{
color:red;
}
/* Any paragraph that is the only paragraph of its parent element is coloured red */