My pset works fine, but I have a more 'theoretical' question about validating HTML code. When I initially pasted the code of my views into the validators, they came out as invalid (even though they worked fine). The issue was fixed as soon as I added a doctype declaration on top of every file.
However, I noticed that some of the staff's code does not have the doctype declaration on top, and yet it doesn't seem to be a problem.
Would someone mind explaining to me why that is the case? How can you have invalid code that still works? It's not like you're losing memory or sacrafising security here (I think) so I'm really curious :)