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.

+ 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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.