WordPress Essentials: 5 HTML Codes You Need to Know

wordpressessentials1

When I’m not Indie Chickin’ my days away or spending time with my loved ones, I am working to put food on the table. You know, before we reach our first million, of course. I design custom WordPress websites built on the well-known Genesis framework, and decorate blogs with my sweet ass graphic design skills. See, I’m obsessed with all things blogging – and I’m completely self taught.  I started blogging almost 2 years ago and most of my first few months were spent Googling How to’s. I’m going to be starting a WordPress Essentials series that I will be sending to my clients as well. For many, these are basics. For most, this is a foreign language.

WordPress Essentials: 5 HTML Codes

When I started blogging, I was obsessed with changing my theme. (Most of it had to do with the novelty of the whole thing, and the fact I hadn’t found my ‘blogger-identity’ yet) Anyway, I installed a theme, went to write a post and the ‘visual’ tab of my edit post was no longer working. While I could have easily switched back (and shouldn’t have stayed with a theme that caused conflicts), I decided to learn the basics.. in case I ever had to write a post using only html.

1. How to add a link

<a href=”LINK”>Text that shows</a>

or to open a new page

<a href=”LINK” target=”_blank”>Text that shows</a>

Note: Put the full link, including the http://

2. How to add an image

After uploading your image into your media files (or getting the URL off another site for the picture you’re allowed to use) copy that link:

<img src=”LINK” alt=”keyword”>

You can specify the width and/or height for the image instead of realizing you sized it a little too big, resizing and reuploading. You can also align the image on the page.

<img src=”LINK” width=”300″ height=”300″ align=”left”>

Note: You can combine the above two to make a clickable image by doing the following:

<a href=”LINK TO SITE”><img src=”LINK TO IMAGE”></a>

3. How to add headings and paragraphs

If you don’t use headings and paragraphs, your text will show up in one big block.

<h1>This is heading 1</h1>

<h2>Imagine an outline</h2>

And for paragraphs

<p>Insert your paragraph here</p>

4. How to split up your posts

There are 2 ways of splitting your post. If you have your blog set up to show your full post on the front page and want to add the ‘Read more’ after a teaser first paragraph, you use:

<!–more–>

And if you want to split your post into multiple pages (like you see in some of our longer articles) use this:

<!–nextpage–>

5. How to bold, italicize and underline

To add accent to your blog post, use the following to add each effect:

<bold> You are bolding this text</bold>

<em>You are italicizing this text</em>

<u>You are underlining this text</u>

 

These are literally just the basics. There’s a ton of stuff you can learn about HTML. You can check out sites like w3schools.com to learn more. If you ever want to do something on WordPress, there is almost always a plugin that exists to help you. I find that knowing the basics like the codes above will help minimize the list of plugins (which end up slowing down your website). For example.. Instead of using a plugin to insert images in a widget, just add a text box and use the code above! Bam.

Coming up: WordPress Essentials: Plugins, WordPress Essentials: Design, WordPress Essentials: Blogger-Identity and much, much more!

What are some basic html codes that you think blogging beginners absolutely MUST know?

Did you enjoy this article?!
Receive an update straight to your inbox every time we publish a new article. Your email address will never be shared

About this Badass Author


CEO and CoFounder here at The IC, Chiara wears a thousand hats. When she's not doing things for this company (wait, does she ever not?) she does freelance graphic design, takes care of her little baby son, and spends the rest of her time watching and reading teen dramas.

Twitter - Facebook - Google+

  • http://bluenotebacker.wordpress.com @bluenotebacker

    This is great info, thanks for sharing! I’m ready to make the jump from WP.com hosted blog to my own domain/hosting and WP.org, so I’m stashing this for future reference too. I have too many other things om my To Do list ahead of doing my own site, but it’ll happen eventually, and I’ll be poking my friends for HTML tips I’m sure ;)

    • http://www.theindiechicks.com Chiara

      I’ll be honest with you – the day I transitioned to self-hosted was one of the best days of my blogging life! You have SO many more options.. so much more freedom. You can google tutorials for specific things you’d like to do to your website.. and actually be able to do them. I hope this series will help you on your journey! :)

  • http://myfittblog.com Veronica

    This is essential for bloggers and novice web designers! Bless you for being so generous when you share your knowledge. This will help oodles of people.

  • http://sweetsciencecoding.com/ Dan

    Great article! Just a couple of tips, if I may.

    You should always specify the image dimensions in your img tags. This helps the page render faster. – https://developers.google.com/speed/docs/best-practices/rendering#SpecifyImageDimensions

    Also, try to avoid re-sizing images using html. If you have a 500×500 image and use the width/height tags to resize it to 50×50, it will display 50×50 on the page but that larger 500×500 image is still being sent to users. – http://www.petapixel.com/2009/11/12/why-you-should-never-let-browsers-resize-your-photos/

    • http://www.theindiechicks.com Chiara

      Brilliant! Thanks for the additional tips, Dan! I learned the second point the hard way. I was using images from stock xchng (which come 3000×3000) and comfortably resizing to 400×400.. It was okay until I would load my home page… which really, didn’t load.

      Thanks again for sharing! (And any more tips and/or corrections are more than welcome)

  • http://ctam28.blogspot.com Michael Zosh

    I notice that some of these, as said, are basic HTML codes. Like the ones for putting something in bold or italics or underlining. I’m wondering if the others, and the later HTML you’ll post will also work on Blogger.