The frameborder and scrolling attributes are valid HTML4, and since we support browsers that do not provide HTML5 functionality we will continue to use those attributes. Additionally allowtransparency is supported by all major browsers. Additionally other things like target="_blank" on an anchor would not validate yet, almost the entire web uses it. Validation is a mere suggestion, we program software to work, not to validate.