Go to "Tools"> "Options"> "Text Editor"> "HTML"> "Miscellaneous" and uncheck the box "Elements of automatic identifier when pasting in the" Source "mode
Source: How to customize copy / paste behavior in Visual Studio 2008? but in 2010 it's the same
Pleun
source share