August 23, 201016 yr 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?
August 23, 201016 yr 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>
August 23, 201016 yr 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.
August 23, 201016 yr Author 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.
August 24, 201016 yr 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
August 24, 201016 yr Author Yeah I knew that.. I just copy pasted it from a petpage, at least assuming that they would do that, too :P
August 25, 201016 yr Yeah happens 2 me 2 a lot of times. Always have to check the whole code, which is quite a pitty!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.