I’m glad that I took my extensive course in HTML and email etiquette over ten years ago, as it has stood me in good stead ever since. That was way back in 1999 when I attended my local college for one week. Apart from learning HTML and how to write a website completely in code, Email etiquette, and all that that entails, is something I wholeheartedly believe lots of emailers nowadays ought to learn, not least all the spammers in our midst.
But, in this article, I just want to concentrate on HTML.
In recent years, I have been known to ‘throw together’ websites here and there, and I mainly use wysiwyg (what you see is what you get) nowadays, but if something goes wrong with the wysiwyg programmes then it’s good to know that I can dive in to the code and hopefully sort it out. This is normal if you are looking for the best website builder to create a website. But don’t worry because there are a lot out there. You just need to know where to look.
Knowing HTML code is very useful. For instance, if you want to show a deliberate misteak mistake like this, just add this lt; strike gt; lt; /strike gt; to your code either side of the work you want to strike through. It’s little known, but can be used whenever and however you wish.
Another little used piece of code is the marquee. If you want a title or certain words to scroll on your page from right to left, just add lt; marquee gt; lt; /marquee gt; to each end.
An often seen mistake I’ve come across, and it only takes me seconds to rectify, is when somebody (usually a novice, but please don’t scoff, as we all had to learn once upon a time) cross-codes something. This can lead to a confused state within a web page, but can also quickly be repaired.
What I mean is, suppose you want to centre some wording on a page. Fine, we’ll use the lt; center gt; lt; /center gt; code. Then you may want to make the wording bold. So now we’ll add the lt; b gt; lt; /b gt; code. And, perhaps, we’ll make the wording italics and add lt; i gt; lt; /i gt;. Okay, hopefully you’re still following me here. Now, the correct way to line these codes up is to remember the rule ‘inside to inside’.
Let me show you. Let’s take the initials HTML. To centralise it, we do so thus: lt; center gt; HTML lt; /center gt;. Now we’ll bold it: lt; center gt; lt; b gt;HTML lt; /b gt; lt; /center gt;. And, finally, we’ll italicise it: lt; center gt; lt; b gt; lt; i gt;HTML lt; /i gt; lt; /b gt; lt; /center gt;. I trust by now you can see that I am following the ‘inside to inside’ rule.
To not follow the ‘inside to inside’ rule means the following: lt; center gt; lt; b gt; lt; i gt;HTML lt; /center gt; lt; /i gt; lt; /b gt;.
Can you see the difference? Continuing in this vein throughout your hand-coded website will totally confuse matters and sometimes even browsers will have a problem understand your instructions.
There’s loads more coding I could include but, if this short lesson has blown your mind away, then perhaps you need to invest in a wysiwyg programme to design your website. Or, get somebody who understands HTML coding to do it for you. It helps to be code-correct in the long run.
(Please don’t forget that the code has to be immediately next to the words and not spaced away like I’ve shown it, which is for demonstration purposes).