Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set up Dreamweaver to automatically complete the open and close tags for any element I start to type and click return on?

For example, I want things such as <div></div> or <p></p> etc. to fill out if I type and hit enter on <div> or <p> respectively.

I would prefer this over <div which currently happens.

share|improve this question
up vote 2 down vote accepted

Go to Edit | Preferences | Code Hints and select the second radio option in the "Close tags" section. That will autocomplete the tag as soon as you type the closing ">" in the opening section.

So typing <div> will produce <div></div>

share|improve this answer
Thank you JCL1178! – Ibanez Apr 8 '12 at 13:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .