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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
lumilux
April 03, 2012
Programming
240
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Intro to HTML
lumilux
April 03, 2012
Other Decks in Programming
See All in Programming
自分的「カンファレンスの楽しみ方」
syumai
0
120
ハーネス設計入門 〜プロンプト、コンテキストの次〜
kinopeee
46
29k
Cloudflare is Agents
chimame
0
190
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
120
Deep dive into the select statement (GopherCon UK)
jespino
0
160
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
Hello, Hiroshima Geospatial Data! — Exploring DoboX with Python
ra0kley
0
130
T3DD26: From RAGs to Riches
martinhelmich
0
120
生成AIで帳票OCRが「簡単に」作れる時代になった?
kon_shou
0
1.2k
Detecting Compromised CI with eBPF and Cilium Tetragon
lizrice
0
280
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
400
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
570
Featured
See All Featured
Building Applications with DynamoDB
mza
96
7.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
Everyday Curiosity
cassininazir
0
300
Writing Fast Ruby
sferik
630
63k
It's Worth the Effort
3n
188
29k
Paper Plane
katiecoart
PRO
2
53k
Utilizing Notion as your number one productivity tool
mfonobong
4
560
Building the Perfect Custom Keyboard
takai
2
860
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
400
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