Formatting text
When writing text in Moodle there are currently two formats you can choose to produce your text, depending on your expertise and the type of browser you are using.
Usually you can just leave this setting alone and things should work as you expect.
1. Moodle auto-format
This format is best for when you are using normal web forms for entry (instead of the Richtext HTML editor). Just type text normally, as if you were sending an email.
When you save your text, Moodle will do a number of things to automatically format your text for you.
For example, URLs such as http://yahoo.com or even www.yahoo.com will be turned into links.
Your line breaks will be retained, and blank lines will start new paragraphs.
Smiley characters such as :-) will automatically become their graphical equivalents.
You can even embed HTML code if you want to and it will be retained.
helpbutton("text", get_string("helptext")) ?> More info about Moodle auto-formatting.
2. HTML format
This format assumes the text is pure HTML. If you are using the HTML editor to edit text then this is the default format - all the commands in the toolbar are producing HTML for you.
Even if you are not using the Richtext HTML editor, you can use HTML code in your text and it should come out exactly as you intended.
Unlike the Moodle auto-format, no automatic formatting is performed.
helpbutton("html", get_string("helphtml")) ?> More info about HTML
helpbutton("richtext", get_string("helprichtext")) ?> More info about the Richtext HTML editor