Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf
Introduction to HTML and CSS
Dennis Schwartz
Anita-Borg-Celebration JS Workshop TUM Munich March 2016
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
Dennis Schwartz Anita-Borg-Celebration 2016 @dschwartz_pf
Dennis Schwartz
Anita-Borg-Celebration JS Workshop TUM Munich March 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
anita-borg-celebration-munich.biojs.net/materials
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html>
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body>
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link>
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img>
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img> <div> <h1> <p>
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img> <div> <h1> <p> … … …
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img> <div> <h1> <p> … … …
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img> <div> <h1> <p> … … …
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<html> <head> <body> <title> <link> <div> <img> <div> <h1> <p> … … … Document Object Model (DOM)
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Making it look pretty!
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
body { background-color: #d0e4fe; } h1 { color: orange; text-align: center; } img { margin: auto; width: 50%; border: 3px solid #73AD21; padding: 30px; }
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Element Selectors
p { color: red; }
Id Selectors
#answer { color: red; }
Class Selectors
.red-text { color: red; }
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<p>What is the meaning of life and everything?</p> … … <p>The answer is 42!</p>
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<p>What is the meaning of life and everything?</p> … … <p>The answer is 42!</p>
HTML CSS
What is the meaning of life and everything? The answer is 42!
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<p>What is the meaning of life and everything?</p> … … <p>The answer is 42!</p>
p { color: red; }
HTML CSS
What is the meaning of life and everything? The answer is 42!
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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!
p { color: red; }
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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?
HTML CSS
The answer is 42!
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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!
#answer { color: red; }
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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!
#answer { color: red; }
HTML CSS
<h4>Says who?</h4>
Says who?
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
HTML CSS
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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?
HTML CSS
The answer is 42!
Says who?
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
<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!
.red-text { color: red; }
HTML CSS
Says who?
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016
Dennis Schwartz @dschwartz_pf Anita-Borg-Celebration 2016