0

Quick question about   vs + in scripts:

What is the advantage of using <iframe frameborder="0" width="480" height="384" src="http://www.dailymotion.com/embed/video/x8n35t?theme=spring&foreground=%23C2E165&highlight=%23809443&background=%23232912&hideInfos=1&animatedTitle=You+will+know&wmode=transparent"></iframe> . <iframe frameborder="0" height="384" src="http://www.dailymotion.com/embed/video/x8n35t?theme=spring&amp;foreground=%23C2E165&amp;highlight=%23809443&amp;background=%23232912&amp;hideInfos=1&amp;animatedTitle=You&nbsp;will&nbsp;know&amp;wmode=transparent" width="480"></iframe> Does it matter at all? Could the embed code generator have used &nbsp; instead? It is nothing urgent. I just thought it would be nice to know. A quick google search did not give me anything.

I am not related to dailymotion in any way besides being a user on that site. I am not related to the eagles besides being a fan.

2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by abelLazm
1

+ sign joins two strings without creating space between them where &nbsp is the space creator.

if we write: "Hello"+"World"
output: HelloWorld
if we write: Hello&nbspWorld
output: Hello World

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.