Skip to content Skip to sidebar Skip to footer

Is There A Way To Emulate The Tag With Css?

I mean, is there a property that does essentialy this, other than background-color? I don't like to use HTML if the same thing can be done with CSS.

Solution 1:

You can't, but here is a solution: make a css class, and call it however you like, lets say - "my_mark".

.my_mark{
  background-color: yellow;
}

use is as a regular class and you got yourself a solution.

Post a Comment for "Is There A Way To Emulate The Tag With Css?"