HTML for WordPress
HTML is an entire language of code, but learning some basic HTML for WordPress is critical for optimizing your site, pages, and posts to enhance SEO and increase your chances to be found online. Titles, anchor text for external links, and anchor text for internal links are all very important, and a basic knowledge of HTML for WordPress makes all this simple.
HTML for WordPress Headings
WordPress supports HTML heading tags. When you are preparing a new post or page and you type in your title, you have just created your h1 tag. It’s automatic. You see that h1 tag as a bold title. An h2 tag is bold too, but just a bit smaller. It is a subtitle. Just as your title tells the reader- and the search engines what your post or page is all about, your h2 tag has the same impact. (see the bolded sub-headings in this post- the one above is my h2 tag and the one below is my h3)
An h3 tag is slightly smaller and less bold but also is larger and more prominent than standard text that has been bolded. If your h2 and h3 tags or sub-headings are keyword rich, you will get more recognition for those keywords. Here’s how you can write the HTML for WordPress to get your h2 and h3 subtitles in your posts and pages:
1) First, in your dashboard, switch from the “visual” tab to the HTML tab which you should find on the upper right of your post or page text box.
2) Every HTML command starts with the “less than” sign: < and the headings tags will start with <h2> or <h3>.
3) The end of HTML commands is always </ so the end of the heading tags is </h2> or </h3>.
4) If you want your h2 tag to be seen in the visual post or page to say, “This is My Sub-Title”, in the HTML view you will write this: <h2>”This is My Sub-Title”</h2>. The h3 tag is written the same way.
HTML for WordPress Anchor Text
So now you have the HTML for WordPress to create keyword rich sub-titles that hill help you SEO your creations. Next is anchor text. Anchor text is a word or grouping of words that is actually a hyperlink. Hovering over the anchor text will disclose the underline below the link. These hyperlinks can be used to send the reader to additional information beyond the post or page they are reading on your site. The words used as anchor text will also show the search engines more about your topic and keywords.
First, let me explain that I cannot write the code exactly as should be done since my code will be interpreted as real code. If you’d like to see it exactly as it should be written, watch the video in the Phil Stone Training Library that you have access to simply be registering on my site. It’s entitled, HTML for WordPress.
The command for anchor text starts with <a and of course will eventually end with /a>. After the starting command comes href. Then you explain where you want the actual link to lead using the = sign. Next, the actual link needs to be written out with quotation marks before and after the link. Then the “greater than” sign or > before you write out the text that your reader and the search engines will see as the link. After the link text, or anchor text, you close by < and then/a>. That’s the basic HTML for WordPress anchor text. Aside from the extra written parts I must insert, here’s how it looks all put together.
<a href and then =” http (colon)//PhillipJStone(dot) com>Phil Stone’s Toolbox and Playbook</a and then the final >.
In the text view all you would see is: Phil Stone’s Toolbox and Playbook and it would be a live link that sends people to the landing page of my site.
In the video, HTML for WordPress, I show the code to get the link to open in a new window rather than allowing the link to take your visitor away from your site with no return path. I also give the HTML code to tell search engines not to follow that link for when you are directing your visitors for more information on an outside site. And finally I give the HTML code for making a title visible if someone holds their cursor over the link. This helps your readers know that your anchor text is an actual link and what it’s all about, and it’s another way to clue the search engines into your topic and keywords.
In the language of HTML all we have looked at here is the basic “hello”. There is so much more to it. But this level of HTML for WordPress is the very least you need to know to start getting SEO results. Experiment with HTML for WordPress. Do not fear code. It can be a great friend. Watch the video to learn more.