PDA

View Full Version : Meta Info


cradl
10-14-2008, 01:44 PM
Can someone help me put this into my page I did it but when I tested in W3 it came back with all errors where before it had none. Here is what I would like to put unless it is not right.

<meta name="title" content="Lloyds Lower Level">
<meta name="description" content="Lloyds Lower Level, a bar in Lodi Wisconsin">
<meta name="keywords" content="Lloyds, Lloyds lower level, Lloyds bar, Lodi, Wisconsin, Lake Wisconsin, Columbia County, bars in Lodi, Lodi pool leagues, Lodi dart leagues">
lloydslowerlevel.com

Thanks

domedia
10-14-2008, 01:57 PM
If you tested you code at a W3C validator, it would have given you a message about what was wrong.

cradl
10-14-2008, 01:59 PM
Ya but not sure what to do to fix it.

domedia
10-14-2008, 02:23 PM
Neither can we until you tell us what is wrong :)

If you need help see the link in my signature.

cradl
10-14-2008, 02:28 PM
Here you go. Hope this helps


Line 4, Column 48: end tag for "meta" omitted, but OMITTAG NO was specified.
<meta name="title" content="Lloyds Lower Level">
✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=70#errormsg)
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
<LI class=msg_info>
Line 4, Column 0: start tag was here.<meta name="title" content="Lloyds Lower Level"><LI class=msg_err>
Line 5, Column 80: end tag for "meta" omitted, but OMITTAG NO was specified.…ower Level, a bar in Lodi Wisconsin">✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=70#errormsg)
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

<LI class=msg_info>
Line 5, Column 1: start tag was here. <meta name="description" content="Lloyds Lower Level, a bar in Lodi Wisconsin…<LI class=msg_err>
Line 6, Column 173: end tag for "meta" omitted, but OMITTAG NO was specified.…odi pool leagues, Lodi dart leagues"> ✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=70#errormsg)
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

<LI class=msg_info>
Line 6, Column 0: start tag was here.<meta name="keywords" content="Lloyds, Lloyds lower level, Lloyds bar, Lodi, Wis<LI class=msg_err>
Line 160, Column 7: XML Parsing Error: Opening and ending tag mismatch: meta line 6 and head.</head>✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=xmlwf#errormsg)
<LI class=msg_err>
Line 215, Column 7: XML Parsing Error: Opening and ending tag mismatch: meta line 5 and html.</html>✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=xmlwf#errormsg)
<LI class=msg_err>
Line 215, Column 7: XML Parsing Error: Premature end of data in tag meta line 4.</html>✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=xmlwf#errormsg)
<LI class=msg_err>
Line 215, Column 7: XML Parsing Error: Premature end of data in tag html line 2.</html>✉ (http://validator.w3.org/feedback.html?uri=http%3A%2F%2Fwww.lloydslowerleve l.com%2F;errmsg_id=xmlwf#errormsg)

domedia
10-14-2008, 02:41 PM
Yeah, just follow the instructions that W3C gives you.
Looks like you wrote HTML in an XHTML document, but you're only pasting parts of the page so hard to say.

cradl
10-14-2008, 02:52 PM
got it thanks