Just ignore the warnings.
You can check off "Validate HTML" in Visual Studio HTML edit settings.
Or simply close (do not have it open in edit) that file and Visual studio
will not give you warnings
The validation customization feature gave me hope, but it looks like they
never really implemented any of it. Not even custom tags, which they
specifically put in there. Annoying, but I can live with it I guess.