Diana's test page 2
Image
![A map of the moon.](/sites/default/files/styles/content_page_news/public/2022-09/moonmap.png?itok=CpMdq6cK)
How to write HTML code?
The easiest way to write HTML code is to download Notepad++. Writing code in Notepad++ has several advantages:
- Colour coding makes it easy to visually spot different parts of the code, such as:
- opening and closing tags, and
- links.
- Clean design with no distractions.
When you paste your code in the WYSIWYG, remember to always select ‘full html’ from the drop-down menu in the editor.
- Creating sections (anchor links)
- Pasting text from Word and other programs.
- Numbered lists.
Pasting text from other programs
You have to make sure to press the clear formatting button. Without it, you would get a mess.
One thing we need to do is to make links open in new window. This is achieved by adding the attribute ‘target’ into the tag for link.
bla