Re: [PHP-DOC] Re: phpdoc /en/language variables.xml From: Jeroen van Wolffelaar (jeroen <email protected>)
Date: 08/20/01

> > > -&lt;input type=image src="image.gif" name="sub">
> > > +&lt;input type="image" src="image.gif" name="sub">
> >
> > This isn't scrictly necessary, only if the value contains characters not
in
> > [a-zA-Z0-9_].
> >
> > I never use the quotes in this context... but it isn't wrong either, of
> > course.
>
> This patch was correct, because every attribute value should be enclosed
> in quots. It is correct XML and we should not have bad examples in the
> manual.

This is HTML, not XML. But indeed it's best to be XML-compliant.

> -Egon

Jeroen