My question is related to web desing, specifically programming by html or CSS (Cascading Style Sheets).
I need to create a simple menu: suppose there is a letter A, and when you click on it, a menu (not drop-down, but a stable one) should appear offering choices B and C (in a vertical hierarchy). Repeated clicking on A should hide B and C back. What would be the concrete algorith for that in html or CSS? If these programming languages are not suitable for this kind of task, can you suggest the most appropriate tool for creating such menus?
I looked for such script algorithm in web designers' blogs thoroughly, but was not successful.