More questions

liunx

Guest
How come when you look at the source code of a website, there is nothing that appears relevant to the actual content of the page?<br />
<br />
Here is an example of what I am talking about:<br />
<br />
<html><br />
<head><br />
<title><br />
Rocket Science Racing<br />
</title><br />
</head><br />
<br />
<frameset rows="75,100%" framespacing=0><br />
<frame name=banner src=http://www.htmlforums.com/archive/index.php/"banner.html" noresize scrolling=no broder=0 frameborder=0<br />
framespacing=0><br />
<br />
<br />
<frameset cols="120,100%"><br />
<frame name=navbar src=http://www.htmlforums.com/archive/index.php/"navbar.html" border=0 frameborder=0 framespacing=0><br />
<frame name=main src=http://www.htmlforums.com/archive/index.php/"main.html" border=0 frameborder=0 framespacing=0><br />
</frameset><br />
<br />
<br />
<br />
</html><br />
<br />
I can open the page but a friend of mine gets an page can not be found.<br />
<br />
The page has a picture on it but there is no image tag in the code?<br />
<br />
What am I missing here?<br />
<br />
Here is the url for the code above:<br />
<br />
<!-- m --><a class="postlink" href="http://www.rocketscienceracing.com/">http://www.rocketscienceracing.com/</a><!-- m --><!--content-->That site is done up in "frames". That is... the browser window is split into different areas and each area displays a different web page. Most framed sites are very well done and "seemless" so you don't even know they are there.<br />
<br />
Try looking at these pages...<br />
<br />
<!-- m --><a class="postlink" href="http://www.rocketscienceracing.com/banner.html">http://www.rocketscienceracing.com/banner.html</a><!-- m --><br />
<br />
<!-- m --><a class="postlink" href="http://www.rocketscienceracing.com/navbar.html">http://www.rocketscienceracing.com/navbar.html</a><!-- m --><br />
<br />
<!-- m --><a class="postlink" href="http://www.rocketscienceracing.com/main.html">http://www.rocketscienceracing.com/main.html</a><!-- m --><br />
<br />
All I did was take the main site URL and add on the pages seen in the SRC values of the frames coding you displayed.<!--content-->I have liked a pages layout and looked at at is source code and there would be tons of content yet no code and I figured it must been created with some super secret html generator or something.<br />
<br />
Thanks for the reply, I have read about frames but could not quite figure out how all the pages would load at the same time, is it just the frame tag that tells the browser it needs to go find the rest of the content?<!--content-->if you right click in th epage and click on view source you will see teh source for the framed page. if you go up to view and then source you will usually see the source of the index page. try clicking in the page you want and then go up to view source.<!--content-->The ol'right click thing.<br />
<br />
Does the frame tag automaticaly find the other pages ?<br />
Thanks<!--content-->Originally posted by KWJams <br />
The ol'right click thing.<br />
<br />
Does the frame tag automaticaly find the other pages ?<br />
Thanks <br />
<br />
Yes,the frame tags displays the pages which are specified inside the frame tag.<!--content-->Have a look at the coding you posted in the first posting and here is a very quick overview...<br />
<br />
FRAMESET - This divides the browser window into sections, either rows or columns or a combination of the two.<br />
<br />
FRAME SRC - This value specifies what web page will be loaded into a specific section (frame) that has just been created by the FRAMESET.<br />
<br />
Maybe take a few and browse through my frames section or on any other tutorial sites...<br />
<br />
<!-- m --><a class="postlink" href="http://www.htmlite.com/HTMnav2.htm">http://www.htmlite.com/HTMnav2.htm</a><!-- m --><!--content-->another handy thing to know is that in Netscape, you can right click on each frame and open just that page in a new browser window.<br />
<br />
I do that a lot when I am proofing frame site and only the content of the page is changing.<br />
<br />
-beth<!--content--><< I'm here to learn >>:D<!--content-->
 
Back
Top