Brett_Tabke

msg:3333638 | 11:42 am on May 8, 2007 (gmt 0) |
you mean a space? Or a quote?
|
stevelibby

msg:3334695 | 10:24 am on May 9, 2007 (gmt 0) |
sorry it doesnt show quotes.
|
dreamcatcher

msg:3335340 | 10:28 pm on May 9, 2007 (gmt 0) |
When you say you have come across a text editor, do you mean a web template? Not sure how you can modify a text editor to fit? Sorry if I`m confusing myself. Here are some useful links: HTML Specification [w3.org] HTML Specification Attributes [w3.org] | Info from the web: In XML, quotes are always required (since XML has SHORTTAG NO; see Comparison of SGML and XML). You may use XML in the future, and in that case your life will be simpler if you have adopted the habit of quoting attribute values. When someone (you or someone else) later edits your HTML file, he may easily forget to add the quotes if he edits an attribute value in manner which makes the quotes mandatory. For example, an attribute like SRC=foo.gif is legal, but if someone changes the attribute (e.g. due to moving a file to another directory) to SRC=images/foo.gif it becomes illegal. |
| dc
|
stevelibby

msg:3339934 | 10:50 am on May 15, 2007 (gmt 0) |
Yes we have gone off the line lines a little here. Ok a html string should be shown as: <TD vAlign="top" width="165"> but what if it looks like this: <TD vAlign=top width=165>, notice no quotes!
|
coopster

msg:3340553 | 12:23 am on May 16, 2007 (gmt 0) |
It depends on the DTD but you are best off using quotation marks around your attribute [w3.org] values. | We recommend using quotation marks even when it is possible to eliminate them. |
|
|
|