Is coding helpful for blogging and SEO? Will it help you in growing your blog and why you should start learning code and especially HTML coding that will help you make your blog better.
SEO and Blogging
History of blogging
Most people agree that the 1st blog was links.net, created in the early 90s by then-student Justin Hall to publish his own writing. Since then, blogging has come a long way and has been modified a lot. It has become one of the main sources of earning for many bloggers, and people have dedicated their full time to blogging only.
When I started my first blog in 2007, I had no idea what this blogging is and its potential. I was in my last year of engineering, and the internet was gaining popularity in India. My pure motive was to show my friends that even I have a website over the internet, and my name is displayed there in bold letters.
There are at least more than 500 million blogs over the internet, as per google’s last report, and there are many more getting added every day.
Coding and blogging
When I started blogging in 2006, there were very platforms for dedicated blogging, and Google’s Blogspot or Blogger was the most famous one. I still remember I got AdSense approval within 2 days, and that too with only 2 posts and no real traffic.
Since then, blogging has come a long way, and it is not that easy anymore to earn money like it was in the early 2000. There are many platforms nowadays to select from, and you can start your blog by just buying a domain name and hosting if you are proficient with coding. So is coding required for blogging?
Many of my friends, colleagues, and followers ask questions about blogging like
- How to make a blog
- How to create a blog for free and make money
- How to make money from a blog
- How to make a Tumblr blog
- How to make money with a food blog
- How to make a YouTube blog
- What is the best platform for blogging
For the answer to questions like these, you can refer to my previous or upcoming blog post.
When I started my blogging journey again, I had no idea of coding and used to refer to YouTube to solve issues. Still, I clearly marked that every YouTuber states a different solution for the same issues, and some issues don’t even have a solution video.
That was the time I thought to learn to code to at least customize my own blogs or blogs related to my friends. I started with HTML and CSS as my initial aim was to make my blog more beautiful and customized.
I started HTML by learning HTML tags like HTML meta tags, HTML link tags, image tags, etc. After learning to code, I found out that I can add images dynamically.
Now, what does that means!!!
Adding images dynamically means images will change with every refresh, and you don’t have to be an expert coder to do that. It can be done just by a simple HTML code line with the help of an online API or source code. Something like below.
<img src="https://source.unsplash.com/1625x400/?coding" class="img-fluid" alt="">
This will change images related to coding with every refresh, making your blog more lively.
Here is an example of a simple CSS code that makes a boring button look trendy.
These small things not only make your blog look trendy and stylish also retains your visitor. The simple theory behind this is ‘What looks good sells.’
A simple example of JavaScript
<script>
$('#startAProject').mouseenter(function () {
$(this).css('width', '+=80px')
$('this').text('click me')
});
$('#startAProject').mouseleave(function () {
$(this).css('width', '-=80px')
})
</script>
Here is a simple example of JavaScript, which will make your button more lively by increase /decrease button size with mouse enter and leave.
With this small coding knowledge, you can make your blog look more trendy and retain your audience like no one likes to be in an awful space.
For more SEO-related tips and tricks, you can follow my other blog posts.