This is a discussion on "[SOLVED] Meta tag" within the Web Page Design section. This forum, and the thread "[SOLVED] Meta tag are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Meta tag
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
||||
|
[SOLVED] Meta tag
in html 4.01 i get this ewrror wqen validating...
And it is open, lol..
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|
|
||||
|
Re: Meta tag
you sure its opne?
Last Blog Entry: Assassin's Creed (Nov 22nd, 2007)
|
|
||||
|
Re: Meta tag
Yes here is the full thing.
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
|||
|
Re: Meta tag
Quote:
Remove your </meta>. |
|
||||
|
Re: Meta tag
If you are using (x)HTML, should you not use this:
Ignore me if i am wrong |
|
|||
|
Re: Meta tag
Yes Marc, that's right. But it's not a closing tag -- it's a "self-closing" tag.
Whether in HTML or XHTML, you should never see the syntax </meta> or </img>. |
|
||||
|
Re: Meta tag
I have used </meta> at the end of my meta tags and my code validates fine
Oh!!....and i don't know if it makes any difference but i'm using XHTML strict |
|
||||
|
Re: Meta tag
Really Adam? That shouldn't happen, especially in xhtml strict.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Meta tag
Yes....i just revalidated just to make sure and there were no errors at all
Edit: just updated the index page without hte closing </meta> tags Last edited by AdRock; Oct 20th, 2007 at 20:42. |
|
|||
|
Re: Meta tag
Ack, I'm being a complete idiot.
</meta> is perfectly valid in XHTML. The reason you never see it is that it is that, with everyone serving XHTML with an HTML MIME type, it could cause nastier mangling than the supposedly "HTML compatible" <meta />. There are actually three valid ways to close empty elements in XHTML:
Last edited by MikeHopley; Oct 20th, 2007 at 21:32. |
|
||||
|
Re: Meta tag
I don't think <tag/> is, as some netscape (i think it was netscape) browsers can't handle it.
Says on w3schools somewhere.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Meta tag
Quote:
Of those three, only <tag /> should currently be used, because the other two have dodgy browser support. |
|
||||
|
Re: Meta tag
I thought the whole point of validity was for browser support. Am I wrong?
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
||||
|
Re: Meta tag
lol, wow... didn't think this would be much a big thing, lol...
Last Blog Entry: My blog? (Oct 18th, 2007)
|
|
||||
|
Re: Meta tag
Personally I think it's a good thing.
You learn a lot from threads like these.
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
|
|
|||
|
Re: Meta tag
The main motivation for writing valid code is to enjoy consistent results across browsers. But you must understand that "what is valid" and "what browsers actually understand" are two different things.
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Meta tags in flash site | benssyde | Flash & Multimedia Forum | 6 | Oct 11th, 2007 08:45 |
| [SOLVED] Meta Tag Question | euankennedyimorph | Web Page Design | 2 | Oct 1st, 2007 07:46 |
| Meta Tags? | daygon | Web Page Design | 3 | Mar 24th, 2006 13:43 |
| meta tags | herrlip | Introduce Yourself | 1 | Nov 12th, 2004 15:25 |