html: line continuation for strings
In HTML, if you have a really long string, is there a way to break it up into separate lines and keep it as one string? I want to have my HTML code within 80 character width. E.g.:
Code:
<a href="www.example.com/blahblahblahblah/somethingorother/really/long/url/path/goes/here/and/is/way/too/long/index.html">title</a> Code:
<a href="www.example.com/blahblahblahblah/somethingorother/really/long/url/\ |
Did you try without the spaces (or tab) in front of path?
jlinkels |
Quote:
|
Quote:
|
I think simply hitting return in the text editor is all you need to do since the browser will render only tags like br, p-/p etc as new lines. So to the human (you) it is readable and as you would expect, it makes no difference to the machine (browser).
Note OK |
Assuming dugan is right, there's nothing to stop you setting wrap as on in your editor; that way it appears ok to you (if not so nicely indented).
|
All times are GMT -5. The time now is 03:01 AM. |