I'm currently stuck with a possibly very trivial problem:
I have a simple HTML / CSS page with text:
<head></head>
<body>
This is a Text about Foobar.
</body>
How can I assign a CSS class / id to a word Textwithout breaking the format? Let's say I want to add a class to it .yellowthat displays text with a yellow background.
I think something is blocking my mind because it cannot be so difficult ... But all I can do with Google (mostly trivial tutorials) uses CSS only on regular HTML elements like <p>or <b>that break my format.
source
share