What is src Attribute ?

Author Topic: What is src Attribute ?  (Read 630 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 139
  • Karma: 0
    • No Addiction
What is src Attribute ?
« on: 01-06-2016, 00:55:34 »
The src attribute indicates the file that should be used in the frame.


The value for the src attribute is a normal XHTML page, so you must have a corresponding page for each <frame /> element.

While the value of this attribute will generally be a file on your server, its value can be any URL, so you can use the src attribute to specify another site.

You might find that some search engines on the Internet (such as the image search on Google) will create a frameset whereby the top of the page remains the search site and the bottom of the page is the page you requested.

If you use a frame like this, it is good practice to offer a link that will close the top frame and allow the viewer to view just the content of the main frame (as Google does).

Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 15
  • Posts: 896
  • Karma: 0
Re: What is src Attribute ?
« Reply #1 on: 04-20-2016, 23:31:22 »
Thank you for this useful information!


Related Topics

  Subject / Started by Replies Last post
2 Replies
Last post 06-13-2010, 05:39:30
by ryosuzuki