Posted: Thu Jan 12, 2006 11:17 pm Post subject: Textarea "enter" to <BR>
basically, what i want is that when someone enters
code:
Hello
how are you?
i get a string:
code:
Hello<BR>how are you?
thanks, JSBN
Sponsor Sponsor
JSBN
Posted: Thu Jan 12, 2006 11:31 pm Post subject: (No subject)
nm, i got it
Jeevan25
Posted: Sat Jan 14, 2006 1:32 am Post subject: (No subject)
to make the site according to w3, use <br /> instead of <br> br breaks the line so the text after it is shown in a new line.
md
Posted: Sat Jan 14, 2006 2:23 am Post subject: (No subject)
Jeevan25 wrote:
to make the site according to w3, use <br /> instead of <br> br breaks the line so the text after it is shown in a new line.
That is slightly depended on what doc-type you are using, but yes for good measure use <br />. That way when you decide to say move to the xhtml doc-type things are already mostly correct
Jeevan25
Posted: Sat Jan 14, 2006 11:01 am Post subject: (No subject)
w3 is no recommeding <br /> , xhtml due to broken tags in html. in order to pass w3 validation [which by the way this site doesn't have] the site should use xhtml. xhtml is easier to read than html.
octopi
Posted: Sat Jan 14, 2006 2:22 pm Post subject: (No subject)
Hey JSBN, would you mind posting your solution so that others on the board can learn.