Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
HTML & Bootstrap
Search
Jeremy Yen
October 22, 2013
Technology
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HTML & Bootstrap
Tutorial In Action
Jeremy Yen
October 22, 2013
More Decks by Jeremy Yen
See All by Jeremy Yen
dEXonation
jeremy5189
0
130
A day of full stack developer @ NFU
jeremy5189
0
220
Club Mate and Hacker - 34C3 @ SITCON
jeremy5189
2
750
SITCON 2017 論壇系統開發分享 @ SITCON 2017 Summer
jeremy5189
0
240
poManeuver: Poland into space
jeremy5189
0
490
How we hacked a forum
jeremy5189
0
530
Bdecisive - Booking.com Taipei Hack 2nd Prize
jeremy5189
0
600
Social Intelligence Smart-device project
jeremy5189
0
72
IoT made easy @ SITCON x HK
jeremy5189
0
110
Other Decks in Technology
See All in Technology
The seven pitfalls of AI (revised version)
ufried
0
310
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
270
スキルを作る、その前に!複数人で使われるスキルを 作るためのプロセス
junkifurukawa
2
370
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
120
SDDの運用にめげずに向き合った話
sansantech
PRO
1
140
Cognition AI Japan - ウェビナー2_テストQA_運用監視
cogakira
0
120
予測不能な実行エージェントを安全にサクッと試せるサンドボックス環境の話
sansantech
PRO
0
140
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
660
AI時代だからこそ推したい!Gitコマンド再入門
munakata
0
160
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
560
実体験から学ぶ分析エージェントの開発と運⽤
recruitengineers
PRO
8
1.9k
子育てエンジニアの可処分時間が減っても成長を諦めない戦い方
sudoakiy
6
4.3k
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Tell your own story through comics
letsgokoyo
1
1.1k
Building Adaptive Systems
keathley
44
3.2k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
530
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Visualization
eitanlees
153
17k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
300
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