G
Guest
I have the following code in my master page:
Page.Title = mTitle
Dim metaDesc As New HtmlMeta
metaDesc.Name = "Description"
metaDesc.Content = mDesc
Page.Header.Controls.Add(metaDesc)
Dim meta As New HtmlMeta
meta.Name = "Keywords"
meta.Content = mkey
Page.Header.Controls.Add(meta)
Dim metaAuthor As New HtmlMeta
metaAuthor.Name = "Author"
metaAuthor.Content = "Me, myself and I"
Page.Header.Controls.Add(metaAuthor)
For some reason when i load the page the title comes after the meta tag
but I do request it first. My question is since I am dynamically
setting the title and other meta tags to the page(depending on the page
they are on) how can I get the title first instead of last.
Also one other question not sure if this can be answered - does it
really matter if the title is last or first?
Thanks for the help.
Page.Title = mTitle
Dim metaDesc As New HtmlMeta
metaDesc.Name = "Description"
metaDesc.Content = mDesc
Page.Header.Controls.Add(metaDesc)
Dim meta As New HtmlMeta
meta.Name = "Keywords"
meta.Content = mkey
Page.Header.Controls.Add(meta)
Dim metaAuthor As New HtmlMeta
metaAuthor.Name = "Author"
metaAuthor.Content = "Me, myself and I"
Page.Header.Controls.Add(metaAuthor)
For some reason when i load the page the title comes after the meta tag
but I do request it first. My question is since I am dynamically
setting the title and other meta tags to the page(depending on the page
they are on) how can I get the title first instead of last.
Also one other question not sure if this can be answered - does it
really matter if the title is last or first?
Thanks for the help.