Описание тега targeting

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, is to select or wish to select an object or entity and to execute some code that has effect on the 'target'.

"Targeting" is to make a thing or group a target, to select it or them to be acted upon. In a context of programming, it is the action of selecting an object or entity with one part of the code and do something specific to the 'target'.

In most programming languages we define targets with an 'id' and give it a unique identifier; setting variables that hold a target object, etc. This allows us to then reference it at ease, which allows us to create solutions much more easily.

For example,

  • In css we target elements with specific classes or id's and set rules for those to abide by.

    i.e .class #id { color: #FFF; }