I'm learning AngularJS and I found a simple code like this one:
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.js"></script>
</head>
<body ng-app ng-init="name = 'World'">
<h1>Hello, {{name}}!</h1>
</body>
</html>
does not pass W3C validation test, mainly because there are non standard attributes (ng-app
, ng-init
).
The question is: should I care about W3C validation of my application? Should I abandon AngularJS?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…