quotes on attributes (was Re: Unwanted space and quoting attributes)
by Nathan Young <nyoung(at)asis.com>
|
| Date: |
Tue, 04 Mar 2003 09:41:13 -0800 |
| To: |
"Kim Buchsen" <osb12b(at)adelphia.net> |
| Cc: |
hwg-critique(at)hwg.org |
| In-Reply-To: |
adelphia |
| |
todo: View
Thread,
Original
|
|
Definitely a good idea to quote attribute values.
- If an attribute value must have a space in it, it MUST be quoted. So you
can't have a rule "don't quote attribute values" and stick to it
consistently.
- XHTML (HTML formatted in such a way that it can validate as XML) must have
attributes quoted.
--->N
3/4/2003 7:58:31 AM, "Kim Buchsen" <osb12b(at)adelphia.net> wrote:
>Hi Michael,
>
>Thanks for the suggestions. I removed the align=left and quoted all
>attributes and it still is not removing that blasted space.
>
>I took a class in PHP programming at the University a few summers ago and
>the prof said that it would be good practice to start removing the
>unnecessary quotes from HTML attributes - even the HTML outside of the PHP
>coding. That is why I don't code align="left" anymore. The sections of the
>HTML for this particular page that have quoted attributes, were generated by
>an editor. The HTML for this particular page is not finished - ie.
>accessibility, size attributes, validation etc. Just trying to find the
>reason for that blasted space first! AAUGH!
>
>Thanks for your help!
>Kim
>
>
>
---
(([^/]+)/([^/]+)){0,1}/*(([^/]+)/([^/]+)){0,1}/*(([^/]+)/([^/]+)){0,1}/*
(([^/]+)/([^/]+)){0,1}/*(([^/]+)/([^/]+)){0,1}/*(([^/]+)/([^/]+)){0,1}/*
---
Nathan Young
N. C. Young Design
(530)629-4176
http://ncyoung.com
HTML: hwg-critique mailing list archives,
maintained by Webmaster @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.