Basic HTML for Bloggers.

Blogging is like learning another language by itself, and there’s a lot of people sitting in the corner with their hands over their ears screaming “NO! I Will Not Learn This HTML! I Just Want To Blog!” – I believe the reason is, people think this is too technical for them.

Well I have good news for you. It’s not technical. It is simply a different language. HTML stands for HyperText Markup Language. If you’ve ever tried to learn a language you’ll know you need to practice and use it often in order to be successful, and you have to learn what things mean in order to understand it.

HTML is no different.

It’s just like French, only more useful – unless you live in France. It’s just like Norwegian, only less pretty looking. It’s just like English, only if you use the wrong spelling or grammar it can stop your site from working right and cause you to have a minor meltdown where you end up curled into a ball on the floor, rocking back and forwards.

The good news –

You don’t need to learn to speak this language out loud, or learn to remember it if you don’t want to. Using this language is a simple matter of copy and paste. Eventually you may learn the code yourself and can write it on your own – even then you can still use copy and paste because it saves you time.. Also, there’s a lot of great sites out there where you can grab bits of code – almost like phrasebooks.

In this post –

The HTML will be put into images, just to make it easier for me to write the post. Do not fear, I’ve got a text file which accompanies this post – and it contains all the HTML I’m talking about today complete with instructions on how to modify it to suit you.

New To Computers?

Some of the people reading this may not know how to copy and paste, I’ll put links to instructions for that at the bottom of this post too – as well as an easy way to “steal” code from websites and blogs.. So let us begin.

Text Links –

Most bloggers use the option in their blogging platform to put in a link. This is time consuming and it means you have to have the page you are linking to open in your browser when you are writing the post in your blog. The code for this is so simple.

<a href="link">text</a>

In order to make a link, you need to copy the link and then paste it to replace link in the HTML. The quotation marks need to stay. You then put the text you want for the link where it says text – in between the brackets. So a link to me would look like this –

<a href="http://www.snoskred.org/">Snoskred</>

Colors –

There are 216 colors which are best for using on the internet because they don’t “dither” – they are solid colors. See Non-dithering colors for more info. What we want to talk about is how to change font colors in HTML. You can do this in your blog color scheme, but sometimes you will want to use it in blog posts or in your sidebars. It truly is child’s play.

<font color="#colorhere">text</font>

Where do you get the color codes from? Try the Visibone Color Lab or the Web Safe Color Chart

Lists –

<ul>
    <li><a href="link">text</a></li>
    <li><a href="link">text</a></li>
</ul>

<ol>
    <li>text</li>
    <li>text</li>
</ol>

Some people have seen the UL code around the place, they use it, they have no idea what it means or what it does. ;) It stands for Unordered List. This just means you can put a bunch of things together in a list. There is also OL which stands for ordered list and that kind of list will automatically put in numbers. There is a fantastic lists tutorial online – HTML Lists which explains lists a lot better than I can.

Centering –

Things tend to look better when they are centered. There’s two ways to do this in HTML and I am going to tell you the really simple one. Are you ready? This one is a doozy, ya’all. You better sit down.

<center>text</center>

Seriously, that is how simple it is. It has to be center, not centre.

You can see now this language is actually easier than a lot of the languages on the planet. It’s not like they’re taking the word newspaper and telling you the word for it is avis as they do in Norwegian. It just involves some brackets and looks complicated but truly, it isn’t. Don’t be scared of it.

Scroll Bars –

Sometimes you want to put something on your sidebar but you don’t want it to take up the amount of space it takes up. A blogroll is an excellent example of this.

Some people use blogrolling to maintain a blogroll. Unfortunately blogrolling uses Javascript – and therefore none of the links count in Technorati or on Google or the other search spiders.

If you want the links to count for the people you are linking to, you need to use the following HTML code – you can put links in there, or just text. I have both link and text scroll bars on my sidebar, can you see them?

<div style="overflow: auto; height: 100px">
<ul>
    <li><a href="link">text</a></li>
    <li><a href="link">text</a></li>
    <li><a href="link">text</a></li>
    <li><a href="link">text</a></li>
</ul>

If you want to change the height of the scroll bar, simply change the 100px to a lesser or higher number – ie 180px, 300px

I’m Ready To Get The Text File Now –

You can get a copy of all this html code in a simple text file with instructions on how to modify it right here – it is better to use right click and save as text file because if you view it in your browser you won’t see the code.

Copy And Paste

There’s a few links on the web which teach you to copy and paste – here are two simple and good ones.

How To Copy And Paste
The Basics of Cut and Paste

How To “Steal” Code

Sephy wrote a great blog post on this a while back.

How To “Steal” Code

Ready For More?

Sephy’s Tuesday Think Tank post (which is a companion post to this one) is fantastic this week, so make sure you go and read it! ;) I will link to it here as soon as he puts it online – which may be a little while because his internet just went offline and he’s gone to bed. Drop back in about 12 hours for the linky. ;)

Check out his post of Some HTML Tips & Tricks here!

Further Reading –

If you know nothing about HTML, this is where you start
Getting Started Tutorial
Web Safe Color Chart
Non-dithering colors
How to Style an Unordered List with CSS

HTML Reference And Learning Websites –

HTML Code Tutorial
HTML Help
HTML Tutorials At W3
HTML Goodies
HTML Dog
Learn HTML And CSS

It’s Up To You –

Learning is a choice. We all make choices in our lives. You might choose to learn the piano. You might choose to learn Norwegian, as I once did. Bloggers can choose to live in fear of HTML and code, or they can choose to dedicate 5-10 minutes a day to do quick HTML tutorials and start the learning process. You may decide only to learn the basics and that is fantastic in itself – doing that is much better than being scared of text on a screen.

Endless Capacity

We Humans have an endless capacity for learning – just consider how many song lyrics you hold inside your head. HTML is not just useful for blogs. If you learn it you can use it to design websites – for yourself and maybe for others. It may lead you onto learning other programming languages.

The Power Of The Internet –

If there is ever anything you don’t understand, aren’t sure about, or don’t know how to use, you can find out on the Internet by searching for it. Or, you can simply ask Sephy and I to make a Tuesday Think Tank on that topic. ;) We’ve done quite a few of these now.

Previously in the Tuesday Think Tank
21st August: RSS
14 Reasons Readers Unsubscribe From Your Blog
Tuesday Think Tank: All About RSS

28th August: Blog Templates
Blog Design – Open Your Eyes.
Demystifying Blogger Template Editing

4th September: Nofollow
Spam, Spiders And Do Follow, Oh My!
Say No! to Nofollow

11th September: Site Meters
Do NOT Rely On Your Site Meter.
Track Your Visitors with Google Analytics

18th September: Technorati
Technorati – Sending Out An SOS
The Ups (and Downs) of Technorati

Stumble It? –

If you liked this post you may want to stumble it.

Link To It?

If you have readers on your blog and this post would be useful to them, please link to it so they can read this and stop fearing HTML. ;)

Over To You –

Got any thoughts on HTML? Have I taken some of the scariness out of it? ;) Let me know if yes!

Similar Posts:

blogging tips, html, tuesday think tank

18 thoughts on “Basic HTML for Bloggers.

  1. This was a great post.

    Even if you know some of it already, it’s always good to have it set out and explained nice and easy :)

  2. i think i love you!

    html scares the holy crap outta me. but this is a great post that i will certainly return to when i need to. thanks!

  3. Aww I thought I left a comment yesterday but I mustn’t have submitted it! Oops!

    I started with html when I got a *gasp* myspace. And I love the feeling you get from getting to understand it and being able to change your site around etc. The only issue I’ve had was when I was trying to get some text centered and I kept writing < centre > instead of < center >! Haha, I couldn’t figure out why it wasn’t working!

    Your post is helpful – hopefully will inspire those who are avoiding html because they feel it is too difficult, to give it a go!

  4. I got as far as lists, and had a horrific hot flash..tension will do it every time. I know I need to absorb your stuff, I just don’t know how to talk my brain into it…

    I will try with David tomorrow..

    thanks for trying to help us dummies..and I mean I’m a dummy..
    Dorothy from grammology
    call your grandma
    http://grammology.com

  5. Thank you, in big red letters once I absorb your information. Would you mind if I stuck a link to this into Facebook? And good to remember that HTML spells American. Of course.

  6. This is a great reference post. I am definitely going to bookmark this so I have it to refer back to when I need it. Thanks! :-D

  7. Missy – I did not want to write this post at all, about halfway through I felt like giving up. But I stuck it out and I think it was one of the best posts I’ve written.

    Chani – It’s a start – the rest of the journey is up to us individually. ;)

    Liv – You’re welcome!

    Christine – it is so weird that we find it scary. If we were learning a new language usually we would find it romantic and special and all those kinds of things, no? ;)

    Katie – there is no better feeling than getting a bit of code to work. ;) I hope people will be inspired by it too.

    Dorothy – that’s simply not true. It is scary, is all. You’re not dumb, just scared silly. ;)

    Catherine – I hope it is a great resource for all. :)

    Mary G – Absolutely! Go for it. I know nothing about facebook, by the way. I keep off ooo!

    Lynne – The text file is also a handy reference to have on the computer, I think. I have lots of them for this purpose. ;) I don’t want to have to waste time typing or remembering code.

    Magpie – You’re welcome! ;)

    Thanks for the comments all!
    Snoskred
    http://www.snoskred.org

    Thanks for the comments all!
    Snoskred
    http://www.snoskred.org

  8. Well, thankyou for perservering. I really appreciate it! :-)

    I’ve made a start AND I’ve linked to you in a blog post AND I did it using your instructions for links. GO ME!!!!

    I am HOPELESS when it comes to computers so if I can do it anyone can! :-)

    AND if I get as addicted to HTML as I am to blogging – I’m blaming you!!!! LOL.

  9. WordPress just ate my comment because I used a complimentary word which might be considered spam.

    Sigh.

    This was an extremely helpful primer, much better than Blogger “help.”

    I wish I had seen it (and the cache of my blog you sent me the link to) before I switched to “layout,” which doesn’t seem to have access to the html, although it must be in there somewhere.

    Thank you for your help, Snoskred. I appreciate it so much.

Comments are closed.