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
gunshi
kazupon
1
140
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
Grafana:建立系統全知視角的捷徑
blueswen
0
280
CSC307 Lecture 05
javiergs
PRO
0
470
20251212 AI 時代的 Legacy Code 營救術 2025 WebConf
mouson
0
250
JETLS.jl ─ A New Language Server for Julia
abap34
2
480
Findy AI+の開発、運用におけるMCP活用事例
starfish719
0
2.1k
生成AI時代を勝ち抜くエンジニア組織マネジメント
coconala_engineer
0
39k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
160
AgentCoreとHuman in the Loop
har1101
4
160
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
150
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
340
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
34
9.1k
Agile that works and the tools we love
rasmusluckow
331
21k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
36
Faster Mobile Websites
deanohume
310
31k
Facilitating Awesome Meetings
lara
57
6.7k
HDC tutorial
michielstock
1
320
Producing Creativity
orderedlist
PRO
348
40k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Leo the Paperboy
mayatellez
3
1.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
99
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
290
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