CSS attr() by robnyman March 14, 2012 HTML <span data-hello="Hello">world</span> CSS span:before { content: attr(data-hello) " "; }