Page 1 of 1
Metatags shown on top of page
Posted: Tue Feb 13, 2007 9:43 am
by osn
Hello everyone!
I have a problem with my metatags on my website.
If I add metatags to a page there will be a line added above the whole webpage with the text added in the metatag window.
Anyone who know what can be causing this? How do I solve it?
Example:
http://dartfrog.tk/cms/index.php?page=histrionicus
I'm using CMSMS 1.0.2 Maui
Re: Metatags shown on top of page
Posted: Tue Feb 13, 2007 12:14 pm
by tkeil69575
make sure you enter them like this
regards
tina
Re: Metatags shown on top of page
Posted: Wed Feb 14, 2007 7:58 am
by osn
Thank you Tina, it solved my problem. But is it really "/>" at the end??? isn't just ">"

Anyway, I will figure it out! Thank you!
Dennis
Re: Metatags shown on top of page
Posted: Wed Feb 14, 2007 8:26 am
by Dee
osn wrote:
is it really "/>" at the end??? isn't just ">"
It is, in XHTML
empty elements must either have an end tag or the start tag must end with />.
Regards,
D
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 7:58 am
by osn
So if I look at it in real examples it should look like this?
When I look at other pages it's very common to look like this:
Is that really not working to write it like that or is it just not w3 validated to write it without the / since most big companys pages seems to be without?
Dennis
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 8:52 am
by Dee
It will work without the /.
That's valid in HTML 4.01 but not in XHTML (the link I sent above is in chapter 4:
Differences with HTML 4).
The same with - it's valid HTML4 but in XHTML it should be
Regards,
D
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 10:44 am
by osn
Ok, thak you for the help and the explaination Dee!
Dennis
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 12:56 pm
by osn

A new question that I guess can't be read in w3c because I can't find anything about it. I want to know which works best of the following:
or
Which one works best (or is recomended) when it is for the search engines to find the pages?
I have seen both versions when I looked around at pages on the web and my guess is that it might work better without all commas, but it's just a guess. Anyone?
Dennis
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 1:58 pm
by tsw
1) keywords is all lovercase
2) space before />
3) if word is a part of something else keep them in same if they are not connected seperate with ,
but I wouldnt worry too much about keywords, google doesnt really pay any attention to them anymore bacause they are too easily expoitable...
hope this helps
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 2:55 pm
by osn
Thank you TSW - It helps!
Its a way for me to add words about the content that mabie isn't there in clear text since much of my pages is photo albums and the text is on other pages... so it's a way to catch search results to the photos. examples:
http://dartfrog.tk/cms/index.php?page=histrionicus
Re: Metatags shown on top of page
Posted: Fri Feb 16, 2007 9:10 pm
by tsw
I'll bet you'll get better results with alt and title attributes for those images (which you already have)
Best of luck on your site, I really like those images!