Skip to content

robert6217/1071-staticWeb_TA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1071-staticWeb_TA

學習網頁的好網站

  1. w3cSchools
  2. codepen
  3. CSS

WEEK01

基本操作cmd指令

  • cd 切換目錄指令
  • ls 查看目錄內檔案
  • mkdir 新增目錄
  • rmdir 刪除目錄

git基本指令

CH5 表格

基本元素

  • <table> : 用來標記表格
  • <tr> : 用來在表個中標示一列(ROW)
  • <td> : 用來在一列中標示儲存格(COL)
  • <th> : 用來在一列中標示標題儲存格,其內容會置中並加上粗體

    表格基本框架

    <table border="1">
      <tr>
        <th>第一欄</th>
        <th>第二攔</th>
       </tr>
      <tr>
        <td>1-1</td>
        <td>1-2</td>
       </tr>
       <tr>
        <td>2-1</td>
        <td>2-2</td>
       </tr>
       <tr>
        <td>3-1</td>
        <td>3-2</td>
      </tr>
    </table>
    
    第一欄 第二欄
    1-1 1-2
    2-1 2-2
    3-1 3-2

表格標題

  • <caption> : 用來指定表格標題

表格的表頭、主體、結尾

  • <thead> : 用來標示表格的表頭
  • <tbody> : 用來標示表格的主體
  • <tfoot> : 用來標示表格的結尾

直欄式表格

  • <colgroup>
  • <col>

WEEK02

CSS

  • background-color, color, width, height, font-size 參考連結

合併儲存格

  • rowspan="n"
  • colspan="n"

WEEK03

  • <header>
  • <aside>
  • <article>
  • <footer>

CSS

  • margin: 25px 50px 75px 100px;
    • top margin is 25px
    • right margin is 50px
    • bottom margin is 75px
    • left margin is 100px
  • margin: 25px 50px 75px;
    • top margin is 25px
    • right and left margins are 50px
    • bottom margin is 75px
  • margin: 25px 50px;
    • top and bottom margins are 25px
    • right and left margins are 50px
  • margin 25px;
    • all four margins are 25px
  • floatcleartext-alignpadding

image

WEEK04

表單

表單基本框架

  • <form>
  • <input>
    • text : 可用於輸入文字,例如: 帳號密碼的框框
    • radio : 可用於單選按鈕輸入
    • checkbox : 可用於多選按鈕輸入
    • submit : 提交表單
    • reset : 重製表單
    • 其餘型態可參考這個網站 : HTML Input Types
  • <select> : 下拉式選單
  • <textarea> : 類似於 <input tpye="text">,可用於輸入大量文字的框框
  • <fieldset><legend> : 組合表單區塊
  • 其餘可參考這個網站 : HTML Forms

WEEK05

CSS

  • list-style : 清單樣式
  • display: : 顯示方式
  • text-indent : 文字第一行縮排
  • line-height : 設定字體範圍高度
  • a:hover : 滑鼠移到連結上時

WEEK06

Flexbox

  • justify-content : 決定了內容元素的「水平對齊」位置。
    • flex-start | flex-end | center | space-between | space-around;
  • flex-direction : 決定了內容元素的「排列方向」。
    • row | row-reverse | column | column-reverse;
  • align-items : 決定了內容元素的「垂直對齊」位置,針對內容為單行的元素進行處理。
    • flex-start | flex-end | center | baseline | stretch;
  • align-self : 作用在於覆寫已經套用 align-items 的屬性。
    • flex-start | flex-end | center | space-between | space-around | stretch;
  • align-content : 針對內容為多行的元素進行處理。
    • flex-start | flex-end | center | space-between | space-around | stretch;
  • flex-wrap : 這個屬性負責的是讓內容的元素換行。
    • nowrap | wrap | wrap-reverse;
  • order : 可以直接指定一個數字來做排序的動作。
  • flex-flow : flex-directionflex-wrap的縮寫。
    • <'flex-direction'> || <'flex-wrap'>

PRACTICE

FROGGY

WEEK07

響應式網頁 : 讓你的畫面更靈活地適應不同設備和螢幕的大小。

WEEK08

響應式網頁實作

WEEK11

WEEK12

  • bootstrap card : Card

About

1071 靜態網頁 1N

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages