Jump to content

I need to fix a code


DEBMCK

Recommended Posts

ok when I use CSE HTML Validator Lite i get this warning...>Warning Line 74 Found the character '>' with no previous character '<' to open the tag. The character '<' must appear before each '>' to open a tag. If you actually want to use this character in the text portion of your document, then use the character entity reference ">". Note, however, that using this reference is not technically necessary according to the HTML specification (but it is highly recommended that you use it).

 

<div id="breadcrumb"><a href="index.php">HOME</a> > </div>

 

as you can see it has an extra > between </a> and <div>

 

but when I go into my editor to remove it, it says this instead....<div id="breadcrumb">{bread_crumb}</div>

Here is the file I am trying to edit.... /home/summitgr/public_html/templates/layout.html

 

can someone help me???? Please!

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/164604-i-need-to-fix-a-code/
Share on other sites

You'll have to find that ">" separator and change it to <

That "link" you posted is not something we can see, so we can't help you.  That is a local path on your server..

 

You'll have to show us more (relevant) code, or find the right section that shows that separator.. not much we can do.

Link to comment
https://forums.phpfreaks.com/topic/164604-i-need-to-fix-a-code/#findComment-868158
Share on other sites

Yes, as xtopolis states you need to find the code that creates the breadcrumb - that is what is causing the problem. But, personally I wouldn't worry too much about it. It is just a validation warning. Is it perfect, no. But, it's not something that's going to make your site unusable.

Link to comment
https://forums.phpfreaks.com/topic/164604-i-need-to-fix-a-code/#findComment-868159
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.