HTML Codes
HTML Codes
Headings
Headings may be one of the easiest codes to learn and considering
how crucial they are to your SEO, it's a good thing. There are six different
types, as seen below. To create a heading, simply wrap your text in the
heading tags of your choice:
2. Paragraphs
What would a nice heading be without a paragraph to elaborate on the
message? To get a paragraph like the one you're reading now, simply
wrap your text in <p> tags like the example below, and don't forget to
close it with a </p> tag!
3. Links
Inbound marketing is nothing without linking your already-great content
to other relevant articles and website pieces. Try linking a word or phrase
in your paragraph by using the following <a> code:
<a href="http://www.impactbnd.com">Let's visit IMPACT's
awesome website!</a>
The href part of the code sentence specifies the destination website
address you want your link to go to.
4. Images
This is a fun one. Images make everything better, and they make your
content a lot more appealing to the reader. Insert an image like this:
<img src="http://cdn2.hubspot.net/hubfs/145335/Cute-
Puppy.jpg" alt="Cute-Puppy" style="width:500px;height:333px;">
5. Line Break
A line break is also an empty element, so it doesn't need to be closed. A
line break is basically an intentional space between two lines of text,
created with <br>.
8. Underlined
Bold, italicized, and now underlined. This one is just as easy as the other
two. Just wrap the text you want underlined in <u> tags, like this.
<u>Look, we can underline!</u>
11. Superscript
To insert a superscript format within your text, wrap the text you want to
appear superscripted in <sup> tags. </sup> You'll end up with something like
this.
12. Subscript
If you know how to superscript, you should know how to subscript. Just
use <sub> tags </sub> so you get text like this.
All of this text will be in a blockquote like the rest of the examples.
I'm quoting this because I'm saying it out loud.
21. Tables
I saved the best for last! Well, I don't know if it's the best, but I think it's
pretty darn cool. The HTML code for creating a table can become pretty
intricate, but if you get the hang of the basics, you shouldn't have too
much of an issue. I'll show you how to create a simple table below. To
make it easier to understand, <tr> stands for table row, while <td> stands
for table data. Keep in mind that you can change the font, text size, text
color, text alignment, and more.
Start Coding!