Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference between Name= and Id=

Status
Not open for further replies.

MrMajik

IS-IT--Management
Joined
Apr 2, 2002
Messages
267
My website uses frames. I have the following:

<frame src=&quot;top_frame.html&quot; name=&quot;frmMenu&quot; id=&quot;frmMenu&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; noresize marginwidth=&quot;0&quot; marginheight=&quot;0&quot; target=&quot;contents&quot;>

Is there a difference in what name= vs. id= do? If there is a difference what are they?

If there is no difference do you know why there are two variables that do the same thing?

Thank you.

MrMajik

Everything should be made as simple as possible, but not simpler
--Albert Einstein


 
it was something that was added as html progressed, now we use the two for backwards compatibility.

Aaron Taylor
John Mutch Electronics
 
aaronjme,

Thank you for the reply. I thought that it was something like that. They both do the same thing for how I use them.

Thank you.

MrMajik

Everything should be made as simple as possible, but not simpler
--Albert Einstein


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top