Greg Chapman

Adding Headings, Paragraphs and Links

Entering Text

All text in an HTML document needs to be tagged to to describe its function. The theme you choose in WonderCMS then determines how this will appear, it's font, size, colour, etc.

Headings and Paragraphs

The most common tags for text are headings and paragraphs. Heading tags have six variations to allow for a number of level of sub-heading, so your first page, if all it contained was text, could look something like that below, where just three levels of heading are used and a number of paragraphs:

If having to type all those tags looks a bit intimidating then it suggests that you are not used to working with a text editor. There are many available on every platform. I am beginning to build a collection of Suggested Editors you may find helpful.

Links

After creating some text tagged as headings and paragraphs you will probably have in mind the creation of a second page and you might want to have your visitor jump straight to it rather than use the menu system. It's time to turn some text into a link to another page. To do that you wrap the text in an [a], or anchor, tag. It must include an HTML Reference (href="") attribute which specifies the page to which the link sends you. The structure takes this form:

If your site includes a number of levels of sub-pages then the easiest way to determine the correct file reference is to visit the page. For example, if you visit the "Choice of Theme" page on this site you will see the URL is:

While, for links whose target is within the site, you can enter that full address as the HTML Reference (href=""), the first part is unnecessary. I would recommend that you delete your equivalent of the "https://gregchapman.uk" part once you have pasted it in, leaving the remainder. Make sure you retain the initial slash in what is left.

It's not just text that can be a make a link. Images can be links as well. Just wrap a pair of anchor tags around the image tag. There is more about that on the Media page.

Related pages: Introduction, More Text Tags, Media Tags and Special Cases.