Peter Bargh

words pictures sounds
May 30th, 2013

The name attribute is obsolete

I got this error message using a name anchor tag when trying to validate a page in HTML5

The name attribute is obsolete. Consider putting an id attribute on the nearest container instead.

Here’s the code I had:

<a name=’anchor word’>

the solution is to replace name with id

<a id=’#anchor word’>

May 30th, 2013

Quote ‘ in attribute name error

Quote ‘ in attribute name. Probable cause: Matching quote missing somewhere earlier.

I got the above error when validating a html5 page.

The problem was solved by changing

<meta charset=”UTF-8″ >

to add a closing backspace :

<meta charset=”UTF-8″ />

Hope that helps others with the same problems

 

July 12th, 2008

Mastering the art of SEO

I’ve read loads about SEO now…and decided to have a go at making this site better optimised. It was, for a while, number one in Google when you type “Bargh”, but dropped after I made comments about a fraud company. The particular blog page was removed from Google and I have a sneaky suspicion several other pages were affected because the site fell rapidly to page two.

So lets attempt to get it back to the top where it belongs.  I made sure every page has a page title, that all the photos have alt tags, that the pages are validated, that there are enough keywords to make it really clear that this site is about me.  I created a site Map, told Google to look at this, removed the forum that had loads of spam id’s indexed, and then waited expecting to see an improvement. In less than 24 hours the site dropped to page 7 and has stayed there since! I’ve done somthing wrong and haven’t a clue, but when searching for Bargh you cannot get any more bargh than me or my personal web site so I want to be reinstated on the first page! Now!…. Please 😉