Sitelinks are some links that are showing below site in search engines. Its not just in Google search results but in Bing, Yahoo and also in Yandex. There is no idea how to get sitelinks, even Google says that sitelinks are automatically generated links to help visitors reach important pages of your site. Also you have no control over which page you want in sitelinks and also there is no code which can do it. You might be thinking that if nothing is known about sitelinks, how am I going to get it for my site ? Well, the answer is simple you will get it as I got them ! What Are Google Search Result Sitelinks: Above is the sceenshot of sitelinks of my blog. If you search "101helper" oon Google you will see the sitelinks live. These are featured links from my blog and are shown to visitors to help them reach deeper pages or help them to reach the content of interest on a site. Note that sitelinks never remain the same they change time to time and we have no control over it. Goog...
HTML tables are simple tables which gives a summery of something and are mostly used by those bloggers who own blogs about money so they show there content e.g info about ad networks in the form of tables. But not all bloggers know how to add HTML tables in blog posts and blogger does not have any option to create HTML tables so it can be added only manually. And that's actually the reason of writing this post. In this post I will share with you how to create an HTML table and add it in your blog posts. I will show you only simple one because there are a number of types of HTML tables and I can't share each and every type of HTML table so I will share a simple HTML table with text Like this!. So lets get started!
How To Add HTML Table In Blogger Posts?
Step 1: Copy code of HTML table from below:
<style>
#mytable{
width:100%
}
#mytable, th, td {
border: 1px solid black;
border-collapse: collapse;
}
#mytable th, #mytable td {
padding: 5px;
text-align: left;
}
</style>
<table id="mytable">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
How To Add HTML Table In Blogger Posts?
Step 1: Copy code of HTML table from below:
<style>
#mytable{
width:100%
}
#mytable, th, td {
border: 1px solid black;
border-collapse: collapse;
}
#mytable th, #mytable td {
padding: 5px;
text-align: left;
}
</style>
<table id="mytable">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
Step 2: Go to blogger > Posts > Edit a post Or Create a new post.
Step 3: Switch to Html view of the post editor and paste the copied code after a certain text or in the beginning of the post or after an image, where ever you want to show your HTML table in the post.
Step 4: Make changes according to your choices and publish your post to see your HTML table.
After adding above code for HTML Table, you need to make changes in the text and the table code and for that you need to understand the code because without it you can't add a new row in your table and can't add custom info in the rows and columns of your table. so read out below to know what the code is doing.
Here is the CSS code of your table:
<style>
#mytable{
width:100%
}
#mytable, th, td {
border: 1px solid black;
border-collapse: collapse;
}
#mytable th, #mytable td {
padding: 5px;
text-align: left;
}
</style>
It gives your table the borders for each row and column and if you want, you can add your own decorations to your table for example to add a background color you need to add this:
background: yellow;
You have to add above piece of code in this part of code:
#mytable{
width:100%;
background: yellow;
}
Now its time to make changes in the info which is added in your table's row and columns. Here is the overall code for your table:
<table id="mytable">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
In this code blue one is the first row of your table, orange is the second, green is the third and yellow is the fourth row of your table. Now you can change text according to your choices.
To add a new row you need to add a simple piece of code below the yellow one, here is the simple piece of code that is need to be added for new row:
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
For more HTML tables visit w3schools. Or search for online HTML table generator and create one for you.
I hope you found this post helpful. If you have any question ask me in comments or contact me. Thanks for visiting 101Helper.
Search Keywords: How to add HTML Table in blogger posts, html tables with rows and columns for blogger, how to add html table in blogger with CSS style, show content in table form in blogger posts.
#mytable{
width:100%
}
#mytable, th, td {
border: 1px solid black;
border-collapse: collapse;
}
#mytable th, #mytable td {
padding: 5px;
text-align: left;
}
</style>
It gives your table the borders for each row and column and if you want, you can add your own decorations to your table for example to add a background color you need to add this:
background: yellow;
You have to add above piece of code in this part of code:
#mytable{
width:100%;
background: yellow;
}
Now its time to make changes in the info which is added in your table's row and columns. Here is the overall code for your table:
<table id="mytable">
<tr>
<th>Firstname</th>
<th>Lastname</th>
<th>Age</th>
</tr>
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
<tr>
<td>Eve</td>
<td>Jackson</td>
<td>94</td>
</tr>
<tr>
<td>John</td>
<td>Doe</td>
<td>80</td>
</tr>
</table>
In this code blue one is the first row of your table, orange is the second, green is the third and yellow is the fourth row of your table. Now you can change text according to your choices.
To add a new row you need to add a simple piece of code below the yellow one, here is the simple piece of code that is need to be added for new row:
<tr>
<td>Jill</td>
<td>Smith</td>
<td>50</td>
</tr>
For more HTML tables visit w3schools. Or search for online HTML table generator and create one for you.
I hope you found this post helpful. If you have any question ask me in comments or contact me. Thanks for visiting 101Helper.
Search Keywords: How to add HTML Table in blogger posts, html tables with rows and columns for blogger, how to add html table in blogger with CSS style, show content in table form in blogger posts.
Comments
Post a Comment