How to Make a Blog Become Newest HTML5 Valid

How to Make a Blog Become Valid HTML5 100% - After a few days I did not update, this time I will give you a new review, which this review you should try the more lovable for your blog search engine. In my previous review, I've given you a blog that tips on How to Make a Threaded Comment on the blog.

So, if your blog is valid HTML5 was of course already made ​​your blog on search engine friendly, so if you do not know your blog is valid or not can you check in validator.org.
If your blog was still a lot of error, this time I will try to make your blog Valid HTML5 which is as follows:

1. First of all you would do that is by removing the code below
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr'>
<head> 
to :
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<HTML>
<head>
<meta charset='utf-8'/>
2. Then you do the replace code
 </html> dengan </HTML> 
3. After that, please delete the html code below:
<div class='post-share-buttons goog-inline-block'>
--------- CODE --------------------
</div>
Then delete this code:
<b:includable id='postQuickEdit' var='post'>
<b:if cond='data:post.editUrl'>
<span expr:class='&quot;item-control &quot; + data:post.adminClass'>
<a expr:href='data:post.editUrl' expr:title='data:top.editPostMsg'>
<img alt='' class='icon-action' height='18' src='http://img2.blogblog.com/img/icon18_edit_allbkg.gif' width='18'/>
</a>
</span>
</b:if>
</b:includable>
This code is also deleted
 <b:include name='quickedit'/>
<b:include data='blog' name='all-head-content'/>
4. Avoid Tag <center> because HTML5 does not support the following code so it'd better be replaced with another code like <p align="center"> </ p>
or with
<div style="align:center;"></div>
5. Reduce the use of widgets that are not really needed as
  • Google+ Followers
  • follower
  • Share Button
  • Statistic (counter number of visitors)
6. You must also consider the use of appropriate attributes:
  • The use attribute must be added to the image alt = "your text" title = "textanda"
  • Eliminate imageanchor code in img tag.
  • Remove border on the img tag code.
If you've applied my tips above, your blog will be guaranteed valid HTML5, so this time my review on How to Create a Blog Valid HTML5 Become the Latest and hopefully useful.

No comments:

Post a Comment