Choose a link to get started:ALL NEW!!!Scrolling MarqueesThe BasicsThe BasicsManipulating Text Images Backgrounds Links More Advanced TopicsThe <HEAD> TagTables Forms Frames Lists Advanced TopicsImage MapsCSS - Part 1 CSS - Part 2 CSS - Part 3 CSS - Part 4 Additional TopicsXML Tag FormattingXHTML - Part 1 XHTML - Part 2 |
XHTML Basics - Part 2Everyone is having fun with XHTML right? Good, because here comes the final list of rules for XHTML, and you must follow these too, or your site will have errors in it. Here it is...You must use <head> and <body> All tags must be nested Alright, this one I am going to explain to you. Basically, the rules says that if you activated tags in the following order - a, b, c, d, e, f, g, then they must be ended in the reverse order, or g, f, e, d, c, b, a. Understand? The <pre> tag cannot have the following tags inside of it : <img>, <object>, <big>, <small>, <sup>, <sub> When using special characters with the & in them, such as &lt;, you must use the following code, &amp. The &lt; would then become &amplt;. When writing CSS, you must write in all lowercase letters JavaScript must be used through external scripting. This will be explained in a later tutorial. <!-- --> These are no longer used with comments, you must use <comment> and </comment> |