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
Search
Ryan Krug
January 18, 2012
Programming
600
10
Share
HTML
Using semantic markup
Ryan Krug
January 18, 2012
Other Decks in Programming
See All in Programming
The Less-Told Story of Socket Timeouts
coe401_
3
1.1k
How We Benchmarked Quarkus: Patterns and anti-patterns
hollycummins
1
180
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.1k
2026年のソフトウェア開発を考える(2026/05版) / Software Engineering Scrum Fest Niigata 2026 Edition
twada
PRO
22
12k
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
770
Making the RBS Parser Faster
soutaro
0
680
[RubyKaigi 2026] Require Hooks
palkan
1
300
AgentCore Optimizationを始めよう!
licux
3
230
20260514_its_the_context_window_stupid.pdf
heita
0
830
My daily life on Ruby
a_matsuda
3
200
Building on Bluesky's AT Protocol with Ruby
mackuba
0
110
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Agile that works and the tools we love
rasmusluckow
331
21k
GraphQLとの向き合い方2022年版
quramy
50
15k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.4k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
190
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
350
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
130
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Designing for Performance
lara
611
70k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
Transcript
HTML Using semantic markup
What are we here for?
User Interfaces Content Presentation Behavior
User Interfaces Content: HTML Presentation: CSS Behavior: Javascript
1996 2002 2005 html css javascript
Why? Accessible Portable Maintainable
Why? Accessible: SEO Portable: Different Devices Maintainable: Client Edits
http://foodsense.is/ Example
HTML defines content & structure
HTML is not a programming language But it is a
formatting language
Content informs the formatting. Based on meaning rather than look.
<em>text</em> vs <i>text</i> <strong>text</strong> vs <b>text</b>
Bad Tags b bold text big makes text slightly larger
center centers text font specifies size, color, and typeface i italic text small makes text slightly smaller strike strike-through text u underline text
HTML first > Semantic markup CSS After > Presentation
HTML Boilerplate <!doctype html> <html> <head> <title>My Title</title> </head> <body>
<!-- content here --> </body> </html>
<tagname attribute=“value”> content </tagname> <p class=“demotext”> I’m <em>really</em> sad </p>
Content Tags
<tagname attribute=“value”> <img src=“smile.png”> Empty Content Tags
Tags Headings h1,h2,h3,h4,h5,h6 Paragraphs p Quotes blockquote Lists ol,ul,li,dl,dt,dd Tables
table,tr,th,td Forms form,label,input,textarea,select Text em,strong Images img Links a
Special Characters & & < < > > © ©
® ® ™ ™ – – — — … … ‘ ‘ ’ ’ “ “ ” ”
Demo http://github.com/krug/art304.demos