SlideShare a Scribd company logo
BACK TO THE BASICS: 
HTML 
November 2014
What we are covering today? 
• Markup Language & DOM, part 1 
• HTML 
• CSS 
• Rehash 
• All presentation layer 
Presentation 
Header 
Status –or– 
Method & URI
Markup Language 
• Annotation-based formatting of a document 
• Annotations exist in a syntactically distinguishable 
manner, separating them from the text. 
SGML/HTML/XML : <html>…</html> 
TEX : $-b pm sqrt{b^2 - 4ac} over 2a$ 
bye 
Scribe : @Heading(The Beginning) 
@Begin(Quotation) 
Let's start at the very beginning. 
@End(Quotation)
DOM, part 1 
• Tree structure of Nodes 
• Hierarchical layout of elements – Boxes inside boxes 
WINDOW 
DOCUMENT 
FORM ANCHOR
HTML 
• Hypertext Markup Language 
• Current Standard: 5 
• HTML 4.01 -> XHTML 1.1 ->HTML 5
HTML 
• Self Terminating Tags: 
<link href=“styles.css” rel=“stylesheet”/> 
• Full Tags: 
<script src=“functions.js” type=“text/javascript”></script>
HTML 
• Anatomy of a Tag 
• Delimiters (<>) 
• Element Type (div) 
• Attributes 
• Attirbute Key 
• Attribute Value 
• Content 
<div class=“named”>content</div>
HTML 
• Basic Document: 
<!doctype html> 
<html> 
<head> 
<title>Title</title> 
</head> 
<body> 
<h1>Title</h1> 
<p>This is a document</p> 
</body> 
</html>
HTML 
• A few basics 
<html> 
<head> 
<body> 
<script> 
<link> 
<meta> 
<style> 
<div> 
<span> 
<p> 
<a> 
<strong> 
<em> 
<u> 
<pre> 
<ul> 
<ol> 
<li> 
<img> 
<hr> 
<h1> 
<h2> 
<h3> 
<h4> 
<h5> 
<h6>
HTML 
• 5 : Elements to support the state of the web 
<article> 
<aside> 
<bdi> 
<details> 
<dialog> 
<figcaption> 
<figure> 
<footer> 
<header> 
<main> 
<mark> 
<menuitem> 
<meter> 
<nav> 
<progress> 
<rp> 
<rt> 
<ruby> 
<section> 
<summary> 
<time> 
<wbr> 
<datalist> 
<keygen> 
<output> 
<canvas> 
<svg> 
<audio> 
<embed> 
<source> 
<track> 
<video>
CSS - Cascading Style Sheets 
• Redefining how the markup language will be displayed 
• Breaking the “Boxes inside boxes” idea & embracing 
layers
CSS 
• Cascading & Hierarchical priority 
• Defined by series of selectors 
tagname 
.classname 
#uniqueid 
[attr=“value”] 
:pseudo-class 
::content-definition 
(filter)
CSS 
• Anatomy of a Definition 
.selector, #another-selector, tag.third-selector#butonlyifhasid { 
Style-attribute: value; 
} 
• Selector 
• Style Definition 
• Attribute seperated from value by colon 
• Ended with semi colon 
• Attributes with predefined values or structured 
definitions
CSS 
• Related to HTML by the selector 
<div class=“classname” id=“element217291”>Content</tagname> 
<span class=“classname”>Content</othertag> 
<p id=“element20140102”>Content</p> 
p, div { color: orange; } 
#element217291 { color: white; } 
.classname { background-color: black; } 
div.classname { text-decoration: underline; }
CSS 
• CSS 3 is current but not fully supported 
• Reset CSS – Making Browsers and Elements Behave 
(a little bit more…) 
http://www.cssreset.com/ 
• Browsers are not created equal 
border-radius: 10px 10px 10px 10px; 
-moz-border-radius: 10px 10px 10px 10px; 
-webkit-border-radius: 10px 10px 10px 10px; 
border: 0px solid #000000;
Rehash 
• Structure 
• Definition 
• Presentation and Interpretation of Content 
• Becomes more important with Javascript
Always the Final Thoughts 
• Stay Informed 
• Experiment 
• Don’t be afraid
Questions? 
tsxcom+slidehare@gmail.com
Next Session 
HTML Forms
Additional Reference 
• Dive into HTML 5: http://diveintohtml5.info/ 
• HTML 5 Test: http://html5test.com/ 
• Markup Validation: http://validator.w3.org/ 
• CSS Zen Garden: http://www.csszengarden.com/ 
• Quirks Mode: http://www.quirksmode.org/css/ 
• CSS Lint: http://csslint.net/
Credits 
• Icons: http://iconmonstr.com/ 
• Wikipedia: 
• DOM: 
http://en.wikipedia.org/wiki/Document_Object_Mod 
el 
• Markup language: 
http://en.wikipedia.org/wiki/Markup_language

More Related Content

What's hot (20)

PPT
Advanced dreamweaver
Sumit Tambe
 
PPTX
CSS introduction
CloudTech 
 
PDF
CSS - OOCSS, SMACSS and more
Russ Weakley
 
PDF
CSS: a rapidly changing world
Russ Weakley
 
PDF
Creative Web 02 - HTML & CSS Basics
Lukas Oppermann
 
PPT
Basic css
Gopinath Ambothi
 
KEY
Lecture2
Lee Lundrigan
 
PPTX
Complete Lecture on Css presentation
Salman Memon
 
PPTX
Introduction to CSS
AursalanSayed
 
PPTX
HTML and CSS
Ketan Ghumatkar
 
PPTX
Css
shinyduela
 
PPT
CSS Introduction
Swati Sharma
 
PPTX
Responsive web design with html5 and css3
Divya Tiwari
 
PPTX
What's a web page made of?
Charlie Allen
 
PPTX
Web topic 15 1 basic css layout
CK Yang
 
PPT
CSS Basics
WordPress Memphis
 
PPTX
Cascading style sheet
Michael Jhon
 
Advanced dreamweaver
Sumit Tambe
 
CSS introduction
CloudTech 
 
CSS - OOCSS, SMACSS and more
Russ Weakley
 
CSS: a rapidly changing world
Russ Weakley
 
Creative Web 02 - HTML & CSS Basics
Lukas Oppermann
 
Basic css
Gopinath Ambothi
 
Lecture2
Lee Lundrigan
 
Complete Lecture on Css presentation
Salman Memon
 
Introduction to CSS
AursalanSayed
 
HTML and CSS
Ketan Ghumatkar
 
CSS Introduction
Swati Sharma
 
Responsive web design with html5 and css3
Divya Tiwari
 
What's a web page made of?
Charlie Allen
 
Web topic 15 1 basic css layout
CK Yang
 
CSS Basics
WordPress Memphis
 
Cascading style sheet
Michael Jhon
 

Viewers also liked (6)

PPTX
Back to the Basics - 1 - Introduction to Web Development
Clint LaForest
 
PPTX
Javascript and Jquery: The connection between
Clint LaForest
 
PPTX
Introduction to JavaScript
Marlon Jamera
 
PPTX
JavaScript Conditional Statements
Marlon Jamera
 
PPTX
Images and Lists in HTML
Marlon Jamera
 
PPTX
Tables and Forms in HTML
Marlon Jamera
 
Back to the Basics - 1 - Introduction to Web Development
Clint LaForest
 
Javascript and Jquery: The connection between
Clint LaForest
 
Introduction to JavaScript
Marlon Jamera
 
JavaScript Conditional Statements
Marlon Jamera
 
Images and Lists in HTML
Marlon Jamera
 
Tables and Forms in HTML
Marlon Jamera
 
Ad

Similar to Back to the Basics - 2 - HTML & CSS (20)

PDF
Html / CSS Presentation
Shawn Calvert
 
PPTX
Web Information Systems Html and css
Artificial Intelligence Institute at UofSC
 
PPTX
html css js bootstrap framework thisis i
ssusered83521
 
PPTX
Workshop 2 Slides.pptx
DaniyalSardar
 
PPTX
Lab#1 - Front End Development
Walid Ashraf
 
PDF
Web Design & Development - Session 2
Shahrzad Peyman
 
PPT
xhtml_css.ppt
fakeaccount225095
 
PDF
Introduction to HTML and CSS
Mario Hernandez
 
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
PDF
HTML and CSS crash course!
Ana Cidre
 
PPTX
Html and css
Samiksha Pun
 
PPT
Basic Knowldege about CSS Prepared for VV softech solution (2).ppt
testvarun21
 
PPTX
UVA MDST 3073 CSS 2012-09-20
Rafael Alvarado
 
PPT
SDP_-_Module_4.ppt
ssuser568d77
 
PDF
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Patrick Lauke
 
PPTX
DHTML
Ravinder Kamboj
 
PDF
Html:css crash course (4:5)
Thinkful
 
PDF
CSS Introduction
Diliara Nasirova
 
PPSX
Html introduction
Dalia Elbadry
 
PDF
Html css crash course may 11th, atlanta
Thinkful
 
Html / CSS Presentation
Shawn Calvert
 
Web Information Systems Html and css
Artificial Intelligence Institute at UofSC
 
html css js bootstrap framework thisis i
ssusered83521
 
Workshop 2 Slides.pptx
DaniyalSardar
 
Lab#1 - Front End Development
Walid Ashraf
 
Web Design & Development - Session 2
Shahrzad Peyman
 
xhtml_css.ppt
fakeaccount225095
 
Introduction to HTML and CSS
Mario Hernandez
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
HTML and CSS crash course!
Ana Cidre
 
Html and css
Samiksha Pun
 
Basic Knowldege about CSS Prepared for VV softech solution (2).ppt
testvarun21
 
UVA MDST 3073 CSS 2012-09-20
Rafael Alvarado
 
SDP_-_Module_4.ppt
ssuser568d77
 
Styling Your Web Pages with Cascading Style Sheets / EDU course / University ...
Patrick Lauke
 
Html:css crash course (4:5)
Thinkful
 
CSS Introduction
Diliara Nasirova
 
Html introduction
Dalia Elbadry
 
Html css crash course may 11th, atlanta
Thinkful
 
Ad

Recently uploaded (20)

PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
July Patch Tuesday
Ivanti
 
Complete JavaScript Notes: From Basics to Advanced Concepts.pdf
haydendavispro
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 

Back to the Basics - 2 - HTML & CSS

  • 1. BACK TO THE BASICS: HTML November 2014
  • 2. What we are covering today? • Markup Language & DOM, part 1 • HTML • CSS • Rehash • All presentation layer Presentation Header Status –or– Method & URI
  • 3. Markup Language • Annotation-based formatting of a document • Annotations exist in a syntactically distinguishable manner, separating them from the text. SGML/HTML/XML : <html>…</html> TEX : $-b pm sqrt{b^2 - 4ac} over 2a$ bye Scribe : @Heading(The Beginning) @Begin(Quotation) Let's start at the very beginning. @End(Quotation)
  • 4. DOM, part 1 • Tree structure of Nodes • Hierarchical layout of elements – Boxes inside boxes WINDOW DOCUMENT FORM ANCHOR
  • 5. HTML • Hypertext Markup Language • Current Standard: 5 • HTML 4.01 -> XHTML 1.1 ->HTML 5
  • 6. HTML • Self Terminating Tags: <link href=“styles.css” rel=“stylesheet”/> • Full Tags: <script src=“functions.js” type=“text/javascript”></script>
  • 7. HTML • Anatomy of a Tag • Delimiters (<>) • Element Type (div) • Attributes • Attirbute Key • Attribute Value • Content <div class=“named”>content</div>
  • 8. HTML • Basic Document: <!doctype html> <html> <head> <title>Title</title> </head> <body> <h1>Title</h1> <p>This is a document</p> </body> </html>
  • 9. HTML • A few basics <html> <head> <body> <script> <link> <meta> <style> <div> <span> <p> <a> <strong> <em> <u> <pre> <ul> <ol> <li> <img> <hr> <h1> <h2> <h3> <h4> <h5> <h6>
  • 10. HTML • 5 : Elements to support the state of the web <article> <aside> <bdi> <details> <dialog> <figcaption> <figure> <footer> <header> <main> <mark> <menuitem> <meter> <nav> <progress> <rp> <rt> <ruby> <section> <summary> <time> <wbr> <datalist> <keygen> <output> <canvas> <svg> <audio> <embed> <source> <track> <video>
  • 11. CSS - Cascading Style Sheets • Redefining how the markup language will be displayed • Breaking the “Boxes inside boxes” idea & embracing layers
  • 12. CSS • Cascading & Hierarchical priority • Defined by series of selectors tagname .classname #uniqueid [attr=“value”] :pseudo-class ::content-definition (filter)
  • 13. CSS • Anatomy of a Definition .selector, #another-selector, tag.third-selector#butonlyifhasid { Style-attribute: value; } • Selector • Style Definition • Attribute seperated from value by colon • Ended with semi colon • Attributes with predefined values or structured definitions
  • 14. CSS • Related to HTML by the selector <div class=“classname” id=“element217291”>Content</tagname> <span class=“classname”>Content</othertag> <p id=“element20140102”>Content</p> p, div { color: orange; } #element217291 { color: white; } .classname { background-color: black; } div.classname { text-decoration: underline; }
  • 15. CSS • CSS 3 is current but not fully supported • Reset CSS – Making Browsers and Elements Behave (a little bit more…) http://www.cssreset.com/ • Browsers are not created equal border-radius: 10px 10px 10px 10px; -moz-border-radius: 10px 10px 10px 10px; -webkit-border-radius: 10px 10px 10px 10px; border: 0px solid #000000;
  • 16. Rehash • Structure • Definition • Presentation and Interpretation of Content • Becomes more important with Javascript
  • 17. Always the Final Thoughts • Stay Informed • Experiment • Don’t be afraid
  • 20. Additional Reference • Dive into HTML 5: http://diveintohtml5.info/ • HTML 5 Test: http://html5test.com/ • Markup Validation: http://validator.w3.org/ • CSS Zen Garden: http://www.csszengarden.com/ • Quirks Mode: http://www.quirksmode.org/css/ • CSS Lint: http://csslint.net/
  • 21. Credits • Icons: http://iconmonstr.com/ • Wikipedia: • DOM: http://en.wikipedia.org/wiki/Document_Object_Mod el • Markup language: http://en.wikipedia.org/wiki/Markup_language