Solved

closing tags in <p>

Posted on 2004-08-16
4
165 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

679 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