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
Intro to HTML
Search
lumilux
April 03, 2012
Programming
2
240
Intro to HTML
lumilux
April 03, 2012
Tweet
Share
Other Decks in Programming
See All in Programming
Can AI Take Over Frontend QA? - Navigating the Paradigm Shift: A Developer's Mindset for the Future - #layerx_frontend
teyamagu
PRO
6
2.2k
そのpreloadは必要?見過ごされたpreloadが技術的負債として爆発した日
mugitti9
2
1.6k
検索機能リプレイスを4ヶ月→2ヶ月に! AI Agentで実現した2倍速リプレイス
fuuki12
4
780
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
0
240
TokyoR#119 bignners session2 Visualization
kotatyamtema
0
110
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
670
実践AIチャットボットUI実装入門
syumai
7
2.2k
チームのテスト力を鍛える
goyoki
4
1.2k
Conquering Massive Traffic Spikes in Ruby Applications with Pitchfork
riseshia
0
110
麻雀点数計算問題生成タスクから学ぶ Single Agentの限界と Agentic Workflowの底力
po3rin
5
1.9k
フロントエンド開発に役立つクライアントプログラム共通のノウハウ / Universal client-side programming best practices for frontend development
nrslib
7
3.7k
大規模アプリにおけるXcode Previews実用化までの道のり
ikesyo
0
840
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Embracing the Ebb and Flow
colly
87
4.8k
Balancing Empowerment & Direction
lara
4
660
Practical Orchestrator
shlominoach
190
11k
The World Runs on Bad Software
bkeepers
PRO
71
11k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Scaling GitHub
holman
463
140k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Documentation Writing (for coders)
carmenintech
75
5k
Six Lessons from altMBA
skipperchong
28
4k
Transcript
INTRO TO HTML HANS HYTTINEN
<h1>Witty Headline</h1> <p>The quick brown fox jumps over the lazy
dog.</p>
HYPERTEXT MARKUP LANGUAGE semantics & structure design & presentation ✓
✘
WHY SEMANTICS? Humans can infer structure and meaning. Browsers need
some help.
AN HTML DOCUMENT ...is just text that has been marked
up. ...is usually saved as a .html file. ...is what your browser was made for.
<h1>Witty Headline</h1> <p>The quick brown fox jumps over the lazy
dog.</p> HEADING LEVEL ONE PARAGRAPH
<h1>Witty Headline</h1> OPENING TAG ELEMENT CONTENT CLOSING TAG
<h1 id=“best” class=“witty”> Witty Headline</h1> VALUES ATTRIBUTES
<a href=“http://adicu.com”>ADI</a> LINK (ANCHOR) <img src=“http://adicu.com/images/ adi-logo.png” alt=“logo” /> IMAGE
COMMON ELEMENTS <a> <em> <abbr> <p> <ol> <ul> <div> grouping
<h1> <header> <footer> <section> <article> phrasing sectioning
ELEMENT TYPES http://j.mp/html5-tags
<header><h1>My Blog</h1></header> <section> <article> <h2>First post!</h2> <p>This is my <em>very</em>
first post.</p> <p>I hope you like it!</p> </article> </section> <footer><p>By Joe Smith</p></footer>
WHAT YOU NEED <!doctype html> <html> <head> <title>Your page title</title>
</head> <body> <p>Your stuff goes in the body!</p> </body> </html>
MORE EXAMPLES
ORDERED LISTS <ol> <li>Open file</li> <li>Edit file</li> <li>Save file</li> <li>Close
app</li> </ol> 1.Open file 2.Edit file 3.Save file 4.Close app
UNORDERED LISTS <ul> <li>Eggs</li> <li>Bread</li> <li>Milk</li> <li>Saffron</li> </ul> •Eggs •Bread
•Milk •Saffron
TEXT SEMANTICS <p> <em>Emphasized</em>, <strong>Strongly emphasized</strong> </p> Emphasized, Strongly emphasized
TEXT NON-SEMANTICS <p> RMS <i>Titanic</i>. This is a<br> <b>keyword</b>. </p>
RMS Titanic. This is a keyword. SPECIAL CASES ONLY!
HTML RESOURCES codecademy.com/courses/html-one-o-one developer.mozilla.org/en/HTML w3.org validator.w3.org wiki.adicu.com
OTHER PEOPLE’S HTML
Chrome and Firefox: ⌥ ⌘ i Ctrl ⇧ i DEVELOPER
TOOLS Right click → View Page Source RAW PAGE SOURCE
MY PAGE IS STILL UGLY HTML defines structure. Intro to
CSS: next week CSS defines presentation!
adicu.com j.mp/intro-to-html THESE SLIDES