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
Post a Comment