Viridian Posted August 23, 2010 Share Posted August 23, 2010 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? Quote Link to comment Share on other sites More sharing options...
Xepha Posted August 23, 2010 Share Posted August 23, 2010 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> Quote Link to comment Share on other sites More sharing options...
Masaryk Posted August 23, 2010 Share Posted August 23, 2010 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. Quote Link to comment Share on other sites More sharing options...
Viridian Posted August 23, 2010 Author Share Posted August 23, 2010 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. Quote Link to comment Share on other sites More sharing options...
antiaircraft Posted August 24, 2010 Share Posted August 24, 2010 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 Quote Link to comment Share on other sites More sharing options...
Viridian Posted August 24, 2010 Author Share Posted August 24, 2010 Yeah I knew that.. I just copy pasted it from a petpage, at least assuming that they would do that, too :P Quote Link to comment Share on other sites More sharing options...
iibeauty Posted August 25, 2010 Share Posted August 25, 2010 Yeah happens 2 me 2 a lot of times. Always have to check the whole code, which is quite a pitty! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.