What is src Attribute ?

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

Offline chinmay.sahooTopic starter

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

Quote
src=”main_page.html”

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 44
  • Posts: 893
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: What is src Attribute ?
« Reply #1 on: 04-20-2016, 23:31:22 »
Thank you for this useful information!
Your ideas, our writings - Writology.com

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
2928 Views
Last post 06-13-2010, 05:39:30
by ryosuzuki
0 Replies
413 Views
Last post 02-09-2017, 03:15:19
by beingchinmay