Validate your Blog!

How to make your blogger.com blog validate.

Saturday, November 13, 2004

 

1. Blogger Profile

Problem:
Unfortunately, the blogger profile which shows a user photo and description does not validate: The img-tag which shows the user's photo doesn't close. It is <image src="...">, but should be <image src="..." /> instead.

Solution:
Copy the html code of your profile, as it appears in your blog's source html code on the website. The code begins after
<!-- Begin #profile-container -->
and stops after
<!-- End #profile -->

In your blog template, replace <$BlogMemberProfile$> by pasting the html code you copied. Now make sure to add the closing slash / to the img-tag.

Example:
Change
<img width="80" alt="My Photo" height="60" src="http://stephanmosel.de/stephanmosel_bw.jpg">
to
<img width="80" alt="My Photo" height="60" src="http://stephanmosel.de/stephanmosel_bw.jpg"/>

0 Comments: Post a comment

<< Home

Archives

November 2004   January 2005   July 2005   Current Posts

This page is powered by Blogger. Isn't yours?   Creative Commons License   Valid XHTML 1.0!   [Valid Atom]
This work is licensed under a Creative Commons License.