Jump to content

Recommended Posts

Posted

Hey! I'm trying to edit my pets homepage and put some links in (to places in Neopia) but it seems that it doesn't work. I got the code from someone else's petpage... Example:

 

<div id="navigation">
<a  -disallowed_word- ttp://www.neopets.com/>Neopets</a>
<a  -disallowed_word- ttp://www.neopets.com/myaccount.phtml>My account</a>
<a  -disallowed_word- ttp://www.neopets.com/petcentral.phtml>pet central</a>
<a  -disallowed_word- ttp://www.neopets.com/objects.phtml>shops</a>
<a  -disallowed_word- ttp://www.neopets.com/explore.phtml>explore</a>
<a  -disallowed_word- ttp://www.neopets.com/games/arcade.phtml>games</a>
<a  -disallowed_word- ttp://www.neopets.com/nf.phtml>news</a>
<a  -disallowed_word- ttp://ncmall.neopets.com/shop.phtml>nc mall</a>
</div>

 

I know that the disallowed word is apparently href=... But I am honestly wondering why?

Posted

I know why :)

 

Be sure to use full quotation marks around all your links

 

example:

 

<a href="http://www.neopets.com/">This is a link</a>

Posted

This happened to me too. Check to make sure you have the quotation marks and you didn't leave any extra spaces, just like in Xepha's example. The code filters are really picky about stuff like that now.

Posted

Haha understood. I always use full quotations when writing the links out myself, I guess I should do that from now on :)

 

Thanks a lot.

Posted

In fact, when writing HTML, you should always quote all your attributes. It's good coding practice (and in fact it's mandatory in well-formed XML). :yes:

 

But you probably know this already. xD

Posted

Yeah I knew that.. I just copy pasted it from a petpage, at least assuming that they would do that, too :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...