So you are interested in making your site valid xhtml? Congrats. This will enable your site to be seen properly in all browers for all computer systems. If you are looking for the valid CSS tutorial, go here.
There are a few things that you need to remember to keep constant through out your site:
you must remember to close all tags, example: include <body> and </body>
<br> must include a / before closing, example: <br/>
only use <p> if you are going to remember the </p> at the end!
there can be NO uppercase in any tags, example: <b> vs. <B>
img tags must contain an alt tag, even there is nothing written in it, example: alt=""
img tags must always be closed, just like the br tags, example: <img src="image.gif" alt=""/>
never forget to put the " and " in your html, example: <a href=/> vs. <a href="/">
With xhtml, the <html> tag is a little different. This is partly what your page will look like (copy and paste):
CONTENT PLACED HERE
Make sure to change the title to what you want and enter some words to describe your content. Then finish modifying it to make it the way you want your site. The doctype tag at the very top is the only tag in xhtml that is allowed to be in uppercase. Don't forget to close your html at the very end of your page with </html>.
When you are ready to validate your site, go here and type in the address of the page you want validated. The result might come up as "This Page Is Valid XHTML 1.0 Transitional!" or it might come up as "This page is not Valid XHTML 1.0 Transitional!" If it is the latter, then below it will tell you what is the problem and it explains how you can fix it.
And that's it! I hope this tutorial helped you! If you have further questions, please don't hesitate to contact me.
Please note: this page will not be valid xhtml for the purposes of explaining the tutorial to you!
Welcome to Just-Like-Magic.org, a personal and entertainment site. It has gone through many changes and I hope you like what it is today. You are currently viewing the Simplicity skin. If you would like to change it, go here.