Hi, I am new to HTML and CSS and I am currently following some tutorials on how to put together a site I designed in photoshop using HTML and CSS. All these tutorials cover the basic navigation pretty well. Make a button and link it to a url. Very straight forward. But when you click it, it takes you another page. My design requires a button that switches a visible item or in my case a simple piece of text on the page with another.
Is there anyone on this forum that can show me what the code looks like for a button like this or maybe point me in the right direction? Your help would be much appreciated.
Below is an image of the button and text I am talking about. Pressing the Contact button should reveal some contact info on the spot with the lorem ipsum. Pressing the About me button should bring back the lorem ipsum.
example by itusvirus, on Flickr
Is there anyone on this forum that can show me what the code looks like for a button like this or maybe point me in the right direction? Your help would be much appreciated.
Below is an image of the button and text I am talking about. Pressing the Contact button should reveal some contact info on the spot with the lorem ipsum. Pressing the About me button should bring back the lorem ipsum.

example by itusvirus, on Flickr