HTML Frames

Discussion in 'HTML & Website Design' started by nickehyz, Jun 6, 2009.

  1. #1
    I've been looking to find some code that could do something similar to tutorialized[dot]com's tutorial pages. It has horizontal frame at the top of the page showing their site and an advert or two, and another website on the rest of the page. I can't post links, but if you look on all their tutorials do this.

    I'm not sure how to do it...I've looked at source codes and I see something to do with framesets. Researched it and still confused...any help on what I have to do?
     
    nickehyz, Jun 6, 2009 IP
  2. firebolt

    firebolt Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others. Learn more about frames here: http://www.w3schools.com/HTML/html_frames.asp

    You can learn about them, but don't use them. Frames are generally bad -- for search engine indexing, user experience, bookmarking, printing, etc. Check out this article: http://www.velvetblues.com/web-development-blog/why-you-should-not-use-frames-in-your-website/

    Hope this helps.
     
    firebolt, Jun 19, 2009 IP
  3. rmvalues

    rmvalues Well-Known Member

    Messages:
    326
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #3
    i guess they are using iFrame function.

    <iframce src="your url here" width="" height=""></iframe>
    Code (markup):
     
    rmvalues, Jun 19, 2009 IP
  4. Rodder7

    Rodder7 Active Member

    Messages:
    451
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    88
    #4
    I only use iframes for stuff like shout boxes or forms.
    otherwise frames aren't really a good idea(banning apps that require them). google likes them more than they use too, but still is not the best seo.

    If I used framesets in the past, it was to frame the entire page. otherwise I would use iframes.

    One of the best tutorials for iframes can be found at:

    samisite
     
    Rodder7, Jun 20, 2009 IP