Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 169
  • Last Modified:

closing tags in <p>

HI ,
My colleauge is creating a web page using dream weaver.
He gets me a page JSP that I run a pgm on to add more data.

It is basicallly an XML parser.
The problem is when I run through <p> tags that are not closed.

Is there any setting in Drearmwear that closes the tags when creating then or to make well formed XML commplainat HTML pages

Running low on points :(
0
applekanna
Asked:
applekanna
2 Solutions
 
mrichmonCommented:
Yes there is.

Depending on what you want look at Edit --> Preferences --> Code Rewriting

here you can set things such as
Fix invalidly nested and unclosed tags
Remove Extra Closing tags
etc...

0
 
C7SwillCommented:
Dreamweaver also completes tags based upon the doctype at the top of the page. If you specify an xhtml doctype, it will close tags like <br />

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

http://www.w3.org/QA/2002/04/valid-dtd-list.html

Lists most of the common ones.

--Sean
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now