Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: open
"The attribute value "Bilder/links.gif" for the "src" attribute was not enclosed in single or double quotation marks when it must be."
is it a big mistake, when the quotes are missing? for example
i mean for the smaller things like width, color, links.
because i haven't seen any disadvantages until yet (when it comes to search engines)
i have hundreds of pages, changing them all would take so much time!
There are some FREE text editors that will convert the code for you..
I use NoteTab Lite you can specify to change case of tags and/or attributes and if you select change to xhtml it will automatically quote the attributes, I'm sure there are others too, might make life easier..
Is it important? For some issues, yes it is. Netscape, for example, ignores all non-quoted color=FFFFFF statements.
In XHTML you must quote all attributes and they must be in lower case.
It is a requirement for validation. It is also a requirement for many other things. To say that NN4x represents 3% of your audience and that is not enough to justify correcting the issue is not valid justification! ;)
If DW operates in any similar manner to FP, correcting this is fairly simple. In FP, I set my page preferences according to my requirements and quoted attributes are mandatory.
If I open a page in FP and view the html and there are no quoted attributes, I can right click, reformat html and viola, all attributes are now quoted and lower case. Why? Because I just applied my default preferences to that page.
I've been getting more and more requests to assist people in validating their pages and FP has been a big plus. A couple of weeks ago, I took a 110 page site that was an absolute mess. Ran it through my FP preferences and got it to validate in under 4 hours.
I had to open every single page and apply my formatting rules, but, that is a heck of lot simpler than doing it by hand! Check and see if this option is available in DW.
I was only wondering if this quote-thing is so important, why is the default settings of DW different than it should rather be?
If security is important why then are most Microsoft products not configured with security in mind? Lazyness, ignorance, whatever...
There are just a lot of people who think that since most browsers understand the non-standard code that it is ok to use just that.
by the way, you can even use html 2.0 in which it is allowed not to quote attribute values if they do not contain any space character.
in html 4.1 i ever thought it is the same. xhtml was the first time, it is said, you have to quote and you have to use double quotes for it. with html you can use single quotes and then use double quotes in the value and vice versa, in xhtml you have to use the according entities in values.
One may use either single or double quotes for attribute values.
BTW you quote the attribute values, not the attribute ;)