Adding or editing HTML
HTML is the code used to create web pages. The SurreyCommunity.info editor allows you to edit pages without having to know HTML - you edit the page and then the editor makes the necessary changes to the HTML behind the scenes.
However, if you want to edit the HTML for your pages, you can do so. This can be useful if you need to tweak an aspect of your page or if you want add something that isn't supported by the editor.
You should only edit the HTML if you are familiar with how HTML works (there are lots of guides to HTML available on the web).
Some things to note:
- You can only edit the html for the main part of your page. You can't edit the html for the header, footer, crumbtrail or navigation menu.
- When viewing a page in the editor, the html path for the part of the page you are currently editing is shown in the grey bar at the bottom of the editor. This can sometimes be helpful for quickly spotting problems or seeing what html is used.
- The editor will attempt to correct invalid html. This means that sometimes it will alter the html that you have edited or added. This may produce unwanted results. If it does this, you can use the editor's undo button (first button in the third row) to return to the point before you edited or added the html.
To edit or add HTML
- Open the page for editing
- Click the HTML button in the editor.
- A box will appear on-screen showing you the HTML code for the page. You can edit this and when you are finished click the insert (or update) button.
- You will be returned to the editor. Click either the save button to store the changes or the save and publish button to publish them to your site