Solved

closing tags in <p>

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most of the sites are being standardized with W3C Web Standards. W3C provides lot of web standard services to the web. They have the web specification, process and documentation for all the web standards. You can apply HTML, CSS and Accessibility st…
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

757 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

20 Experts available now in Live!

Get 1:1 Help Now