Something like this should work;
- HTML: Select all
<h1><span>F</span>OR<span>U</span>MS
And for your
CSS;
- Code: Select all
h1 {
/*Styles for heading*/
}
h1 span {
color: /*Different colour*/
}
You can also use the
CSS pseudo-element :first-letter to style the first letter of an element, without any additional
HTML markup.