How do I insert HTML code?

It’s easy to insert HTML code in your website.

NOTE! We do not offer support for this!

Not all HTML code is compatible with your website, but most are not a problem. Codes containing forms are one example of HTML code that cannot be inserted.
In HTML, you cannot have one form inside another if your website is already using this function. But like I said, most work without problem.
You may have difficulty if you are trying to insert a JavaScript. If the script you inserted did not work as you intended, just delete it.

You can copy/paste codes anywhere you can access the toolbar, which contains the  button.

It is extremely important that you do not destroy code already in a field. If you have a blank text field, you also have a blank field when you click on the HTML button. But if you already have data in the text field where you want to paste your code, be very, very careful when doing so to avoid breaking a tag. This can really ruin all your hard work and you may have to start over again.

 

A quick intro to HTML

An opening tag looks like this: <>
A closing tag looks like this: </>

<p> Is the beginning of a paragraph. Standard text is appears in these paragraphs. </p>
<font> Typeface settings for the text. </font>
<h1> Formats the text to a Heading 1. </h1>
<h2> Formats the text to a Heading 2. </h2>
<a> Is a link, for example, to another website. </a>
<table> Is a table. </table>
<tbody> Is a part of the table. </tbody>
<tr> Is a part of the table. </tr>
<td> Also a part of the table. </td>

<script> Used when you insert JavaScript. </script>

&nbsp; - This is called non-breaking-space and it appears if you press space two or more times.

<br /> - This can appear after a line and it means that you have made a soft line break. In other words, you pressed Shift-Enter to make a line break without ending the paragraph.

 

A piece of advice when pasting in your own code, is to write a description of the code. This allows you to see what your code should do, and makes it easy to find.

You can use <!-- and -->
These are comment fields in HTML that have no function other than to inform you about the code.
Try this:

<!-- My HTML code "that does this" starts here -->
This is where the HTML code itself is.
<!-- My HTML code "that does this" ends here -->


Store this text file HTML.txt on your desktop so you can easily find it when you want to work with codes and need the correct wording over and under the code.

 

Where do I paste my code?

What does your HTML code do? Is it something that will show up on your website, or something in the background and not visible? If it is the latter, it is easy to insert the code. Do so at the very top or the very bottom to avoid breaking a pre-existing code.

If it will be visible - a clock, for instance - then look for paragraphs in the code.

 

Let’s take an easy example. We are going to paste a code in a text field that contains the following text:

 

This is the text that should appear over the clock.

This is the text that should appear under the clock.

 

This is what it looks like in HTML code:

<p>This is the text that should appear over the clock.</p>
<p>This is the text that should appear under the clock.</p>

 

You need to keep an eye on:

</p>Ends the previous text segment

It is between these Ps that we can paste our code.

<p>  - Starts the next text segment

 

The example code we use here is a clock www.worldtimeserver.com
There is a comment field over and under the code, so we can easily see what the code should do.

<!-- The HTML code to my clock starts here -->
<table border="0" cellspacing="0" cellpadding="0"><tr><td align="center"><script type="text/javascript" src="http://www.worldtimeserver.com/clocks/embed.js"></script><script type="text/javascript" language="JavaScript">objSE=new Object; objSE.wtsclock="wtsclock001.swf"; objSE.color="ffa00b"; objSE.wtsid="SE"; objSE.width=200; objSE.height=200; objSE.wmode="transparent"; showClock(objSE); </script></td></tr><tr><td align="center"><h2>Din Studio</h2><h3>In Sweden<br />Central European Time (CET)</h3></td></tr></table>
<!-- The HTML code to my clock ends here -->

 

Now we are going to paste the code between what should be over and what should be under.

 

This is the text that should appear over the clock.

Din Studio

In Sweden
Central European Time (CET)

This is the text that should appear under the clock.

 

That wasn’t that difficult, was it?

 

To learn more about HTML, check out this site: www.w3schools.com