Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
HTML & Bootstrap
Search
Jeremy Yen
October 22, 2013
Technology
0
220
HTML & Bootstrap
Tutorial In Action
Jeremy Yen
October 22, 2013
Tweet
Share
More Decks by Jeremy Yen
See All by Jeremy Yen
dEXonation
jeremy5189
0
110
A day of full stack developer @ NFU
jeremy5189
0
210
Club Mate and Hacker - 34C3 @ SITCON
jeremy5189
2
700
SITCON 2017 論壇系統開發分享 @ SITCON 2017 Summer
jeremy5189
0
220
poManeuver: Poland into space
jeremy5189
0
430
How we hacked a forum
jeremy5189
0
460
Bdecisive - Booking.com Taipei Hack 2nd Prize
jeremy5189
0
560
Social Intelligence Smart-device project
jeremy5189
0
62
IoT made easy @ SITCON x HK
jeremy5189
0
100
Other Decks in Technology
See All in Technology
Iceberg Meetup Japan #1 : Iceberg and Databricks
databricksjapan
0
360
クラウド関連のインシデントケースを収集して見えてきたもの
lhazy
5
510
日経のデータベース事業とElasticsearch
hinatades
PRO
0
230
Raycast Favorites × Script Command で実現するお手軽情報チェック
smasato
1
150
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
17
45k
AIエージェント入門
minorun365
PRO
31
17k
Snowflakeの開発・運用コストをApache Icebergで効率化しよう!~機能と活用例のご紹介~
sagara
1
430
サイト信頼性エンジニアリングとAmazon Web Services / SRE and AWS
ymotongpoo
7
1.5k
大規模アジャイルフレームワークから学ぶエンジニアマネジメントの本質
staka121
PRO
3
1.1k
Change Managerを活用して本番環境へのセキュアなGUIアクセスを統制する / Control Secure GUI Access to the Production Environment with Change Manager
yuj1osm
0
100
クラウドサービス事業者におけるOSS
tagomoris
4
1k
【内製開発Summit 2025】イオンスマートテクノロジーの内製化組織の作り方/In-house-development-summit-AST
aeonpeople
2
620
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Documentation Writing (for coders)
carmenintech
67
4.6k
We Have a Design System, Now What?
morganepeng
51
7.4k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.6k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Into the Great Unknown - MozCon
thekraken
35
1.6k
A designer walks into a library…
pauljervisheath
205
24k
Transcript
HTML & Bootstrap Tutorial In Action NTUST Jeremy Yen
HTML REVIEW http://office.ntustsg.com/bootstrap.zip 2
基本⾴頁⾯面 <!DOCTYPE html> <html> <head> ! <title>頁面標題</title> ! <meta http-equiv="content-type"
content="text/ html;charset=utf-8" /> </head> <body> ! <!-- 頁面內容 --> </body> </html> 3
連結 <a href="連結位置" title="滑鼠小提示文 字" target="_blank">顯示文字</a> 加入 target="_blank" 會使連結在新視窗 開啟
4
圖⽚片 <img src="圖片位置" alt="圖片說明" title="滑鼠小提示文字"/> 5
可點選的圖⽚片 <a href="http:/ /www.google.com"> ! <img src="google.png"> </a> 6
標題 <h1>標題</h1> <h2>標題</h2> <h3>標題</h3> <h4>標題</h4> 數字越大字型越小 7
⽂文件結構 <p>文章段落</p> <div>分區標籤</div> <span>小分區標籤</span> <br/> 換行 <hr/> 水平線 8
⽂文字樣式 <strong>粗體</strong> <i>斜體</i> <del>刪除線</del> 9
列表 <ul> ! <li>項目</li> ! <li>項目</li> </ul> 10
表單 <form method="POST" action=""> ! <legend>標題</legend> ! <input type="text" value="輸入值">
! <select> ! ! <option value="">下拉選單</option> ! </select> ! <button>按鈕</button> </form> 11
ID / Class <a href="連結位置" id="link" class= "link">顯示文字</a> 同 ID
在同一個頁面只能出現一個 12
ID 選擇器 <style> ! #link { ! ! color: red;
! } </style> 13
Class 選擇器 <style> ! .link { ! ! color: red;
! } </style> 14
Try It 在⼀一個⾴頁⾯面中隨便加⼊入上述元素 15
Twitter Bootstrap 開放的 CSS 樣式資源庫 16
使⽤用⽅方法 <link href="bootstrap.css" rel="stylesheet"> 17
⾺馬上⽣生效 18
運作原理 將你的 HTML 加⼊入特定 class 後,Bootstrap CSS 會 ⾃自動套⽤用樣式上去 19
參考 • 官⽅方⽂文件與範例 • http://getbootstrap.com/2.3.2/base-css.html • COSCUP 2012 簡報 •
https://speakerdeck.com/evenwu/twitter- bootstrap-hao-yong-de-wang-ye-she-ji- kuang-jia-1 20
⾺馬上動⼿手 ⾄至參考網站複製 HTML 並編輯教材裡的 index.htm 21