angularjs - <!DOCTYPE html> - Document Type Declaration must appear only once -


my code looks this:

<!doctype html> <html lang="en"       class="light"       ng-app="app"       ng-controller="appcontroller"       id="ngapp"       xmlns:ng="http://angularjs.org"       xmlns:ui="ui-router"> 

in visual studio 2013 gives problem in editor , doctype underlined in green message saying:

document type declaration must appear once 

has else found solution problem. note simple <html> not happen. code works in browser versions of vs2013 update 1-4 see green squiggly line under doctype.

check , see if there layout file. if using template mvc visual studio provides layout file located @ views/shared/_layout. there can see <!doctype html> has been inserted.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

How do you convert a timestamp into a datetime in python with the correct timezone? -