简体   繁体   中英

Is there an easy way to find broken HTML code in Dreamweaver?

Is there an easy way to find broken HTML code in Dreamweaver?

I've got an issue and I keep loosing count. Is there a Dreamweaver trick to this?

Try turning on 'Highlight Invalid Code' and 'Syntax Error Alerts In Info Bar' both about halfway down the toolbar on the left adjacent to the coding/design window.

Highlight Invalid Code will show all unclosed HTML tags in yellow and Syntax Error Alerts will notify you that there is a problem with your scripts, although it will not tell you exactly where.

EDIT: Syntax Error Alerts does give a small indication of where the problem is by showing which line has a problem BUT it often just shows that there is a problem with the last line of the script usually due to the fact that a function hasn't been closed properly somewhere further up.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM