<!DOCTYPE HTML>
<html>
<head>
<script type="text/javascript">

var child = document.createTextNode("a");

var attr = document.createAttribute("a");
try {
    attr.appendChild(child);
}
catch (e) {
}

</script>
</head>
</html>
