Upgrade to Pro — share decks privately, control downloads, hide ads and more …

滾動的CSS

Shouko
October 24, 2014

 滾動的CSS

台大開源社社課 基礎網頁設計

Shouko

October 24, 2014
Tweet

More Decks by Shouko

Other Decks in Technology

Transcript

  1. NTUOSC Notice    Fall 2013   

     R02725021  R02725046     
  2. HTML HyperText Markup Language ¯Ù tags start tag / close

    tag l~ attributes <p class=”important”>This is a paragraph </p> Start tag Attribute Close tag Value Content Element
  3. ï ĞúHello World! <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">

    <title>Web Design</title> </head> <body> <p>Hello World!</p> </body> </html>
  4. <html> </html> <head> </head> <body> </body> <link rel="stylesheet" href="style.css"> <script

    src="javascript.js"></script> <meta charset="UTF-8"> <title>Web Design</title>
  5. Block-level Element <div> element 中 <p> <h1>~<h6> <hr> , <br>

    <form> <ul> 中•.•.•... , <ol> 中1.2.3.. <li> <ul> <ol>
  6. Inline-level Element <span> inline element <a> 不 <img> <button> ,

    <input> <em> , <code> code, <i> <a href=”http://google.com” target=”_blank”> <img src="http://joung.im.ntu.edu.tw/images/bcc-logo.gif" alt=" 三">
  7. Where is CSS? Internal style sheet ³nQÈb½É `$<~6b½ <head> <style>

    hr { color: sienna; } p { margin-left: 20px; } body { background-image: url("images/back40.gif"); } </style> </head>
  8. Where is CSS? External style sheet 9³nQÈ.cssoÉ `$<~6b½Æpµ©Å <head> <link

    rel="stylesheet" type="text/css" href="mystyle.css"> </head>
  9. Where is CSS? y 3¿£ ‹g +By 3Dn ¡u«vÊ reset.css

    G+By 3nQsº normalize.css G+By 3nQ