> > Context should be defined where the variable is printed. Otherwise you > move the variable from HTML text to an attribute or add it somewhere else > and the context doesn't match anymore. >
Well, maybe, but HTML is external context and it can be combined with other contexts depending on task. We can not know all possible tasks. Single variable is just more flexible.