The difference between strict and transitional XHTML: Transitional is a forgiving form of doctype. While you must code cleanly - properly nested lowercase tags - transitional allows deprecated elements and attributes to pass validation. The strict doctype is strict: deprecated elements and attributes will fail to validate under a strict doctype and may well display incorrectly as well. For example, <p align="left"> and <center> will validate in transitional, but not in strict mode since the align attribute and the <center> element are both deprecated.
HTML 4.01 strict will also fail to validate if you include deprecated elements and attributes. HTML 4.01 will fail to validate if you include XML style closing syntax on empty elements.
The primary benefit is that XHTML is more portable in non-computer devices like cell phones, Palm devices and other scaled down browsers. XHTML is also said to be extensible: new tags can be added. XHTML, due to it’s stricter nature, forces developers to write cleaner code. Here are the “official” differences between XHTML and HTML:
The only way to ensure a particular font is available for your page is to embed the text into an image. This is commonly done for titles and logos, to make sure that the critical type elements appear in the proper font. By creating an alternate version of such an image, you can create the illusion of a button lighting up as you hover over it. The advantage of an image-based (via Javascript) rollover over a CSS-based rollover is that using images allows you to embed any font you want, therefore not requiring that the viewer have the same font on their systems. This frees you to use an esoteric or silly font with confidence that the viewer will see it the way you want. It does require more images be present for the page to work, which marginally increases the size and load time. Button-sized graphics are pretty small, though, so it's rarely an issue when so many people have high-speed Internet connections. Another reason to avoid graphics over text for buttons is that search engines don't understand images.
CSS-based rollovers use properties of links that allow you to specify different appearances and behaviors for the various link states: link, visited, hover, and active. While you can only specify a list of fonts to try with this method, this approach requires no images, and can easily adapt to varying sizes.
PHP is a programming language that runs along with the Web server. The Web developer can embed PHP commands in an HTML file, and rename the file's extension to be .php. When the user's Web browser requests a page with a .php extension, then it first allows the PHP preprocessor to process the PHP code embedded in the HTML file. Typically, PHP is used to create HTML to display data that is extracted from a database. The MySQL database system is normally used, since both it and PHP are free software. PHP provides the easiest way to create dynamic Web pages, where some or all of the HTML code is created on-the-fly by the PHP program running in the same environment as the Web server. An excellent example of this is WordPress, the blogging system. Through a combination of HTML, PHP, and MySQL, WordPress creates pages dynamically whenever a browser requests a page.