<html>
<body>
<a id="w3s" charset="ISO-8859-1" href="/">自强学堂</a><br>
<script>
document.write("Return charset of link: ");
document.write(document.getElementById('w3s').charset);
document.write("<br><br>");
</script>
<a id="google" href="http://www.google.com/">Google</a><br>
<script>
document.getElementById('google').charset="utf-8";
document.write("Set charset of link to: ");
document.write(document.getElementById('google').charset);
</script>
</body>
</html>