...Beauty, cleaning, DIY tips and more - free to join!
   Login   Contact us   Site map   Puzzle Club   Ask a question    Newsletter

How To Make Text Appear On A Webpage

Computing : Web Sites

You might have seen web pages with cool looking reveal features, whereby for instance you click a little arrow and some text pops underneath.

Or perhaps you've done quizzes online whereby again you click the link to see the answer appear.

How do you achieve this effect?

Well, with CSS it is easy. That's because each element on a page can have a visiblity set to hidden to visible.

Therefore when you load the page, simply set the style for an element containing an answer to 'hidden'.

Then when someone clicks the link, have it update the style of that element to 'visible' and there you have it - the text will appear.


By: Stephen

Share on Facebook: On Twitter: TwitterTweet this!

  Reply to How To Make Text Appear On A Webpage

  Receive Our Newsletter




Questions about DHTML:

Ask question

More Articles:
How to build your online brand quickly
How to reduce volume in an MPEG
Convert MOV to AVI