SlideShare ist ein Scribd-Unternehmen logo
1 von 10
Hammersmith Fundamentals

     HTML fundamentals
Technology
•   Editor
•   Webserver
•   Browser
•   Paths & URLs
Separate content and layout
• HTML, CSS, JS
HTML
• H1 – H6
  – <h1>big text</h1>
• P
  – <p>some text</p>
• Br
  – <br />
• Strong and emphasis
  – <strong>bold</strong>, <em>italics</em>
• Div
  – <div>blah blah</div>
Lists
• OL – numbered lists     <ol><li>item1</li>
                          <li>item2</li>
                          </ol>



• UL – bullet lists       <ul><li>item1</li>
                          <li>item2</li>
                          </ul>




• LI – list item
Links & Images
• A
  – <a href=“”>text</a>
• Img
  – <img src=“” alt=“” />
Box Model




http://www.w3.org/TR/CSS2/box.html
ID’s & Class
                          <html>

• ID => #
                          <head>
                           <style>
                            div {
                              background: #444;
  – Open per page           }
                              color: white;


• Class => .                div.padded {
                              padding-top: 10px;
                              padding-right: 0px;
  – Multiple per page         padding-bottom: 0.25in;
                              padding-left: 5em;
                            }
                           </style>
                          </head>
                          <body>
                           <div>
                            No padding (but some style added)
                           </div>
                           <br>
                           <div class="padded">
                            Padded<br>
                            Top: 10px; bottom: 0px<br>
                            Left: 5em; right: 0px
                           </div>
                          </body>
                          </html>
Exercise
  1. Simple web page        2. Add styles
• H1 and couple        • Float text left
  paragraphs           • Add styles
• Add picture            – boarders, margin,
                           sizes, classes
Resources
• Code Academy
• Wikipedia
• Mozilla Developer Network

• NOT W3Cschools

Weitere ähnliche Inhalte

Was ist angesagt?

快速开发Css
快速开发Css快速开发Css
快速开发Css
tbmallf2e
 
Steve Barman - CSS and WordPress
Steve Barman - CSS and WordPressSteve Barman - CSS and WordPress
Steve Barman - CSS and WordPress
Anthony Montalbano
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
eShikshak
 

Was ist angesagt? (20)

快速开发Css
快速开发Css快速开发Css
快速开发Css
 
Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3Design for Developers: Introduction to Bootstrap 3
Design for Developers: Introduction to Bootstrap 3
 
CSS Frameworks
CSS FrameworksCSS Frameworks
CSS Frameworks
 
Psd 2 Drupal
Psd 2 DrupalPsd 2 Drupal
Psd 2 Drupal
 
Steve Barman - CSS and WordPress
Steve Barman - CSS and WordPressSteve Barman - CSS and WordPress
Steve Barman - CSS and WordPress
 
How to dominate a free theme WCTO 2014
How to dominate a free theme WCTO 2014How to dominate a free theme WCTO 2014
How to dominate a free theme WCTO 2014
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Front end-design and best practices
Front end-design and best practicesFront end-design and best practices
Front end-design and best practices
 
Web
WebWeb
Web
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
Drupal - Introduction to Drupal Template Design
Drupal - Introduction to Drupal Template DesignDrupal - Introduction to Drupal Template Design
Drupal - Introduction to Drupal Template Design
 
An Introduction to CSS Frameworks
An Introduction to CSS FrameworksAn Introduction to CSS Frameworks
An Introduction to CSS Frameworks
 
SMACSS Workshop
SMACSS WorkshopSMACSS Workshop
SMACSS Workshop
 
Front End Web Development Basics
Front End Web Development BasicsFront End Web Development Basics
Front End Web Development Basics
 
Css
CssCss
Css
 
Introduction to css
Introduction to cssIntroduction to css
Introduction to css
 
Comparisons of web languages
Comparisons of web languagesComparisons of web languages
Comparisons of web languages
 
Css home
Css   homeCss   home
Css home
 
Bootstrap Workout 2015
Bootstrap Workout 2015Bootstrap Workout 2015
Bootstrap Workout 2015
 
Basic web designing 2
Basic web designing 2Basic web designing 2
Basic web designing 2
 

Andere mochten auch (9)

Iesaf careers
Iesaf careersIesaf careers
Iesaf careers
 
Introduction to pitching
Introduction to pitchingIntroduction to pitching
Introduction to pitching
 
Gtm intro
Gtm introGtm intro
Gtm intro
 
PyConFI - dostuff()
PyConFI - dostuff()PyConFI - dostuff()
PyConFI - dostuff()
 
Startup sauna and_aaltovg_v3
Startup sauna and_aaltovg_v3Startup sauna and_aaltovg_v3
Startup sauna and_aaltovg_v3
 
TEDxAalto_ts2leweb
TEDxAalto_ts2lewebTEDxAalto_ts2leweb
TEDxAalto_ts2leweb
 
Unconference rules
Unconference rulesUnconference rules
Unconference rules
 
Introduction to pitching
Introduction to pitchingIntroduction to pitching
Introduction to pitching
 
How to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your NicheHow to Become a Thought Leader in Your Niche
How to Become a Thought Leader in Your Niche
 

Ähnlich wie Hammersmith fundamentals html fundamentals

Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01
Likitha47
 
Css for Development
Css for DevelopmentCss for Development
Css for Development
tsengsite
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
Amanda Case
 

Ähnlich wie Hammersmith fundamentals html fundamentals (20)

Advanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & EfficiencyAdvanced CSS Troubleshooting & Efficiency
Advanced CSS Troubleshooting & Efficiency
 
Advanced CSS Troubleshooting
Advanced CSS TroubleshootingAdvanced CSS Troubleshooting
Advanced CSS Troubleshooting
 
HTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - IHTML(5) and CSS(3) for beginners - I
HTML(5) and CSS(3) for beginners - I
 
Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01Howcssworks 100207024009-phpapp01
Howcssworks 100207024009-phpapp01
 
HTML5 & CSS3 Flag
HTML5 & CSS3 FlagHTML5 & CSS3 Flag
HTML5 & CSS3 Flag
 
Lecture 2 - HTML Basics
Lecture 2 - HTML BasicsLecture 2 - HTML Basics
Lecture 2 - HTML Basics
 
Html and-css
Html and-cssHtml and-css
Html and-css
 
Html and-css
Html and-cssHtml and-css
Html and-css
 
css v1 guru
css v1 gurucss v1 guru
css v1 guru
 
Modular HTML & CSS
Modular HTML & CSSModular HTML & CSS
Modular HTML & CSS
 
Source Ordered Templates - - Joomla!Days NL 2009 #jd09nl
Source Ordered Templates - - Joomla!Days NL 2009 #jd09nlSource Ordered Templates - - Joomla!Days NL 2009 #jd09nl
Source Ordered Templates - - Joomla!Days NL 2009 #jd09nl
 
Web 102 INtro to CSS
Web 102  INtro to CSSWeb 102  INtro to CSS
Web 102 INtro to CSS
 
HTML News Packages Lesson
HTML News Packages LessonHTML News Packages Lesson
HTML News Packages Lesson
 
Web 101 intro to html
Web 101  intro to htmlWeb 101  intro to html
Web 101 intro to html
 
Css for Development
Css for DevelopmentCss for Development
Css for Development
 
LIS3353 SP12 Week 4
LIS3353 SP12 Week 4LIS3353 SP12 Week 4
LIS3353 SP12 Week 4
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Future-proof styling in Drupal (8)
Future-proof styling in Drupal (8)Future-proof styling in Drupal (8)
Future-proof styling in Drupal (8)
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSSObject-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
Object-Oriented CSS 從 OOCSS, SMACSS, BEM 到 AMCSS
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Hammersmith fundamentals html fundamentals

  • 1. Hammersmith Fundamentals HTML fundamentals
  • 2. Technology • Editor • Webserver • Browser • Paths & URLs
  • 3. Separate content and layout • HTML, CSS, JS
  • 4. HTML • H1 – H6 – <h1>big text</h1> • P – <p>some text</p> • Br – <br /> • Strong and emphasis – <strong>bold</strong>, <em>italics</em> • Div – <div>blah blah</div>
  • 5. Lists • OL – numbered lists <ol><li>item1</li> <li>item2</li> </ol> • UL – bullet lists <ul><li>item1</li> <li>item2</li> </ul> • LI – list item
  • 6. Links & Images • A – <a href=“”>text</a> • Img – <img src=“” alt=“” />
  • 8. ID’s & Class <html> • ID => # <head> <style> div { background: #444; – Open per page } color: white; • Class => . div.padded { padding-top: 10px; padding-right: 0px; – Multiple per page padding-bottom: 0.25in; padding-left: 5em; } </style> </head> <body> <div> No padding (but some style added) </div> <br> <div class="padded"> Padded<br> Top: 10px; bottom: 0px<br> Left: 5em; right: 0px </div> </body> </html>
  • 9. Exercise 1. Simple web page 2. Add styles • H1 and couple • Float text left paragraphs • Add styles • Add picture – boarders, margin, sizes, classes
  • 10. Resources • Code Academy • Wikipedia • Mozilla Developer Network • NOT W3Cschools