Edit in JSFiddle

<t x=hello>
/* minimal */
t[x]:before{
    content:attr(x);
}

/* optional styling - very specific and easy to use */
t[x=hello]:before{
  font-size:30pt;
}

/* optional styling - for all "minimal text tags" */
t[x]:before{
    margin:4px 4px 4px 4px;
    padding:4px 4px 4px 4px;
    color:darkblue;
    background-color:lightgray;
    border:1px solid purple;
}