Will Google read my page title and H1?
-
Dim strTitle : strTitle = "The Title Of My Page"
<title>Company name - <%=strTitle%></title>
<%=strTitle%>
Will Google be able to read this? When I view source the relevant information is in the tags but I'm wondering if Google hates this or not?
Cheers!
-
I assume this is ASP or .NET. When your page is rendered, it will appear as a normal HTML. Google doesn't hate HTML.
-
I am not 100% sure but I don't believe Google can read this as its not HTML. I could be wrong but it might just be best to have the h1 tags in text.
If you are not 100% sure, you can use WMT and get a crawler view of the page in question. This will show you what the bot sees and if it can read the your H1.
-
Yes, Google sees the rendered code. Otherwise a billion sites out there would be screwed. Most title tag content for example is dynamically inserted code.
-
Thanks for the clarification.