码迷,mamicode.com
首页 > Web开发 > 详细

Head FIRST HTML & CSS 16/3/11

时间:2016-03-11 23:53:35      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:

<html>
    <head>
        <title>EdsonLin</title>
      <style type="text/css">
          body{
              background-color:#d2b48c;
              margin-left: 20%;   
              margin-right: 20%;
              border: 2px dotted black;
              padding: 10px 10px 10px 10px;
              font-family:sans-serif; 
          }
      </style>
    </head>
    <body>
        <img src="image/curry.jpg">
        <h1>EdsonLin‘s first html file.</h1>
        
        <h2>天气</h2>
        <p id="天气">有点冷<a href="weather/weather.html">Weather</a></p>
        <h2>时间</h2>
        <p><time>19:39</time></p>
        <img src="image/cool.jpg">
        <p>
            <q><strong>千里之行始于足下</strong></q>
        </p>
        <strong>
            书单:
        </strong>
        <ul>
            <li>C primer</li>
            <li>C primer plus</li>
            <li>Head first python></li>
            <li>Head first html &css></li>
            <li>算法导论</li>
        </ul>
        <code>
            #include &lt;iostream&gt<br><br>
            using namespace std;<br>
            int main(){<br>
            &nbsp;&nbsp;&nbsp;&nbsp;cout&lt;&lt;"HelloWorld";<br>
            &nbsp;&nbsp;&nbsp;&nbsp;return 0;<br>
            }<br>
                            

        </code>
        <p>
            &copy;2016 EdsonLin
        </p>
    </body>
</html>
联元素 块元素 void元素
q h1 h2 h3 br
time p img <img scr=“ ../”>
a <a href="../"> blockquote  
  ul  
  ol  
  li  
  code  strong         

                                                      <元素表>       

 

                                                                        

Head FIRST HTML & CSS 16/3/11

标签:

原文地址:http://www.cnblogs.com/EdsonLin/p/5267493.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!