NG2G Underground

Learners Zone => Website Design and Development => Topic started by: eromoswaaga on Dec 16, 2017

Title: Website design issUe
Post by: [Not Shown, Login to View] on Dec 16, 2017
Compliments of the season,i started the other section of your book which is website design, I have not been able to put an image  on d d websites using html tag <img src> any time I follow d procedure it going to bring up a blank x!! It has been give me sleepless  night! Beside I am using notepad!!

my second question is after coding the home, contact us, about us nav bar on d homepage, how do I link them up to the pageant itself!!! Please help a learner
Title: Re: Website design issUe
Post by: [Not Shown, Login to View] on Dec 25, 2017
Are you using notepad or an online editor?

Make sure that the image you are using is in the same folder as the html file accessing the image, but if you are using an online editor then you cannot link from there to an image on your computer, the image needs to be online too and then you use the full image URL.

For your second question, if all the pages are in the same folder, you can use a code similar to the below to link them anywhere you want a link to them. Use the anchor tag like:

<a href="aboutus.html">About Us</a>

Where aboutus.html is the name of the file that you are linking to. Note that this will work only if the files are all in the same folder. But if you are linking to a location that is online, you need to use the full URL for example <a href="http://mysitename.com/aboutus.html">About Us</a>

Hope my explanations make sense?

Please post here your code so that we can detect what might be wrong.
Title: Re: Website design issUe
Post by: [Not Shown, Login to View] on Dec 31, 2017
Thanks bro