Solved

closing tags in <p>

Posted on 2004-08-16
4
162 Views
Last Modified: 2013-11-19
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
Comment
Question by:applekanna
4 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 25 total points
ID: 11816103
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
 
LVL 1

Assisted Solution

by:C7Swill
C7Swill earned 25 total points
ID: 11824675
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
CSS (line height?) issue 2 60
Having Returning  Anonymous Function Access Global Function 7 81
Dreamweaver server behavior gone 6 112
Download a website to hdd 2 50
Preface This article introduces an authentication and authorization system for a website.  It is understood by the author and the project contributors that there is no such thing as a "one size fits all" system.  That being said, there is a certa…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now