I am making css like
<head><style type="text/css">span.blue{color:blue;}</style>;
and use it html like
<html>I am <span class=blue>red</span></html>;
Now I want to avoid that span and class word in html code, is it possible like
<html>I am <blue>red</blue></html>;
Sure, you can do this if you like: http://jsbin.com/uhiyoj
But, it’s a horrible idea.
Just stick with
<span class="blue">.