introduction to html and css
play

Introduction to HTML and CSS Dennis Schwartz - PowerPoint PPT Presentation

Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Introduction to HTML and CSS Dennis Schwartz Anita-Borg-Celebration JS Workshop TUM Munich March 2016 Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Reminder


  1. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Introduction to HTML and CSS Dennis Schwartz Anita-Borg-Celebration JS Workshop TUM Munich March 2016

  2. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Reminder anita-borg-celebration-munich.biojs.net/materials

  3. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf HTML Hypertext Markup Language

  4. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf

  5. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html>

  6. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body>

  7. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body> <title> <link>

  8. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body> <title> <link> <div> <img>

  9. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body> <title> <link> <div> <img> <div> <p> <h1>

  10. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body> <title> <link> <div> <img> <div> <p> <h1> … … …

  11. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf <html> <head> <body> <title> <link> <div> <img> <div> <p> <h1> … … …

  12. <html> <head> <body> <title> <link> <div> <img> <div> <p> <h1> … … … @dschwartz_pf Anita-Borg-Celebration 2016 Dennis Schwartz

  13. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Document Object Model (DOM) … … … <h1> <p> <div> <img> <div> <link> <title> <body> <head> <html>

  14. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Let’s code!

  15. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf CSS Cascading Style Sheets

  16. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf CSS Cascading Style Sheets Making it look pretty!

  17. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Demo

  18. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf CSS Files

  19. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf CSS Files body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; } img { margin: auto; width: 50%; border: 3px solid #73AD21; padding: 30px; }

  20. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Selector Types p { Element Selectors color: red; } #answer { Id Selectors color: red; } .red-text { Class Selectors color: red; }

  21. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Element Selectors HTML CSS

  22. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Element Selectors HTML CSS <p>What is the meaning of life and everything?</p> … … <p>The answer is 42!</p>

  23. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Element Selectors HTML CSS <p>What is the meaning of life and everything?</p> … … <p>The answer is 42!</p> What is the meaning of life 
 and everything? The answer is 42!

  24. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Element Selectors HTML CSS p { <p>What is the meaning of life and color: red; everything?</p> } … … <p>The answer is 42!</p> What is the meaning of life 
 and everything? The answer is 42!

  25. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Element Selectors HTML CSS p { <p>What is the meaning of life and color: red; everything?</p> } … … <p>The answer is 42!</p> What is the meaning of life 
 and everything? The answer is 42!

  26. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Id Selectors HTML CSS

  27. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Id Selectors HTML CSS <p>What is the meaning of life and everything?</p> … … <p id=“answer”>The answer is 42!</p> What is the meaning of life 
 and everything? The answer is 42!

  28. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Id Selectors HTML CSS #answer { <p>What is the meaning of life and color: red; everything?</p> } … … <p id=“answer”>The answer is 42!</p> What is the meaning of life 
 and everything? The answer is 42!

  29. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Id Selectors HTML CSS #answer { <p>What is the meaning of life and color: red; everything?</p> } … … <p id=“answer”>The answer is 42!</p> <h4>Says who?</h4> What is the meaning of life 
 and everything? The answer is 42! Says who?

  30. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Class Selectors HTML CSS

  31. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Class Selectors HTML CSS <p>What is the meaning of life and everything?</p> … … <p class=“red-text”>The answer is 42!</p> <h4 class=“red-text”>Says who?</h4> What is the meaning of life 
 and everything? The answer is 42! Says who?

  32. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Class Selectors HTML CSS .red-text { <p>What is the meaning of life and color: red; everything?</p> } … … <p class=“red-text”>The answer is 42!</p> <h4 class=“red-text”>Says who?</h4> What is the meaning of life 
 and everything? The answer is 42! Says who?

  33. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Let’s code!

  34. Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf Next up: JavaScript

Recommend


More recommend