Reduce the error on the blog HTML and CSS - Validation with W3C
Of the few references I've read, he said, validity of HTML and CSS is essential to accelerate our blog looding when opened. Besides Search Engine also prefer the blog page that has an error minimum, so that the position of the blog will be better in SEO.
For that let us check our site by doing these checks. Create a fellow who wanted to check validity of HTML / CSS blog you can visit
http://validator.w3.org/
Enter the address of your blog, then click validate / revalidate.
After we do the checks, of course there are our efforts to fix the error code.
For that please follow STEP 2 below:
1. You log in to blogger -> Draft ---> EDIT HTML (check Expand widget templates)
2. Please replace the "doctype" a blogger (located at the beginning of the template code)
More like the code below:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Replace the above code with the following code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3. Next find the following code:
<b:include name="quickedit">
Remove all the existing code in your template
4. Now locate the following code:
<b:include data="blog" name="all-head-content">
Replace with the following code:
<!-- Blogger Default Meta -->
<meta content='true' name='MSSmartTagsPreventParsing'/>
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'/>
<link expr:href='data:blog.url' rel='canonical'/>
<link href='http://www.blogger.com/profile/IDYOURBLOGPROFILE' rel='me'/>
<link href='http://www.blogger.com/openid-server.g' rel='openid.server'/>
<link href='http://www.blogger.com/rsd.g?blogID=IDYOURBLOG' rel='EditURI' title='RSD' type='application/rsd xml'/>
<link href='http://www.blogger.com/feeds/IDYOURBLOG/posts/default' rel='service.post' title='BLOGTITLE - Atom' type='application/atom+xml'/>
<link href='http://www.BLOGNAME.blogspot.com/feeds/posts/default' rel='alternate' title='BLOGTITLE - Atom' type='application/atom+xml'/>
<!-- End Blogger Default Meta -->
Description:
Script : IDYOURBLOGPROFILE is your ID when opening profiles
IDYOURBLOG is the ID you when editing HTML
BLOGNAME is the URL of your blog
5. Reducing the use of the code strip / dash (-)
For HTML
<!------------------- Blogger Default Meta ----------------------> False
<!-- Blogger Default Meta --> True
For CSS
/*----------- Header ------------*/ False
/* Header */ True
6. Save the following code under the code </ head>
<!-- <body><div></div> -->
That function is to remove the blogger navbar, if no confirmation for deleting, just CLICK DELETE.
7. Get used to using alt tags on every image.
Example: <img alt='Write a Description here' src='URL Image'/>
Once you've done the above steps, please save your template.
After his return to http://validator.w3.org/
Error check again your blog HTML and CSS.
See if any error had been reduced or not.
Globsi Heel
Published :
2011-10-24T08:52:00+07:00
Title : Reduce the error on the blog HTML and CSS - Validation with W3C
Rating :
5 On
2014 reviews
Please Give Your Comment for "Reduce the error on the blog HTML and CSS - Validation with W3C"