<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<script>
function displayResult()
{
var x=document.getElementsByTagName("meta")[0].httpEquiv;
alert(x);
}
</script>
</head>
<body>
<button type="button" onclick="displayResult()">Display HTTP-Equiv</button>
</body>
</html>