To convert the code given by picasa into code that validates as XHTML 1.0 Strict (Beta version).

Input:
Output: