Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 1 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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.