We are using label control in our application. The Html is produced at runtime through code under some conditions as text string and are added to lable control as text.
Since label control is converted to <span> at runtime, So when on runtime some <table> or <p> tags are added to label control, it produces errors on validation with w3c validator.
In this case we use literal control in place of label control and it worked fine.
The problem arrised in situation when css was used on label control. Since we cannot use css on literal control, so in that case label cannot be replaced with literal . Is there some other replacement available?