Thread: Problem With Enter Key and HTML
it's been while since last played around html editing. made practice webpage, , noticed when do, example...
the text shows (in both google chrome , firefox)...html code:<body> sample text. sample text. </body>
instead of...this sample text. sample text.
the workaround put <br /> tags everywhere want carriage return or press enter. i've played around html in windows, i'm wondering if problem linux thing. i've tried both gedit , nano html editors , both display same problem. what's up? enter key in linux registered space instead of carriage return in html?this sample text.
sample text.
nothing editor, that's html, put in many line-braks still show same in browser. couple of other options are:
orhtml code:<body> <p>this sample text.</p> sample text. </body>
<p></p> defines paragraph , <pre></pre> define pre-formatted text i.e. preserves both spaces , line breaks.html code:<body> <pre>this sample text. sample text.</pre> </body>
h
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Problem With Enter Key and HTML
Ubuntu
Comments
Post a Comment