Now that you know how to write HTML tags, I am going to show you some of the basic ones that you will see in almost all website markup and they can be used to make dramatic effects in your wordpress posts.
Now lets learn some basic HTML Tags
The Bold Tag
For the bold tag we are going to use the letter “b.” You have a opening tag b and a closing tag b.
<b>this tag will make your text bold</b>
So obviously the text above between the tags is just a placeholder, you will put whatever you want between the two tags.
The Italic Tag
Next is the italic tag. “I” stands for italic, so you are going to open it with the “i” and close it with the “/i.”
<i>This tag will show your text in italics</i>
The Underline Tag
Next is the underline tag and we are going to use the letter “u.” So you will open with a “u” and close with a “/u.”
<u>This tag will underline your text</u>
The Line Break Tag
Next is the line break tag. I use this a lot in my posts. This one is a little different as it does not have a closing tag. It puts a line break between text to help “break it up.” Which, makes it easier to read.
Using <br> will add a line breaking your text.
Note!! This tag does not need a closing tag. Just the one insertion or <br> will make the line break.
The Line Tag
Next we are going to do a line tag, and similar to the line break, we are not going to use a closing tag.
Using <hr> will add a simple horizontal line in your post or page.
Note!! this tag does not need a closing tag. Just the one insertion of <hr> will make the line.
This helps to break up the text, I use this a lot in my posts.
The Center Tag
Now I am going to talk about the “center” tag and this is used to center you text on the page. And now we are back to opening and closing tags.
So you will use an opening “center” and a closing “/center.” You can use this for text, you can use it for images, you can use it for any content that you want to center on the page.
<center>Using the center tag wit center your text and images on the page</center>
So these really are some great HTML tags to get you started with. You can play around with these on your blog posts. The bold, underline, line break, italic and center tags. And these really are your basic HTML tags, so now you will be able to recognize them when you see them in your code.
The next article in the series is Learning HTML Code Part 4-Creating Lists With HTML.
Latest posts by Robin McDonald (see all)
- Optimize Your WordPress Images With ShortPixel - January 15, 2018
- How To Increase Your SEO By Adding Keywords And Meta Descriptions In WordPress Posts And Pages - November 20, 2017
- Uninstalling a WordPress Plugin And Why Its Important - October 30, 2017