EDT4OL/Authoring/Author
On this course, you are not required to learn HTML markup. However there are a couple of handy wiki markup code you can use to improve page layout. In this section, we also provide tips for improving layout of pages for mobile responsive design, things you should avoid and suggestions for troubleshooting outline pages with syntax errors.
Useful wiki markup code
| Markup | Purpose |
|---|---|
| <br> | Single forced line break Sometimes the author must manually insert a line break to force the text which follows to start on a new line. |
| <nowiki> ... </nowiki> | To force the wiki to ignore ('escape') the effect of wiki markup contained between the opening and closing <nowiki> tags For example, when an author wants to show the raw wiki markup, instead of the wiki applying the relevant formatting of the markup in the published view. Note that the </nowiki> tags must be applied on every line where it is needed. |
| {{Clear}} | To stop text that appears immediately after the insertion of this template wrapping around a floating element like an image. For example, this is used with images to force text to appear below the image on a new line without text wrapping[1]. |
Footnotes
- ↑ This is the equivalent of the HTML tag: <br style="clear:both;" />