Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




W3.org html validation for Hyperlink - character "&" is the first character of a delimiter but occurred as data in Hyperlink control of asp.net when text includes & or &

When I was validating this page to w3.org the i was receiving error character "&" is the first character of a delimiter but occurred as data. It was not validation this control and showing a message for change it to & but it was already written in html. To validate this, write text containing & sign on page load.

My code was:



When I was validating this page to w3.org the i was receiving error character "&" is the first character of a delimiter but occurred as data

Solution for Hyperlink validation is.... Write the text on page load

hlnkVision.Text = "Vision & Mission";
Share this article   |    Print    |    Article read by 1069 times
Author:
Rohit kakria
I am software developer
Related Articles:
Related Interview Questions: No related interview question