Why I typed the letter is not in the location of the cursor before?



HTML strips white-space & applies some standard formatting styles to all content of elements by default. To maintain your own formatting use a <pre> element. All of the white spacing & formatting you enter within this element will be maintained.

Note: This is not a substitute for regular HTML practices nor writing your content properly. HTML is a mark-up language. You can achieve formatting results through other methods such as using HTML entities, or RegularExpressions such as

[\ ] // An empty space
[\n] // A line-break

// Example of these two in use
<p>A truly spectacular paragraph!\n sdsss\ \ \ \ \ \ \ \  sssssssssss\ \ \ \ \ \ \ \ \ \ \ </p>


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.