1. Computing

Show and Hide Text in DIVs with CSS and JavaScript

An example of how to use JavaScript and CSS to show and hide blocks of text on your Web page.

This is the navigation column. Click on an item below to get the text you want displayed to show up in the second column. Click it a second time to hide it.

This is the content column. It starts out blank except for this explanation text. Choose what you want to learn in the navigation column on the left. The text will appear below:


Jennifer Kyrnin

Discuss in my forum

©2014 About.com. All rights reserved.