Frequently Asked HTML Questions


  • How can I make the links in my frame open in another frame?
  • How do I get the links in my IFrame to open in a new page?
  • How can I put 2 graphics next to each other?
  • How do you get that cool mouse where the letters follow the cursor?
  • What server is your site on, and how can I get a dot com name?
  • Why do error messages sometimes come up when I use javascript?
  • How can I find the height, width, and url of an image?
  • I put the frames code on...and its a blank page. Whats wrong?
  • How can I make HTML show up as the actual code, not the result?
  • How come with the image code, a little box with an X shows up?
  • Can you do image thumbnails on expage?
  • How do I get animations like your title banner?
  • Q: How can I make the links in my frame open in another frame?

    First, you name each frame by a different one-word name. Then, in all your link codes, target them to the frame u want them to open in. For example, if u had 2 frames, and the frame on the left was named "menu" and the one on the right was named "main", all the links in the menu would target into main. In your frame code, where it says "frameset src=URL", write in "name=menu" inside the little carrots. This makes it so the links know where to open in. Here are the codes, the first one is part of the frame code and the second would be all your links.

    <FRAMESET src="http://blah.com" name=menu> <a href="http://blah.com" target=menu>text</a>


    Q: How do I get the links in my IFrame to open in a new page?

    You have to target them out of the frame, (similar to the question above, except you aren't targeting to a specific frame). Use this code:

    <a href="URLHERE.htm" target=_top>text</a>


    Q: How do I put 2 graphics next to each other?

    The way you do that is put it in a table that has no border. Use this same code if you wanna put text next to a picture. Here's the code:

    <table border=0><tr> <td>GRAPHIC CODE <td>GRAPHIC CODE <td>GRAPHIC CODE </table>


    Q: How do you get that cool mouse, where your letters follow your cursor?

    That code is called "cursor trailor text" and its from www.dynamicdrive.com, under the catagory Mouse Trial Effects. It doesn't work on expage, though...and remember, you gotta put all 3 parts of the code that they give you!


    Q: What server is your site on, and how can I get a dot com name?

    I make my site on the computer, then save the pages and upload them onto my domain using this program called an FTP. Dot com names cost money, and you can get them from places like www.dreamhost.com and www.namesecure.com.


    Q: Why do error messages sometimes come up when I use javascript?

    One of the reasons this might happen is what your text is. If you're using the simple javascript, enter pop-up code, and you put a ":)" inside it...for example: "Welcome to my site! :)" There will be an error...you cant have any kind of parentheses, bracket, or anything else that might be in the actual javascript code...therefore, it might think that parentheses is part of the actual code, and it would mess up.


    Q: How can I find the height, width, and url of an image?

    For the dimensions, if you're making it in a graphic program, it usually tells you on the bottom toolbar. In Microsoft Paint, you can go to "image" then "attributes" and it'll tell you the dimensions. Or, when you have the image on your site, you can right click on it and go to "properties". The properties also have the URL of the image, and another way to get an Image URL is by uploading it to your website


    Q: I put the frames code on...and its a blank page. Whats wrong?

    You probably forgot to change where it says "MENU URL" and "MAIN URL" to your ACTUAL url. Remember...frames is a way of joining several pages together on one page, and you need to put the URL's of the pages you wanna put together! Also, another common mistake is people put only "mainpage.html" or something in that place. You have to put the FULL url, including the http:// part, not just "www.blah.com"


    Q: How can I make HTML show up as the actual code, not the result?

    You need this code if you wanna make an HTML site...remember to change the parentheses to < and >:

    (xmp) (the html code here) (/xmp)


    Q: How come with the image code, a little box with an X shows up?

    You must have messed up the code somehow. On some servers, you have to put the full url of the graphic, not just "/images/blah.gif". Try going to the url and making sure it works.


    Q: Can you do image thumbnails on expage?

    Yes, but only if you uploaded the picture ON expage first. You can only use the img src code on expage IF you uploaded it on there first, and thats the code you need for thumbnails. In case you need to know, the code for thumbnails is:

    <img src=URL.htm height=# width=#>


    Q: How do I get animations like your title banner?

    I didnt make that banner, so I dont know HOW exactly to make animations...someone made it for me... but I know you need graphic programs like Paint Shop Pro and Animation Shop to make fancy graphics like that. You can download free trials of PSP from jasc.com


    Related Sites