by Pickwick » Thu Aug 11, 2011 6:20 am
If I may jump in here, please. The "target" attribute was originally deprecated because it was thought there were getting to be too many Pop-up windows. Those of us who needed a new window and still had to use valid code quickly cane up with a "hack" or work-around.
From what I have read about HTML5, it looks like this attribute will no longer be deprecated.
Okay, that means if you plan to use XHTML1.0 Strict, you need to make use of something like the JavaScript work around. You can Google this and find the exact solution quite easily.
As for the real world side effects and not closing tags, browsers are auto-correcting the code for people who don't code properly. Case in point: I can write <p>A new paragraph. <p>A second paragraph. Looking at the code AFTER it is rendered in Firefox, I would see <p>A new paragraph. </p><p>A second paragraph.</p> (select over that portion of the web page with your mouse, right-mouse click on it, and choose "View selection source"). Please think about the cumulative amount of computer time for browsers to check every web page and then make the corrections needed. This slows the web down for everyone.
The public's expectation of browsers is that they will do more and do it faster. I heard a discussion by the lead developers for Opera, IE, and Firefox who all agreed they can't make all of the corrections forever. At some point the browser will simply render the page as written. They were asked if that wouldn't mean some pages won't be rendered properly or at all. Without hesitation, the answer from all of them was, "Yes!"
Finally, the day of web pages standing alone is basically over. Today, a web page has to communicate with the back end. You are doing this when you have Perl generate a web page. There is also AJAX. The biggest concern for many large companies is that their web pages are "Standards Compliant." If they aren't, other things start to break.