Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: ocean10000
i have some ascx code the has a label that was filled with the product name like this:
<asp:label id="ProductName" Runat="server">
I have then stuck it between <h1> tags like so:
<h1 Class="BBProductTitle"><asp:label id="ProductName" Runat="server"></H1>
The source code then shows:
<H1 class="BBProductTitle"><span id="dnn_ctr431_ProductPage_ProductName">Turquoise Tankini</span></h1>
my question is, are search engines picking this up as a H1 tag, and is the span class affecting it in any way?
ProductName.Text = "<h1 Class=""BBProductTitle"">" & ProductNameVariable & "</h1>"
I would replace with a literal, but i don't really have the time at this point to try and sift through all the code to find where the text value is pulled from.
A literal would be a better idea. You should only have to change the definition in the code.
[edited by: Jimmy_Turnip at 11:56 am (utc) on Oct. 26, 2006]