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
Package Management Learnings from Homebrew
mikemcquaid
0
210
CSC307 Lecture 04
javiergs
PRO
0
660
Basic Architectures
denyspoltorak
0
670
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Fragmented Architectures
denyspoltorak
0
150
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
Architectural Extensions
denyspoltorak
0
280
Featured
See All Featured
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
92
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
How to Think Like a Performance Engineer
csswizardry
28
2.4k
Side Projects
sachag
455
43k
Bash Introduction
62gerente
615
210k
Tell your own story through comics
letsgokoyo
1
810
Raft: Consensus for Rubyists
vanstee
141
7.3k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
170
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Ruling the World: When Life Gets Gamed
codingconduct
0
140
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
640
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