Archive for the 'HTML' Category

Valid XHTML user script

Monday, May 16th, 2005

The Valid XHTML user script is an adaptation of the blogidate XML well-formedness bookmarklet. It shows a line of text under each textarea indicating whether the text is well-formed XHTML. When the text is not well-formed XHTML, it displays Gecko's error message and gives you a link that selects the location of the error in the textarea. When the text is well-formed XHTML, it displays links that let you check whether the XHTML is valid in addition to being well-formed.

By default, it only runs on admin posting pages for Movable Type and WordPress and on archive pages for Simon Willison's blog. You can use Greasemonkey's interface to make it run on the sites on which you edit XHTML.

Screenshots

Demo for Firefox and other Gecko browsers

love.com

Friday, November 21st, 2003

AOL Instant Messenger has been showing animated ads for love.com, a personals site for AIM users. According to this news.com article, love.com will launch in a few weeks.

I noticed this strange HTML on prelaunch love.com:

<select name="gender" value="" class="txtfield2" style=width:80px;>
<option value=""> - Gender -
<option value="monday"> Male
<option value="tuesday"> Female
</select>

Why is male represented by "monday" and female by "tuesday"? Kate Monday and Pat Tuesday were both female.