document.characterSet
In this chapter you will learn:
document.characterSet
document.characterSet
returns document character set encoding.
This is a read-only property. The return type is string
.
<!DOCTYPE HTML> <!-- j av a 2s . co m-->
<html>
<body>
<script>
document.writeln(document.characterSet);
</script>
</body>
</html>
Next chapter...
What you will learn in the next chapter:
Home » Javascript Tutorial » Document