This question already has an answer here:
- Is it possible to apply different styles to different letters in word? 3 answers
My current HTML:
<a href="#" id="word">T<span style="font-size: 28px;">est</span><span style="color: pink;">W<span style="font-size: 28px;">ord</span></span></a>
This is terrible for SEO. Ideally, I'd like all styling done to the anchor tag:
<a href="#" id="word">TestWord</a>
I understand there is a :first-letter
selector, but how can I modify an nth
letter and get my expeced output?
jsFiddle: http://jsfiddle.net/HUGKv/1/