em.className="message";这个是什么意思?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<style type="text/css">
.message{
width:200px;
height:100px;
background-color:#CCC;}
</style>
</head>
<body>
<script type="text/javascript">
var em=document.createElement("p");
em.className="message";
var textNode=document.createTextNode("I love javascript");
em.style.color="blue";
em.appendChild(textNode);
document.body.appendChild(em);
</script>
</body>
</html>