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
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Mastering Event Sourcing: Your Parents Holidayed in Yugoslavia
super_marek
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.3k
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
330
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
130
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.3k
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
110
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
6
1.1k
20260315 AWSなんもわからん🥲
chiilog
2
180
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
810
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
へんな働き方
yusukebe
6
2.9k
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
290
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
190
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
170
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
The Limits of Empathy - UXLibs8
cassininazir
1
280
Making Projects Easy
brettharned
120
6.6k
WENDY [Excerpt]
tessaabrams
9
37k
Crafting Experiences
bethany
1
100
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
110
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
140
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