API's of a website
Hey. I am developing an app for a website at present, I have obtained the login API for it and successfully implemented this (the login). Now I want to move on further into the rest of the pages in the website. My doubt is, will there be a separate API for each of these pages? Should I use a different url address for each of these pages?
I don't know much about HTML or web development some clarity in this matter would be much appreciated.
I do not understand your query. Please give a code snippet of how you are "logging in" to a site you have not written yet??? When you say API do you mean URL?
On the naming of web pages, only the home page needs to be standard, usually "index.html". So the full url is, say: "http://www.mysite.com/index.html". Other web pages are usually put in the same folder on the server so their relative address is just the page name. E.g. "AboutUs.html". So in index.html (or any other web page in the same folder) the link: <a href="AboutUs.html">About Us</a> will display the "About Us" page.
Incidentally, it is generally best to put graphic files in a separate sub-folder, often called "graphics". So the code <img src="graphics/mypiccie.jpg" alt="my picture" width="100" height="150"> will display the picture. Note: The width and height are optional, but should be given as that minimises the "jumping around" of the page as it loads.
yes you should use different url's.