How to Create Expandable Sections Within a Web Page
By Antoinette Smith
Enclose the section you want to expand in
Enter the following just before the
Enter the following just after the
This line makes your content expand. This call to Tog dynamically sets the display property to block. Setting the display to block makes the content appear with line breaks above and below it.
- "CSS: The Missing Manual;" David Sawyer McFarland
Since 2008, Antoinette Smith has covered sports and local events for "TechNews," the student newspaper for the Illinois Institute of Technology. She holds a Bachelor of Science in professional and technical communication from the Illinois Institute of Technology.