| 1. |
Solve : Having issues getting images to display.? |
|
Answer» Just starting out with HTML and I'm having an issue getting the images to display in either notepad or the html editor on the site I'm using to LEARN html. <img src="foldername/imagename.jpg alt="" width"" height""> It is missing values for alt, width, and height as well as most importantly a closing " after the image file location. So I think you would get better results with: Quote <img src="foldername/imagename.jpg" alt="ImageDescriptionHere" width"120" height"120"> As far as this: Quote Just starting out with HTML and I'm having an issue getting the images to display in either notepad or the html editor on the site I'm using to learn html. Notepad can not display images, it is just a text editor. If you want to view your webpage, I would locate it through a browser and have the browser handle the HTML to show you how it all operates. As far as HTML editor, unless it has a WYSIWYG feature or a HTML Page Viewer, it is likely bound to inability to show the page as it would display on a browser. I pretty much use a text editor and a browser for HTML development or a WYSIWYG tool like Dreamweaver. I have also taken the route of using PowerPoint to get everything laid out the way I want it and then save as HTML and post that online, as well as used a tool called MapEdit that allows you to map out x/y coordinates of an image to make embedded hyperlinks in images such as when you want to make a navigation bar using an image for the button layout and then you used MapEdit to SELECT regions of the image and assign hyperlinks to the regions so that instead of using many many tables etc, you can have source file that calls an image for the user interface, and it has hyperlink declarations that make the image interactive. I also used this MapEdit tool to make HTML games before I learned how to make Flash Games which are better. As far as text editor goes, I have been using Crimson Editor which is free and color codes your source file no matter if you are working with HTML, C, C++, Perl, etc and so your source takes on colors that make the text stand out from the functions in the source. Way better than looking at black and white for long periods of time and way easier to FIND typos in your source because a typo can stand out as a function that is black and white that should be a color, and then you realize the typo and fix it and it takes on the color assigned for that feature function. If your website you are working on was LOCATED at say C:\mywebsite\ and your home page is index.html you can enter C:\mywebsite\index.html into the URL window of your browser and your webpage will display just as it would online. |
|