lookkool3
01-21-2012, 04:10 AM
if i hide a heading or something will the search engine still be able to pick it up?
maybe i should be more specific
so theres two ways to hide an element but what i want to know is ... if a search engine like google will still recognize the hidden element
http://w3schools.com/css/css_display_visibility.asp
visibility:hidden hides an element, but it will still take up the same space as before. The element will be hidden, but still affect the layout.
<html>
<head>
<style type="text/css">
h1.hidden {visibility:hidden;}
</style>
</head>
<body>
<h1>This is a visible heading</h1>
<h1 class="hidden">This is a hidden heading</h1>
<p>Notice that the hidden heading still takes up space.</p>
</body>
</html>
display:none hides an element, and it will not take up any space. The element will be hidden, and the page will be displayed as the element is not there:
<html>
<head>
<style type="text/css">
h1.hidden {display:none;}
</style>
</head>
<body>
<h1>This is a visible heading</h1>
<h1 class="hidden">This is a hidden heading</h1>
<p>Notice that the hidden heading does not take up space.</p>
</body>
</html>
maybe i should be more specific
so theres two ways to hide an element but what i want to know is ... if a search engine like google will still recognize the hidden element
http://w3schools.com/css/css_display_visibility.asp
visibility:hidden hides an element, but it will still take up the same space as before. The element will be hidden, but still affect the layout.
<html>
<head>
<style type="text/css">
h1.hidden {visibility:hidden;}
</style>
</head>
<body>
<h1>This is a visible heading</h1>
<h1 class="hidden">This is a hidden heading</h1>
<p>Notice that the hidden heading still takes up space.</p>
</body>
</html>
display:none hides an element, and it will not take up any space. The element will be hidden, and the page will be displayed as the element is not there:
<html>
<head>
<style type="text/css">
h1.hidden {display:none;}
</style>
</head>
<body>
<h1>This is a visible heading</h1>
<h1 class="hidden">This is a hidden heading</h1>
<p>Notice that the hidden heading does not take up space.</p>
</body>
</html>