| Computer Science Canada Textarea "enter" to <BR> | 
| Author: | JSBN [ Thu Jan 12, 2006 11:17 pm ] | ||||
| Post subject: | Textarea "enter" to <BR> | ||||
| basically, what i want is that when someone enters 
 i get a string: 
 thanks, JSBN | |||||
| Author: | JSBN [ Thu Jan 12, 2006 11:31 pm ] | 
| Post subject: | |
| nm, i got it | |
| Author: | Jeevan25 [ Sat Jan 14, 2006 1:32 am ] | 
| Post 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. | |
| Author: | md [ Sat Jan 14, 2006 2:23 am ] | 
| Post 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  | |
| Author: | Jeevan25 [ Sat Jan 14, 2006 11:01 am ] | 
| Post 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. | |
| Author: | octopi [ Sat Jan 14, 2006 2:22 pm ] | 
| Post subject: | |
| Hey JSBN, would you mind posting your solution so that others on the board can learn. Thanks. | |