Beginners Guide To HTML

I really believe that everyone in the world needs to have a minimum understanding of HTML. We live in a world that revolves around the internet. Its like knowing how to spell or do basic math – its just part of life and its something you need to know to function, particularly if you’re creating a website or running an online business.

Quite a few of us grew up in a life before the web so we never learned it in school. If this is you – don’t worry, they do a crappy job of teaching this in education now so its not much different and quite pathetic.

Having said that, what is the basic amount of HTML you need to know? I’ve created a short guide that should get you started learning HMTL in about 30 minutes including a little practice time. So lets get going.

HTML stand for Hyper-text Markup Language. Its not really advanced code, but it is a markup. Markup means we’re going to use tags to tell the web browser how to treat text. That’s it. The browser uses the tags as instructions to display things in ways you ask it to so you don’t see the raw markup tags in the final page.

If you right-click on this page (or hold down CTRL and click on a Mac) you’ll probably see some kind of option for viewing source code. If you do that you’ll see all of the markup on this very page. There’s a lot of it and you don’t need to know how to code markup at a full page level yet so don’t let it freak you out. Its just to show you what all you can do with tags.

Tags

Tags usually surround text with bracketed abbreviations. They open and close to indicate the start and end to what you want. These are very common in basic text markup for things like links, bold text or italics. Headings and page titles can use these also – they open and close around the text to tell the browser what it is.

For example:

<strong>This makes the text bold</strong> and a different tag like <em>would make things italic.</em>

The strong tag makes things bold and the em tag makes things italic.

So there! You just learned your first 2 tags.

Headlines use “H” tags combined with numbers. This separates subheadings – you can have up to 6 levels, but really the first 3 are used most often.

<h1>This is an H1 heading</h1>
<h2>This is and H2</h2>
<h3>And finally an H3, we could go up to 6</h3>

These look like this when you code them:

This is an H1 heading

This is and H2

And finally an H3, we could go up to 6

Also handy to know is the paragraph tag:

<p>This would be one paragraph.</p>
<p>This would be another</p>

Self Closing Tags

Some tags don’t deal with text, so they “self close”. There’s nothing ever between the tags so its just one tag. A prime example of this is an image tag. This tag contains what we call attributes. They give more information about what the tag is doing. So an image tag might look like this:

<img src="http://mysite.com/imagename.jpg" alt="A Description of the Image" />

Here we use 2 attributes, src (tells us where the image is), alt (describes the image or displays a name if the image can’t be displayed) and note the slash at the end of the tag. This just means its self closing – there’s no separate tag to close.

Another handy tag is the “break tag”. Its used when you need a line beak without leaving the paragraph. Its simply <br />

That’s it!

So lets look at what we’ve learned. There are tags that surround text and tags that self close (like the image tag).

If you learn just the basic stuff on this page and practice a little bit – this will get you very far. You can format a basic article and this my friends, will put you on the road to success!

Should I Learn HTML To Run An Online Business?

One of the most asked questions I get from new entrepreneurs that are starting to run an online business is “should I learn html to run an online business?”.

The quick answer is yes, you should learn some basic html tags – you’re going to seriously limit yourself if you don’t. The good news is you should learn a few basic tags and how they work. Its easy and shouldn’t take you more than 30 minutes or so if you practice them a little bit.

Learn some basic HTML in 10 minutes!

The more complex answer depends on several things – how much do you want to do yourself, how much do you want to balance and what is it you want to do. Everyone needs to learn basic html tags – sorry. Its 2013 and its not hard. And you’ll use it a lot. Its like learning basic math. If you want to make mistakes because you don’t know basic syntax that is certainly your problem.

On the other hand – I’d say if you’re interested and serious, dig as deep as you’re interested in going. What you need to do is learn how to balance getting things done versus wasting lots of time because you’re too involved.

Making websites is a simple thing, but we tend to over think things like design and features. This is human nature. At some point you need to get something up so its working for you and you can massage it later. If you don’t know html, php etc and its not your thing, you’ll need to hire someone you trust to help you. The key word here is trust – there are good coders and bad coders. If you’re going to do it yourself that’s fine too just remember you’re working on a deadline and you need to launch a product. I see lots of people spending months on CSS and HTML and they don’t have a product.

This is important and you need to be wise about this just like you’d be about any of your time. Remember – you need to know the basics. Beyond that you need to balance what you’re willing to do.

Beginners Guide to Getting Links

So you’ve just created your first website. You want to get eyes on it, but the site is brand new and Google, Bing, etc probably don’t know its there. How do you get backlinks to your website?

The very first thing I tell people to do is make sure your website is optimized for the kinds of searches you want to be found in. This is really important because your content needs to actually be related to these searches for engines to even put you in results. Once you have a handle on this, you will have better results down the line so this is really important.

The next step would be to get indexed. Let Google and Bing know that your site is up. This is really easy to do. Sign up for accounts with both Google Webmaster Tools and Bing Webmaster Tools. Follow the steps on these sites. It might seem like a bit of work, but you do it once and you’re ready. When you’re submitting a site, follow the directions for verification. I would also recommend that you submit “site maps” to these services. A site map is a file that contains code telling search engines about all of the pages, images, video and content on your website. This file needs to be stored on the server so when you update it will tell the search engines that there’s new stuff. If you’re using WordPress, I’d use the Yoast SEO plugin because it will automate this whole process for you. If you’re not using WordPress – check available plugins and see if something exists. If not you’ll need to use a site map creator and manually save the content when you post it.

Wait a few days and you can see if your site is indexed. In Google this is really easy, just type site:yoursite.com into the search field on Google – obviously replace yoursite with your actual URL. This will return all of the possible search results from your website. Wait times vary, but this usually happens within a day or two of submitting via the webmaster tools. If there’s a problem, log back into your webmaster tools and see if there are any errors.

The next thing I would do is sign up for social media accounts. Get a Twitter account just for your site – its a great way to promote your content as you put it out and you can back link from Twitter. Do the same by creating a Facebook page for your site. Do this with any other relevant social networks as well. This is great because you get a backlink to your website and an easy way to reach people interested in what you’re doing with your site. Remember to post all of your content when you create it. Yes this takes time, but its totally worth it. I launch new shows for my photography podcast every Sunday. I spend about 30 minutes making sure I’ve got it posted to social networks. That’s 30 minutes AFTER all of the hard work it took to make the episode but its worth the effort. People will share your posts as you become popular and this gets more traffic to your site. Remember to link everything to your site – you want the traffic there and not to YouTube or Soundcloud or whatever content you create. Embed it to a page and share it. You’ll get traffic and search engines will likely take this into consideration on search results.

Anther great way to get links is by making content for sites like YouTube, Soundcloud, Slide-share and other sites. Creating good content is important and Google will reward this. Plus you’re creating content that’s in a smaller pool than Google. Always put a link back to your site and people can find you. The search engines will reward this.

And finally I would start networking. You need to get online and participate with other people. Find forum websites in the same niche as your website. Make sure there is a link in your “signature” and participate in the discussions. This will get real people interested in your website and it will also get you backlinks for search engines. Leave comments on major blogs the same way.

One final word – particularly about the forums and blogs. You need to do your homework and choose these wisely. Its really easy to spam blogs and even forums. The search engines know this and are always catching up. Its safe to say that if you’re posting to something with low quality content or tons of spam comments – it won’t help your site and it will waste your time.

Pick good sites and participate in good discussions. Always be thinking, “If I were Google what would I see as good links”. This sounds so basic, but its the truth. Every year Google and Bing tweak their search algorythms to weed out poor quality. You see people who spam and get rewarded – they always fade off the next year.

Get out there, share your website and participate in good discussions. Make great content. You’ll get noticed. It just takes a little time.

Optimizing Your Website For Search Engines

If you want to be found in search, you need to make sure your website is “search friendly”. This is a surprisingly hard concept for most people to get a grasp on. But think about it, yes humans will be using your website, but Google will be indexing it. Google is a robot for all intents and purposes so you need to learn how to communicate with it. This is actually a good thing because its less subjective than a human would be. Learn to speak to Google and you’ll have better results getting indexed. More people will find your site. So lets look at how we need to shape our content to tell the mighty search engine what our page is about. This goes for everything on your site – not just the home page. In face, most people will surf into some other page on your site so make sure they all fit this criteria.

Titles and Keywords

Titles on your content weigh in pretty heavy. They need to sum up what the page is about. Its really easy to want to be cute or funny with this, but I’ve found its best to be more conservative and straight forward. Keywords are too easy just to give to a search engine, but think what people would search if they were looking for your page. Use those words in the title and make sure you use them throughout the page.

URL’s

Another reason you need to use a CMS – its important that your websites url contains the keywords and the title. It keeps things clean and makes them index better. Yoursite.com/node/145 is abstract. Get it to write Yoursite.com/article-title/ This is clean and pretty. Search engines like this.

Images

Make sure you use images with your content. We live in a visual culture and Google wants to reward any good content it can find. Make sure your images use “alt” attributes in the html. Use these to describe the image or even reflect the title. For example:

<img src="image.jpg" />

This just tells Google that you have an image. But this:

<img src="image.jpg" alt="flower" />

This tells Google what the image is and can help in how it indexes your content. Its a nice way of relating the image to the actual content on the page.

Links

Links are probably the single most important tag in html. They make the internet the internet. Links give us new pages and new information. They are useful and helpful use them in your content. Google likes to see some external linking to sites of authority. Share information when its relevant. Google notices this. Its the democracy of the internet. You want people to link to you, so link to others.