Template talk:Valid XHTML 1.0

align/float
I don't know why this is, but the default alignment for divs coded like this is centered. By adding  to the style attribute of the wrapper div, users can supply a second parameter to float it left or right. I'm fairly certain that leaving the parm empty (which would give ) won't break the valid xhtml - let me test that. [testing code removed] Yep, still valid. &mdash;Dr Ishmael 01:07, 4 June 2008 (UTC)

What exactly is this?-- 02:08, 4 June 2008 (UTC)


 * I took the time today to make sure Hellbringer's userpage complies to the XHMTL standard. If you code your web page by hand, complying with the standard theoretically ensures that any standard-compliant browser can display it correctly. Conversely, if you feel your web page is not displaying correctly, it might be wise to ensure that it complies - which is what I did in Hellbringer's case, thereby finding two user box templates that had been "broken" from day one (even though most browsers silently correct the errors). Since I had taken considerabe time to make the User Age box comply, I wanted to slap the badge on. That lead to the creation of this template.
 * If you click on the badge, it takes you to a bot that checks the webpage you came from. You can also enter the URL of any other web page you want, and the validator will find any errors - it takes a bit of experience to make sense of some of the error messages, and fixing the earlier ones often makes a large number of the later ones go away by themselves.


 * If all you're using is wikicode, you need not be concerned with this at all. But as soon as you use codes in those angled brackets < >, you can screw up in ways that the validator helps you detect.


 * Is that what you wanted to know? --mendel 02:33, 4 June 2008 (UTC)


 * For example, shows me that you are using old HTML 1.0 style- tags on your user page, but mediawiki/wikia embeds them in new XHTML 1.0. So to get these errors down, close your BR tag like so: , and using is also old news (but I think the problem is that it's a bad place for it). mendel 02:41, 4 June 2008 (UTC)