Home » questions » Could you tell me what the source code is all about in the view tab?

Could you tell me what the source code is all about in the view tab?

2006-08-03 00:34:55, Category: Programming & Design
I would like to know if the source code is the actual programming structure for the page or some kind of interpretation of it. What language is it written in? How could I locate an image/ picture on the page in the source code and view it. The image has disappeared during page load. It originally looks like a three shaped colorful little box and then dissapears.

Answers

  1. ngdb

    On 2006-08-03 00:38:27


    written in html. look for the tag for pictures
  2. WinterRhya

    On 2006-08-03 00:46:36


    Yes. The source code is what makes the page look the way it does. It is written in several languages. Among these can be CSS (Cascading style sheets) HTML (hypertext markup language) javascript, XHTML and XML. (Neither of the others will work without html I don't think. I know css and javascript will not.) Don't worry about xhtml and xml at first if you're looking to learn. ^_^ They're complicated. Most of the time you don't even have to look at the source to find the image. Just right click on the small box before it disappears and hit view image. Don't be disappointed if there is a broken image. This means that there is no picture there anymore. If it doesn't load at all, that's what that is. The small box often means that. It can also mean that it's just having trouble loading it. But if you do have to use the code, look for urls that have the image tag around them. (Mentioned in the above poster's answer). Another option is to right click on the page and go down to "view page info". There should be a tab on the window that pops up that says "media" or something of the sort. Click there and look for the images. (The word type in one of the columns will tell you which one is an image.) Then it's all a matter of trying those urls. Hope this helps! ^_^
  3. HRN

    On 2006-08-03 00:41:00


    Depends - If the page is a Static HTML Page (.html) what is generated is exactly what was programmed. If it is a dynamic page (something generated using PHP, ASP etc), the HTML code that you see on view source is something that is generated by a web server. To locate an image look for the tag, easier if you are a FireFox user, install the web developer extension which would make life easier for you.