FAQ Database Discussion Community


Form/Div Validation Erros - CSS Structure?

html,html-validation
I have my html running smoothly, however on w3 validation I'm getting errors, I'm seeing it's happening towards closing the div/form tags. I have one <div> in the form which is closed outside of the form. I thought this was the issues so I closed it before the </form> and...

validation of AngularJS direcrives

angularjs,html5,html-validation
I read on W3C School that to make a valid HTML page I have to add data before each angular directive in HTML file (e.g.: <p>The name is <span data-ng-bind="firstName"></span></p> or <div data-ng-app="" data-ng-init="firstName='John'"> Ok that's fine. I have two questions: Should this prefix be used only for ng- directives?...