在codecademy学习的第一个index.html

<!DOCTYPE html>
<head>
<style>
body{
    text-align: center;
    background: url("http://images.takungpao.com/2013/0506/20130506100134584.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: red;
    font-family: Helvetica;
}
p{
    font-size: 24px;
}
input{
    border: 0;
    padding: 12px;
    font-size: 18px;
    }
input[type="submit"]{
    background: limegreen;
    color: black;
    border: o;
    }
</style>
</head>
<body>
<!-- I'm a comment. You won't actually see me on the web page.
     You should write your header in the line below me! -->
<h1>xuyss</h1>
<p>Hi! This is my first code learning in codecademy.</p>
<input type="email" placeholder="Your email">
<input type="submit">
</body>

你可能感兴趣的:(html,Codecademy)