Publishers of technology books, eBooks, and videos for creative people

Home > Articles

This chapter is from the book

Expanding code

When the code is collapsed, you can still copy, cut, or move it like you would any other selected element. You can then expand elements one at a time or all at once.

  1. Click the Expand icon icon_expand.jpg beside the line for the <nav> element.

    The <nav> element expands, but the three <li> elements collapsed in the previous exercise are still collapsed.

  2. Click the Expand icon beside the line for the <li> elements.

    All collapsed elements are now expanded. Note that the Expand icon for the three <li> elements disappears altogether.

Peachpit Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from Peachpit and its family of brands. I can unsubscribe at any time.