Selectors

The div selector makes this text red, since it is contained within a div tag.

The .blue selector makes this text blue, since it is contained within a span with a class "blue".

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License