response.write title of the page
Posted on 2009-04-07
when i do this <title><%=PageTitle%></title> and then view source of the page in a browser the title looks like this:
basically a lot of white space is inserted on each end and title itself is on a new line, i tried to fix it by doing this in the <head><%=PageTitle%></head> section, but when i do this i get two titles
<title>some title</title> <--- my title
<title></title> and this title is added by a browser probably, i think it detects that there is no <title> tag and just adds it to a page
i don't think that it should be a problem for SEO to remove white space, new line and parse out my title but still i want it to be neat ...