04.06.2013 Views

Head First HTML with CSS

Head First HTML with CSS

Head First HTML with CSS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#7 Tuning for Search Engines<br />

Many users will find your site through search engines (like Google and Yahoo!). In some cases you<br />

may not want your site to be listed in the search engine rankings, and you can use X<strong>HTML</strong> to<br />

request that they not be listed. But, in other cases, you’ll want to do everything you can to tune your<br />

site so it appears high in the rankings when particular terms are searched for. Here are some general<br />

tips for improving the search engine results for your pages. But keep in mind that every search<br />

engine works differently and each considers different factors when deciding the order of its rankings.<br />

Improving your rankings<br />

Search engines use a combination of the words and phrases in your pages in their search rankings.<br />

To improve your rankings and help search engines determine what your page is about, start <strong>with</strong> two<br />

tags in your element: one to list keywords and the other to provide a description<br />

of your content. A keyword is a simple word or two that describes your site, like “coffee” or “travel<br />

journal”.<br />

<br />

<br />

Many search engines treat the words in your headings and the alt and title attributes <strong>with</strong> more<br />

weight than the rest of your text, so be sure to write concise and meaningful text in these elements<br />

and attributes.<br />

Finally, many search engines factor in the number of links to your site from other sites; the more sites<br />

that link to you, the more important your site must be. So, anything you can do to encourage others<br />

to link to your site can improve your search engine rankings.<br />

How do I keep my site from being listed?<br />

You can request that search engines ignore your pages, but there is no guarantee that all of them will.<br />

The only way to truly prevent others from finding your site is to make it private (discuss that <strong>with</strong> your<br />

hosting company). But if you want to request that your site not be listed, which works <strong>with</strong> most of the<br />

major search engines, just put a tag in the head of your X<strong>HTML</strong>, like this:<br />

<br />

This meta tag tells search engines<br />

to ignore this page, and any other<br />

pages on the same site that this<br />

page happens to link to.<br />

leftovers<br />

you are here 647

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!