zoukankan      html  css  js  c++  java
  • json

    JS:
    [{
    "squadName" : "Super hero squad",
    "homeTown" : "Metro City",
    "formed" : 2016,
    "secretBase" : "Super tower",
    "active" : true,
    "members" : [
    {
    "name" : "Molecule Man",
    "age" : 29,
    "secretIdentity" : "Dan Jukes",
    "powers" : [
    "Radiation resistance",
    "Turning tiny",
    "Radiation blast"
    ]
    },
    {
    "name" : "Madame Uppercut",
    "age" : 39,
    "secretIdentity" : "Jane Wilson",
    "powers" : [
    "Million tonne punch",
    "Damage resistance",
    "Superhuman reflexes"
    ]
    },
    {
    "name" : "Eternal Flame",
    "age" : 1000000,
    "secretIdentity" : "Unknown",
    "powers" : [
    "Immortality",
    "Heat Immunity",
    "Inferno",
    "Teleportation",
    "Interdimensional travel"
    ]
    }
    ]
    }]
     
    HTML:
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
    </head>
    <body>
     

    <script>
    var header = document.querySelector('header');
    var section = document.querySelector('section');
    </script>
    <
    </body>
    </html>
  • 相关阅读:
    android kl文件
    ELF文件结构描述
    jquery开头
    win7无声音显示“未插入扬声器或耳机” 怎么解决
    xhtml头文件设置
    break和continue的区别
    php目录函数
    mysql语法
    php中怎么导入自己写的类
    截取文件后缀名
  • 原文地址:https://www.cnblogs.com/jsunny/p/10022072.html
Copyright © 2011-2022 走看看