Is it possible to make the text of words of different colors in one line in html? For example. 1 word in one color, and the second - in another.
http://jsfiddle.net/6fRsA/
HTML:
<p>Первое слово <span>второе слово</span></p>
CSS:
p{ color: #f00; } p span{ color: #00f; }
Source: https://ru.stackoverflow.com/questions/318709/More articles:Why does the inherited form not work?Editing on the fly. Add selectAdaptation of design on iOSRecursively compare array elementsHow to optimize the player code?Correct file insertionWindows Phone 8, Is there something like UITableView in iOS?Is it possible to store a serialized object as3 object on the server?Socket.io not workingHow to overload data manipulation methods in django admin panelAll Articles