[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

is this correct <p/> and what is it used for?

Posted on 2008-11-19
14
Medium Priority
?
239 Views
Last Modified: 2012-05-05
I found this tag throughout my application

<p/>

why would it be used?

Usually the <p>stuff</p>

I've never seen a
<p/>
before!

can you help me?

do I need to change it, is it causing the error: which is: EXPECTED '/'

I'm trying to figure out what's causing this...i found the page it's coming from now it's just a matter of figuring it out

what could cause such an errror?

EXPECTED '/'

DEF. the / is MISSING FROM SOMEWHERE CRUCIAL, but WHERE WOULD / be so ABSOLUTELY REQUIRED?
0
Comment
Question by:Torchwood909
  • 5
  • 3
  • 3
  • +3
14 Comments
 

Author Comment

by:Torchwood909
ID: 22996364
CAN YOU HELP ME FIND THE MISSING /

and if so can it come from <p/>  ?
	<hr/>
<font class="toolbar">
New Application
<br/>3/31/2006 2:44:04 PM
<p/>
<table width="95%" border="1" cellspacing="0" cellpadding="4">
	<tr>
		<td class="toolbar">
								<b>Tools</b>
								<table border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td class="toolbar" width="21"><a href="attachment.asp?usi=23922&amp;db=1"><img src="/images/icon_paperclip.gif" border="0" title="Attachments" alt="Attachments" /></a>
										</td>
										<td class="toolbar"><a href="attachment.asp?usi=23922&amp;db=1">Attachment</a> (0)
										</td>
									</tr>
									<tr>
 
										<td class="toolbar"><a href="notes.asp?usi=23922&amp;db=1"><img src="/images/icon_note.gif" border="0" title="Notes" alt="Notes" /></a>
										</td>
										<td class="toolbar"><a href="notes.asp?usi=23922&amp;db=1">Notes</a> (1)
										</td class="toolbar">
									</tr>
									<tr>
										<td class="toolbar"><a href="javascript:open601PrintWindow('23922','1')"><img src="/images/icon_printpreview.gif" border="0" title="Print Preview" alt="Print Preview" /></a>
										</td>
										<td class="toolbar"><a href="javascript:open601PrintWindow('23922','1')">Print View</a>
										</td>
									</tr>
									<tr>
										<td class="toolbar"><a href="/coordination/form601/ValidationReport.asp?usi=23922&amp;db=1"><img src="/images/icon_checkapp.gif" border="0" title="Check App" alt="Check App" /></a>
										</td>
										<td class="toolbar"><a href="/coordination/form601/ValidationReport.asp?usi=23922&amp;db=1">Check App</a>
										</td>
									</tr>
									<!--<tr><td class="toolbar"><a href="z1_action.asp?Action=ADD&usi=23922&db=1&msg=new"><img src="/images/icon_z1.gif" border="0" title="Add Z1" alt="Add Z1" /></a></td><td class="toolbar"><a href="z1_action.asp?Action=ADD&usi=23922&db=1&msg=new">Add Z1</a></td></tr>-->
									<tr>
										<td class="toolbar"><a href="status.asp?usi=23922&amp;db=1"><img src="/images/icon_status.gif" border="0" title="Status" alt="Status" /></a>
										</td>
										<td class="toolbar"><a href="status.asp?usi=23922&amp;db=1">Status</a>
										</td>
									</tr>
									<tr>
										<td class="toolbar"><a href="sendmail.asp?usi=23922&amp;db=1"><img src="/images/icon_email.gif" border="0" title="Send Email" alt="Send Email" /></a>
										</td>
										<td class="toolbar"><a href="sendmail.asp?usi=23922&amp;db=1">Send Email</a>
										</td>
									</tr>
									<!--<tr><td class="toolbar"><a href="javascript:track601App('23922')"><img src="/images/icon_track.gif" border="0" title="Track App" alt="Track App" /></a></td><td class="toolbar"><a href="javascript:track601App('23922')">Track App</a></td></tr>-->
								</table>
 
 
								<p class="toolbar">
								<font class="toolbar"><a href="?usi=23922&loc=1&ant=1&amp;side=N">[Hide Sidebar]</a></font>
							</td>
						</tr>
					</table>
					
				</td></tr>
			</table>
		</td>
		<td bgcolor="gray"><img src="/images/spacer.gif" width="1px" height="10" /></td>
		<td width="85%" valign="top">
	
 
 
	<!-- Hidden fields for saving -->
	<input type="hidden" value="" name="redirectStr"/>
	<input type="hidden" value="23922" name="appID"/>
	<input type="hidden" value="0" name="dirty"/>
	<input type="hidden" value="AntEdit" name="curPage"/>
	<input type="hidden" value="7/25/2007 6:46:13 PM" name="apptime"/>
	<input type="hidden" value="1" name="selectedDB"/>
	<input type="hidden" value="601" name="selectedDBText"/>
 
<p/><a href='MainPage1form.asp?usi=23922'>Main</a> > <a href='LocView.asp?usi=23922&loc=1'>Location 1</a> > <b>Antenna 1</b>
 
<p/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td><font class="form601header">Form 601 - Antenna Edit</font>
		</td>
		<td align="right" class="form601header">
			
		</td>
	</tr>
</table>
 
<hr/>
 
<table width="100%" rules="none" border="1" cellspacing="0" cellpadding="4">
	<tr bgcolor="lightyellow">
		<td align="left" valign="top" width="10%">
			<a href="attachment.asp?usi=23922&amp;db=1"><img src="/images/icon_paperclip.gif" border="0" title="Attachments" alt="Attachments" /></a>
			<!-- <a href="attachment.asp?usi=23922"><b>Attachment (0)</b></a> -->
			<a href="notes.asp?usi=23922&amp;db=1"><img src="/images/icon_note.gif" border="0" title="Notes" alt="Notes" /></a>
			<!-- <a href="notes.asp?usi=23922"><b>Notes</b></a> -->
		</td>
		<td align="center" valign="top" width="80%"><b>06033114023922
		</b></td>
		<td align="right" valign="top" width="10%">
		<a href="javascript:open601PrintWindow('23922','1')"><img src="/images/icon_printpreview.gif" border="0" title="Print Preview" alt="Print Preview" /></a>
		<!--<a href="javascript:open601PrintWindow('23922')" ><b>Print View</b></a>-->
		</td>
	</tr>
</table>
 
<div id='Floater' style='position:absolute'><layer id='Floater'><a href='#'><img src='/menu/top.gif' style='border:0' vspace='1' /></a><br/><a href="javascript:dirtyObject('frm_antedit');submitCriteria('frm_antedit', 'AntView.asp?usi=23922&loc=1', false);">
	<img src="/menu/save.gif" border="0" vspace="1" /></a><br/>
	<a href="notes.asp?usi=23922&amp;db=1"><img src="/menu/Note.gif" border="0" vspace="1" /></a><br/>
	<a href="javascript:open601PrintWindow('23922','1')"><img src="/menu/pdf.gif" border="0" vspace="1" /></a><br/>
	<a href="attachment.asp?usi=23922&amp;db=1"><img src="/menu/attachment.gif" border="0" vspace="1" /></a><br/>
 
	<a href="sendmail.asp?usi=23922&amp;db=1"><img src="/menu/email.gif" border="0" vspace="1" /></a><br/>
 
	<a href="#"><img src="/menu/bottom.gif" border="0" vspace="1" /></a><br/>
</layer>
</div>

Open in new window

0
 
LVL 5

Expert Comment

by:Ghoti_AZ
ID: 22996386
<p /> is normal and nothing to worry about.  It is shorthand for <p></p>.
0
 
LVL 8

Expert Comment

by:CoyotesIT
ID: 22996389
Yes, if you have a tag with  it is not correct.

You had a couple in there. See below for the updates..
       <hr/>
<font class="toolbar">
New Application
<br/>3/31/2006 2:44:04 PM
<p>
<table width="95%" border="1" cellspacing="0" cellpadding="4">
        <tr>
                <td class="toolbar">
                                                                <b>Tools</b>
                                                                <table border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                                <td class="toolbar" width="21"><a href="attachment.asp?usi=23922&amp;db=1"><img src="/images/icon_paperclip.gif" border="0" title="Attachments" alt="Attachments" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="attachment.asp?usi=23922&amp;db=1">Attachment</a> (0)
                                                                                </td>
                                                                        </tr>
                                                                        <tr>
 
                                                                                <td class="toolbar"><a href="notes.asp?usi=23922&amp;db=1"><img src="/images/icon_note.gif" border="0" title="Notes" alt="Notes" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="notes.asp?usi=23922&amp;db=1">Notes</a> (1)
                                                                                </td class="toolbar">
                                                                        </tr>
                                                                        <tr>
                                                                                <td class="toolbar"><a href="javascript:open601PrintWindow('23922','1')"><img src="/images/icon_printpreview.gif" border="0" title="Print Preview" alt="Print Preview" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="javascript:open601PrintWindow('23922','1')">Print View</a>
                                                                                </td>
                                                                        </tr>
                                                                        <tr>
                                                                                <td class="toolbar"><a href="/coordination/form601/ValidationReport.asp?usi=23922&amp;db=1"><img src="/images/icon_checkapp.gif" border="0" title="Check App" alt="Check App" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="/coordination/form601/ValidationReport.asp?usi=23922&amp;db=1">Check App</a>
                                                                                </td>
                                                                        </tr>
                                                                        <!--<tr><td class="toolbar"><a href="z1_action.asp?Action=ADD&usi=23922&db=1&msg=new"><img src="/images/icon_z1.gif" border="0" title="Add Z1" alt="Add Z1" /></a></td><td class="toolbar"><a href="z1_action.asp?Action=ADD&usi=23922&db=1&msg=new">Add Z1</a></td></tr>-->
                                                                        <tr>
                                                                                <td class="toolbar"><a href="status.asp?usi=23922&amp;db=1"><img src="/images/icon_status.gif" border="0" title="Status" alt="Status" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="status.asp?usi=23922&amp;db=1">Status</a>
                                                                                </td>
                                                                        </tr>
                                                                        <tr>
                                                                                <td class="toolbar"><a href="sendmail.asp?usi=23922&amp;db=1"><img src="/images/icon_email.gif" border="0" title="Send Email" alt="Send Email" /></a>
                                                                                </td>
                                                                                <td class="toolbar"><a href="sendmail.asp?usi=23922&amp;db=1">Send Email</a>
                                                                                </td>
                                                                        </tr>
                                                                        <!--<tr><td class="toolbar"><a href="javascript:track601App('23922')"><img src="/images/icon_track.gif" border="0" title="Track App" alt="Track App" /></a></td><td class="toolbar"><a href="javascript:track601App('23922')">Track App</a></td></tr>-->
                                                                </table>
 
 
                                                                <p class="toolbar">
                                                                <font class="toolbar"><a href="?usi=23922&loc=1&ant=1&amp;side=N">[Hide Sidebar]</a></font>
                                                        </td>
                                                </tr>
                                        </table>
                                        
                                </td></tr>
                        </table>
                </td>
                <td bgcolor="gray"><img src="/images/spacer.gif" width="1px" height="10" /></td>
                <td width="85%" valign="top">
        
 
 
        <!-- Hidden fields for saving -->
        <input type="hidden" value="" name="redirectStr"/>
        <input type="hidden" value="23922" name="appID"/>
        <input type="hidden" value="0" name="dirty"/>
        <input type="hidden" value="AntEdit" name="curPage"/>
        <input type="hidden" value="7/25/2007 6:46:13 PM" name="apptime"/>
        <input type="hidden" value="1" name="selectedDB"/>
        <input type="hidden" value="601" name="selectedDBText"/>
 
</p><a href='MainPage1form.asp?usi=23922'>Main</a> > <a href='LocView.asp?usi=23922&loc=1'>Location 1</a> > <b>Antenna 1</b>
 
<p>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
                <td><font class="form601header">Form 601 - Antenna Edit</font>
                </td>
                <td align="right" class="form601header">
                        
                </td>
        </tr>
</table>
 
<hr/>
 
<table width="100%" rules="none" border="1" cellspacing="0" cellpadding="4">
        <tr bgcolor="lightyellow">
                <td align="left" valign="top" width="10%">
                        <a href="attachment.asp?usi=23922&amp;db=1"><img src="/images/icon_paperclip.gif" border="0" title="Attachments" alt="Attachments" /></a>
                        <!-- <a href="attachment.asp?usi=23922"><b>Attachment (0)</b></a> -->
                        <a href="notes.asp?usi=23922&amp;db=1"><img src="/images/icon_note.gif" border="0" title="Notes" alt="Notes" /></a>
                        <!-- <a href="notes.asp?usi=23922"><b>Notes</b></a> -->
                </td>
                <td align="center" valign="top" width="80%"><b>06033114023922
                </b></td>
                <td align="right" valign="top" width="10%">
                <a href="javascript:open601PrintWindow('23922','1')"><img src="/images/icon_printpreview.gif" border="0" title="Print Preview" alt="Print Preview" /></a>
                <!--<a href="javascript:open601PrintWindow('23922')" ><b>Print View</b></a>-->
                </td>
        </tr>
</table>
 
<div id='Floater' style='position:absolute'><layer id='Floater'><a href='#'><img src='/menu/top.gif' style='border:0' vspace='1' /></a><br/><a href="javascript:dirtyObject('frm_antedit');submitCriteria('frm_antedit', 'AntView.asp?usi=23922&loc=1', false);">
        <img src="/menu/save.gif" border="0" vspace="1" /></a><br/>
        <a href="notes.asp?usi=23922&amp;db=1"><img src="/menu/Note.gif" border="0" vspace="1" /></a><br/>
        <a href="javascript:open601PrintWindow('23922','1')"><img src="/menu/pdf.gif" border="0" vspace="1" /></a><br/>
        <a href="attachment.asp?usi=23922&amp;db=1"><img src="/menu/attachment.gif" border="0" vspace="1" /></a><br/>
 
        <a href="sendmail.asp?usi=23922&amp;db=1"><img src="/menu/email.gif" border="0" vspace="1" /></a><br/>
 
        <a href="#"><img src="/menu/bottom.gif" border="0" vspace="1" /></a><br/>
</layer>
</div>
</p>

Open in new window

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Accepted Solution

by:
CoyotesIT earned 800 total points
ID: 22996403
The problem is that you are wrapping your  in this tag, you had



content



You need to have this as



content


0
 
LVL 7

Assisted Solution

by:BurtAnderson
BurtAnderson earned 80 total points
ID: 22996408
Yeah, that's incorrect form for a paragraph tag. Change it to <p></p> or use <br /><br /> and you'll be fine. It just looks like you're trying to place a little space before rendering your table.
0
 
LVL 8

Expert Comment

by:CoyotesIT
ID: 22996412
took the html out
<p>
 
content
 
</p>

Open in new window

0
 
LVL 30

Assisted Solution

by:Mark Steggles
Mark Steggles earned 120 total points
ID: 22996413
Hello,

Thats weird. <p/> is definitely incorrect. A paragraph should always take this format:

<p>paragraph text</p>

--

You should remove the </p> on line 5
You also need to fix this on line 76

<p/><a href='MainPage1form.asp?usi=23922'>Main</a> > <a href='LocView.asp?usi=23922&loc=1'>Location 1</a> > <b>Antenna 1</b>
 
<p/>
0
 

Author Comment

by:Torchwood909
ID: 22997240
let me fix the <p/>
if this fixes the problem I will be most greatful! there could be other errors!
THANK YOU!!!!
0
 

Author Comment

by:Torchwood909
ID: 22997294
Well I fixed the <p/> error, but there must be other errors because the problem still exists...
Thank you for this... I'll keep looking...  :)
0
 
LVL 30

Expert Comment

by:Mark Steggles
ID: 22997333
If you post the validator results link Im sure we can help you find the cause of these errors.
0
 

Author Comment

by:Torchwood909
ID: 22997397
what is a validator results link ?
0
 
LVL 30

Expert Comment

by:Mark Steggles
ID: 22997487
Well, where are you getting the information from about the errors?

validator.w3.org is a good one.
0
 
LVL 44

Assisted Solution

by:scrathcyboy
scrathcyboy earned 400 total points
ID: 23000798
Don't use ANY <P> pr <P/> tag outside a table.  It is a conflict -- use EITHER the table structure OR the <P> and closing </P> tags for text -- don't use BOTH at once like the code you have -- it is wrong, or will give problems.
0
 

Author Comment

by:Torchwood909
ID: 23004197
I found the errror, but it is not the <p/>
That was another error, there are MANY!
Thank you for your help!
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

873 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