HRWiki talk:Validation committee
From Homestar Runner Wiki
(Difference between revisions)
(I fixed it now.) |
m (I know it's bad ettiquete to edit someone's signature, but it's ironic that the Validation C. page doesn't validate...) |
||
Line 1: | Line 1: | ||
- | So... what is the point of this committee, exactly? Shouldn't '''everybody''' be replacing "bad code" when they see it? And what is wrong with the font tag? Are we getting rid of all HTML? <small><tt>[[User:Homestar Coder|<font color=#8B0000>Aurora the Homestar Coder</font>]]</tt></small> 18:57, 13 Apr 2005 (UTC) | + | So... what is the point of this committee, exactly? Shouldn't '''everybody''' be replacing "bad code" when they see it? And what is wrong with the font tag? Are we getting rid of all HTML? <small><tt>[[User:Homestar Coder|<font color="#8B0000">Aurora the Homestar Coder</font>]]</tt></small> 18:57, 13 Apr 2005 (UTC) |
:Nothing is necessarily ''wrong'' with the <nowiki><font></nowiki> tag, except that it is only valid for older versions of HTML. The wiki uses XHTML 1.0, and the <nowiki><font></nowiki> tag is deprecated in that language, meaning it is no longer in use and will invalidate your page if you use it. Invalid pages may not display properly in some browsers. Instead, you should use the more appropriate <nowiki><span></nowiki> tag. — {{User:JoeyDay/sig}} 19:23, 13 Apr 2005 (UTC) | :Nothing is necessarily ''wrong'' with the <nowiki><font></nowiki> tag, except that it is only valid for older versions of HTML. The wiki uses XHTML 1.0, and the <nowiki><font></nowiki> tag is deprecated in that language, meaning it is no longer in use and will invalidate your page if you use it. Invalid pages may not display properly in some browsers. Instead, you should use the more appropriate <nowiki><span></nowiki> tag. — {{User:JoeyDay/sig}} 19:23, 13 Apr 2005 (UTC) | ||
- | ::I did not know that! Uh... dag, I've been littering pages with the "font" tag thanks to my signature. Uh... I'ma go fix that now... <nowiki>*runs away sheepishly*</nowiki> <small><tt>[[User:Homestar Coder|<font color=#8B0000>Aurora the Homestar Coder</font>]]</tt></small> 19:24, 13 Apr 2005 (UTC) | + | ::I did not know that! Uh... dag, I've been littering pages with the "font" tag thanks to my signature. Uh... I'ma go fix that now... <nowiki>*runs away sheepishly*</nowiki> <small><tt>[[User:Homestar Coder|<font color="#8B0000">Aurora the Homestar Coder</font>]]</tt></small> 19:24, 13 Apr 2005 (UTC) |
:::It is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary. For instance, your <nowiki><font color=#8B0000></nowiki> isn't valid. Instead try <nowiki><font color="#8B0000"></nowiki>.[[User:Tom|<nowiki></nowiki>]] -- [[User:Tom|Tom]] 19:27, 13 Apr 2005 (UTC) | :::It is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary. For instance, your <nowiki><font color=#8B0000></nowiki> isn't valid. Instead try <nowiki><font color="#8B0000"></nowiki>.[[User:Tom|<nowiki></nowiki>]] -- [[User:Tom|Tom]] 19:27, 13 Apr 2005 (UTC) |
Revision as of 00:24, 29 May 2005
So... what is the point of this committee, exactly? Shouldn't everybody be replacing "bad code" when they see it? And what is wrong with the font tag? Are we getting rid of all HTML? Aurora the Homestar Coder 18:57, 13 Apr 2005 (UTC)
- Nothing is necessarily wrong with the <font> tag, except that it is only valid for older versions of HTML. The wiki uses XHTML 1.0, and the <font> tag is deprecated in that language, meaning it is no longer in use and will invalidate your page if you use it. Invalid pages may not display properly in some browsers. Instead, you should use the more appropriate <span> tag. —
Joey (talk·edits) 19:23, 13 Apr 2005 (UTC)
- I did not know that! Uh... dag, I've been littering pages with the "font" tag thanks to my signature. Uh... I'ma go fix that now... *runs away sheepishly* Aurora the Homestar Coder 19:24, 13 Apr 2005 (UTC)
- It is a very very good idea to always put quote marks around your attribute values. It is never wrong to do so, and very often it is absolutely necessary. For instance, your <font color=#8B0000> isn't valid. Instead try <font color="#8B0000">. -- Tom 19:27, 13 Apr 2005 (UTC)
- Is my signature fixed now? I checked this page: http://www.w3.org/TR/REC-html40/index/attributes.html (this might be a good page to link to, as it's a comprehensive list of deprecated tags according to W3). Aurora the Homestar Coder 19:29, 13 Apr 2005 (UTC)
- Hm, I didn't know this, but apparently the font tag is still part of the XHTML 1.0 Transitional spec, so we still have valid pages when people use it right. One thing though, the "#" symbol is unecessary and invalid when using the font tag. The "#" symbol is only important when declaring a color using CSS. —
Joey (talk·edits) 16:36, 15 Apr 2005 (UTC)
- Hm, I didn't know this, but apparently the font tag is still part of the XHTML 1.0 Transitional spec, so we still have valid pages when people use it right. One thing though, the "#" symbol is unecessary and invalid when using the font tag. The "#" symbol is only important when declaring a color using CSS. —
HRWiki:Introduction_2 isn't valid XHTML. I would fix it myself, but it's a protected page. Could someone fix it? ~ Sephy 23:09, 22 May 2005 (UTC)
- Found the error. Took some time to discover it, though.
* '''[[MetaWikipedia:Help:Link|Link]]''' to other Wiki articles and other Web sites</div>
* '''[[MetaWikipedia:Help:Link|Link]]''' to other Wiki articles and other Web sites </div></div>instead. The </div> tag in the same line as the * bullet sign makes the Wiki software insert the </div> tag before closing the </ul> and </li> tags. ~ Sephy 23:46, 22 May 2005 (UTC)
Ah. Okay, fixed. --Jay (Gobble) 09:15, 23 May 2005 (UTC)
Bookmarklet and other extension options
Another option for easy checking is the "validate html" bookmarket from Squarefree. And I use the Web Developer extension for Firefox. -- Tom 01:25, 4 May 2005 (UTC)