首页 > 代码库 > js输出个人信息

js输出个人信息

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
    <title>网页标题</title>
    <meta name="keywords" content="关键字列表" />
    <meta name="description" content="网页描述" />
    <link rel="stylesheet" type="text/css" href="" />
    <style type="text/css"></style>
    <script type="text/javascript">
    document.write("<h2>个人信息表</h2>");
    document.write("<ol>");
    document.write("<li>姓名:悟空</li>");
    document.write("<li>职业:打妖怪</li>");
    document.write("<li>技能:72变</li>");
    document.write("<li>师傅:唐僧</li>");
    document.write("<li>年龄:再活五百年</li>");
    document.write("</ol>");    
    </script>
</head>
<body>
 
</body>
</html>

技术分享

js输出个人信息