Hi,
I have seen an HTML code like this for the ID tag,
id="t1:c3"
Can someone explain this to me? What is the purpose of the said colon(:) ? Thank you.
Hi,
I have seen an HTML code like this for the ID tag,
id="t1:c3"
Can someone explain this to me? What is the purpose of the said colon(:) ? Thank you.
Colons are allowed inside ID attributes, but hold no special significance. It's not really advisable to use them because they can sometimes cause problems, such as when used with jQuery or CSS, where the colon has special meaning as a pseudo-selector.