Hi,
What do people think of using the literal control instead of a label control?
Im thinking of just using the literal control as i've had a lot of grief from a customer regarding SEO and the amount of redundant HTML code that is produced in ASP.Net.
With the label control you might produce HTML like
<span id="lblTest">The text</span>
but a literal would only produce
The text
Can anyone see any problems with using the literal control over the label control?
Rich.
What do people think of using the literal control instead of a label control?
Im thinking of just using the literal control as i've had a lot of grief from a customer regarding SEO and the amount of redundant HTML code that is produced in ASP.Net.
With the label control you might produce HTML like
<span id="lblTest">The text</span>
but a literal would only produce
The text
Can anyone see any problems with using the literal control over the label control?
Rich.