Skip to navigation | Skip to content

Share your knowledge. Make a difference.

Moving to CSS and/or XML for better SEO

1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic (by 0 people)   Your rating: 1 - I can do better 2 - Jury's out 3 - Pretty darn good 4 - Splendiferous 5 - Awesometastic

Ranked #9067 in SEO, #210256 overall

Rated G. (Control what you see)

Mistakes in moving to CSS or XHTML

 

Your much loved website is old HTML 4 with none of that new CSS or XHTML that you are told is the latest needed standard. So how exactly should you best move forward without Google dumping you badly ?

Moving to CSS and/or XML for better SEO 

Mistakes in moving to CSS or XHTML

OK so your much loved website in old HTML is doing OK with none of the new CSS or XHTML that is the latest proclaimed standard.

You would like to move your website at least some way towards the latest standards, and to do it yourself if possible. But if you do a poor job of it then Google will not like it and you site will quickly fall in search results.

You will not find much written about this problem - everybody is busy pushing CSS and XML and their claimed benefits and not discussing the pitfalls.

So how exactly how should you best move forward without Google dumping you badly ? What are the main mistakes that you should avoid.

Move to CSS first.

If your HTML website is written OK then your first move should be to move to CSS. This will allow the replacement of most deprecated tags like b and i.

CSS involves defining many of your tags in a Style declaration in your pages HEAD section (or in a separate .css style file.

It is best if you do NOT give CSS style definitions for the strong and em tags which you can then use as straight replacements for the deprecated b and i tags. (CSS lets you include Bold and Italic in H1, Div and other tag style definitions - BUT then you will LOSE the SEO gain that Bold and Italic give !)

CSS style definitions for block tags that create new paragraphs, as H1, P, Div, Table, TD and Form, can include Width, Height and Margins and so can be used to position images.

All CSS tag definitions can include fonts, including the inline tags Span, A and BODY tags. A page can be mainly centered with a BODY style definition including text-align: center; and your text areas left aligned with eg DIV and/or P including text-align: left.

So a good piece of CSS (without the leading < 's !) might be something like ;

< head>
< style type="text/css">
< !--
body {background-color:#ff9; text-align: center; }
h1 {font-size: 30px; font-family: Arial; color: red; }
span {font-size: 15px; font-family: Arial; color: red; text-align: left; }
div {background-color:#ff9; }
div.thisbit {font-size: 15px; font-family: Arial; color: red; }
-->
< /style>
< /head>

where use in body -
< h1>< strong>< em>Good Page Headline< /em>< /strong>< /h1>
< img class="top" src="logo.gif" width="95" height="84" />
< div>image beside text in a paragraph.
< div class="thisbit">This text Red.< /div>< /div>

Decide a limited number eg 3 of fonts (size and color) and use them in style definitions for eg 3 block tags as p1, p2, p3 and 3 inline tags eg span1, span2 and span3.

You will hopefully be able to get one set of style definitions to cover all of your website pages. If so the CSS can be a separate style sheet, but if not then CSS style statements in the HEAD section of each page is just as good for SEO and Google.

When you have done your move to CSS for one page, use an HTML validator to check it is OK. Then finish the rest of the website and Google will like it.

Next move to XML ?

Moving from good HTML 4.01 to good XHTML is not all that tricky. Mainly you need to replace all < br> tags with < br /> and you need < meta .. /> and < link .. /> closures.

In XHTML, element and attribute names must be all lowercase. Eg onMouseOver is invalid in XHTML, which requires onmouseover.

And in XHTML, all attributes must be in quotes, as eg < img width="100".

Also img name must be copied as id -
< img src="myimage.gif" id="my_image" name="my_image" />
and img must be closed as - < img src="myimage.gif" />

Finally you XML page needs the first few opening code lines to be as ;

< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

These are your main issues for advancing your website without any Google problems.

Note that in all above code examples the leading blank after < needs removing.

Good Luck.

CSS XML SEO books 

There was an error connecting to the Amazon web service. Please try again. Sorry, there are no results available from Amazon.

CSS XML SEO videos 

Part 3 -The American flag as bar code ?

Part 3 -The American flag as bar code ? What is SiteTiki.com? SiteTiki.com is a wiki about websites. A wiki is a collaborative website where writers work towards building an encyclopedia of information about a subject matter. This site's subject matter is websites! SiteTiki.com is also a website that offers website managers and website users the ability to create a free online listing. This is great for your site's SEO (Search Engine Optimization). Just consider that today it can cost hundreds of dollars per year to get listed on the major search engines. A specific SiteTiki.com page will point at your website, and this will improve your website's ability to be found online. Title : Buckallew Website Design & information projects. Description: Creative innovative designing that's custom made tested and retested for the cutting edge internet metropolis. This website all-so documents my internet projects, ideas and hobbies. [edit] External Links * Whois: Buckallew.com * Alexa: Buckallew.com * Compete: Buckallew.com * Quantcast: Buckallew.com [edit] Home Page Links * Click here to visit * ** My Public Site Blog ** * www.myspace.com/johnnybstroud * www.johnbstroud@blogspot.com * HOME * Promoted-Sites * Archives * Blog * Creative Catering * Johnstroud.us * www.palntasiamt.com * buckallew.xml * Rss.xml - Main Site Feed * 2008inforlink.xml * Linux Blog * http://www.buckallew.com * http://www.paganlogic.com * Myspace Profile * My Live website Blog * Buckallew Website Blog * Johnny's youtube.com Vblog * Digital Video artwork * IMAGE PLACEMENT 1 * Www.buckallew.coM Public Site Blog * Johnny B Stroud * RSS Feed * CSS * XHTML * http://www.xenu.net Categories: Buckallew | Web design | Information | Thinktank | Linux | Freesoftare | Power to the people | Rss2.0 The office of homeland security is a organization setup like the mafia and run like a black cyder hackavist group. They are very unrelenting and other methods used are telemarketing/telephone scamming / mail & ID theft / spyware addware rootkit hacking methods / Virus&Trojan email Methods.

Runtime: 5:28 | 56 views | 0 Comments

 

powered by YouTube

CSS XML SEO guestbook 

Dr. Anuj Gupta

This is My favourite lans!!!! Internet Martketing and search engine optimization is necessary for business. I visit daily and I'll tell to my all friends about this lens. Seo Services, low cost call center and Cheap One Way Link I'll visit again and again this lens.

Posted July 14, 2008

vwilmot1

Moved my website to CSS fine, will soon also move it to XHTML !
Vincent Wilmot.
http://www.how-to-kiss.us

Posted December 20, 2007

X
vwilmot1

About vwilmot1

Hi. I have designed several websites for myself and a few more for clients. My own include ;


www.how-to-kiss.us


www.new-science-theory.com


www.world-poverty.org


www.social-exclusion-housing.com


www.buy-to-let.me.uk


www.wilmots.me.uk 

vwilmot1's Pages

See all of vwilmot1's pages