Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Invisible Objects
Your Ad Here

Invisible Objects


Use CSS's visibility property to make objects or elements on a page invisible.

Normally this feature is pointless, but it is an excellent way to improve your search engine rankings. This enables you to add or restate search terms on your page that are related to your site's topics, but make them invisible to visitors. If not made invisible, the extra words will affect the feel and appearance of the site. (A paragraph of nothing but search terms doesn't look good.) Even though visitors will not be able to see the text, search engines will be able to crawl it.

Google Yahoo

Start off by adding the following to the head section of your page. (between <head> and </head>)

Code:

<style type="text/css">
#invisibleobject {
     visibility: hidden;
}
</style>

Now add the following code anywhere in the body section of your page. Where it says content, add any text or objects that you want to make invisible.

Code:

<div id="invisibleobject">content</div>

That's it!



Author's URL: Depiction.net
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Invisible Objects"

Only registered users can write comment

No comments yet...