jane_khute
08-14-2004, 05:10 PM
can anyone help on how to make ur own link to go on to the next page of your site like this one
its just an example
<a href="index.php">Main</a><br>
its just an example
<a href="index.php">Main</a><br>
|
View Full Version : can anyone help me pls jane_khute 08-14-2004, 05:10 PM can anyone help on how to make ur own link to go on to the next page of your site like this one its just an example <a href="index.php">Main</a><br> pb&j 08-14-2004, 05:13 PM step 1. make a second html page. step 2. link to it as you exampled, just put in the filename in the HREF value. Shirl 08-14-2004, 05:13 PM <a href="the address you want the link to go to">The text you want to be clickable</a> jane_khute 08-14-2004, 05:28 PM how do i make a second html page...im not geting this sorrie starlet 08-14-2004, 05:30 PM However you made the first...just do that again but give the page a different name. jane_khute 08-14-2004, 05:42 PM can u give me an example of a name pls pb&j 08-14-2004, 05:44 PM your first page is probably named "index.html". that is common. your second page may have any filename you like. "whatever.html" then you can put a link to it on your index.html page like... <a href="whatever.html"> click to visit my second page </a> Rosey 08-14-2004, 05:44 PM you can name it what you want, it depends what your page contains. Most people will name a page that contains stuff about yourself "aboutme.html" "me.html" or whatever. jane_khute 08-14-2004, 05:47 PM ohh thanx i get it...ok if i wanted to name it faq.php do i hav to name it php at the end of faq or can i give it other names besides using php <a href="faq.php">Main</a><br> Rosey 08-14-2004, 05:50 PM you have to use php. jane_khute 08-14-2004, 05:54 PM how bout if it was a different one do i still have to pb&j 08-14-2004, 05:56 PM the extension of the page depends on what type of coding you have. if the page contains php coding, the last part must be php. if the page is just a normal page, then html or htm will be fine. just be sure that whatever you call the webpage filename, that is the same that goes into your link tag too. Rosey 08-14-2004, 05:56 PM if it contains php in the file, then you need to have the php extension. Makar 08-14-2004, 05:58 PM Always use the file extention of your page/image/whatever you're linking to. If it's an HTML page the extention would be .html or .htm, if you were linking to a jpeg image the extention would be .jpg, etc... jane_khute 08-14-2004, 06:02 PM oh ok soo if its a normal page it would go as html or htm...and if its just links it would be php...and oh yea :hehe: wat does php mean anyways starlet 08-14-2004, 06:06 PM No you dont need need to make it php if its just links...put it this way, if you dont even know what php is chances are youre not using it therefore you dont need to worry about naming any pages .php....just name them all with .html and you should be fine. pb&j 08-14-2004, 06:06 PM links are normal html coding. php is a serverside code. you probably are not using this at all yet. stick with ".html" for now until you see some instructions that tell you to change it to something different. jane_khute 08-14-2004, 06:09 PM oh ok thanx guys u all helped me here and it was quick too...you guys are good |