SlideShare a Scribd company logo
HTML & CSS
Kids’ Coding Club
March 15, 2018
Pasadena Public Library
https://code.org/educate/weblab
We’re gonna turn this…
…into a cool
interactive
birthday card
for a friend!
Use the <h1> tag to create a
heading inside the
<body></body> tags
Use a <p> tag to add a paragraph
below the heading
Add another heading type (use
the <h3> tag) and enter the
recipient’s age
Find an image on Google
Right-click with your mouse
Highlight the Address (URL) and
press CTRL and C together to
copy it to your clipboard
Use the <img> tag to insert the
picture into your page. Press
CTRL and V together to paste the
URL as the image’s “source” (src)
Add some Alt text, so people will
know what’s there
Find a Happy Birthday video
While viewing the video, click the
address bar and with the URL
highlighted, press CTRL and C
Under your image, add another
paragraph and put text in it. This
will be linked to your video.
Use the <a> tag to make the
words a hyperlink to the video
Now open your CSS Stylesheet…
White background
and black text are
usually the default
stylesheet settings
for webpages. But
we want the
opposite for ours.
A stylesheet is a set of rules.
Each rule is made of a selector
and a declaration. The
declaration has a property and a
value.
body { background: white; }
selector declaration
https://www.w3schools.com/css/css_syntax.asp
Let’s change the body
background to black, to match
our dark photo.
We will change the
background for the
“body” selector.
That will give the
whole page a black
background.
Now we have to change text
colors. Let’s make all paragraphs
(p) show white text.
Let’s give our headings different
colors.
In CSS, you can type
the name of the
color you want, but
it might not display
the exact shade you
want. For a more
specific shade, you
can use a hex code
or an rgb code.
Move the circles to get the color
you want, then copy the rgb code
on the left.
Set the text color for your h1 text
with rgb numbers
Let’s pick a red color for our h3
heading
We put CSS code
inside curly
brackets like this { }
We use a colon (:) in
CSS the way we
would use an equal
sign (=) in HTML
to set the value of
something
We end each rule
with a semicolon (;)
Punctuation matters!
If we want all our text to be
centered, we could put “text-
align: center;” for each selector…
…or we could just save time by
making the text centered for the
entire “body”
Our image is too many pixels
wide. Let’s set it to 700px wide,
and let the browser determine
the height automatically.
To see how your webpage looks
now, click the expand button in
the upper corner of your preview
window.
Let’s give our text a larger,
fancier font!
When you start
typing a new
property, suggested
words appear. You’ll
also see suggested
values, such as
“normal,” “bold” and
“light” for the
property “font-
weight.” Try
different ones and
see what you like!
Let’s increase the size and style
of our paragraph text with “font-
size” and “font-family”
Here is my finished
CSS stylesheet.
Can you think of a
way that I can make
it more concise?
When your project is finished,
give it a name
Click Share to get a URL people
can use to see your finished
webpage! Use CTRL and C to
copy it
Paste the link into a new browser
window
Send the link to your friends. This
is what they will see!

More Related Content

What's hot

CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
Amit Kumar Singh
 
Html
HtmlHtml
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
Kalyani Government Engineering College
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
SEO SKills
 
Javascript
JavascriptJavascript
Javascript
mussawir20
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
Intro to html
Intro to htmlIntro to html
Intro to html
anshuman rahi
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Deepak Upadhyay
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
Leslie Steele
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
palhaftab
 
HTML-(workshop)7557.pptx
HTML-(workshop)7557.pptxHTML-(workshop)7557.pptx
HTML-(workshop)7557.pptx
Raja980775
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
vegdwk
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
Webtech Learning
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
Zoe Gillenwater
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
Eliran Eliassy
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
Jacob Nelson
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
IT Geeks
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 

What's hot (20)

CSS for Beginners
CSS for BeginnersCSS for Beginners
CSS for Beginners
 
Html
HtmlHtml
Html
 
Basic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdfBasic Details of HTML and CSS.pdf
Basic Details of HTML and CSS.pdf
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
 
Javascript
JavascriptJavascript
Javascript
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
 
Intro to html
Intro to htmlIntro to html
Intro to html
 
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJSBasic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
 
Html, CSS & Web Designing
Html, CSS & Web DesigningHtml, CSS & Web Designing
Html, CSS & Web Designing
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
HTML-(workshop)7557.pptx
HTML-(workshop)7557.pptxHTML-(workshop)7557.pptx
HTML-(workshop)7557.pptx
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
Html
HtmlHtml
Html
 
CSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive DesignCSS3, Media Queries, and Responsive Design
CSS3, Media Queries, and Responsive Design
 
Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 

Similar to Web Design Basics for Kids: HTML & CSS

Basic HTML & CSS
Basic HTML & CSSBasic HTML & CSS
Basic HTML & CSSJohn Nelson
 
Html 3
Html   3Html   3
CSS
CSSCSS
Pzv Using Graphics In Power Point Presentations
Pzv Using Graphics In Power Point PresentationsPzv Using Graphics In Power Point Presentations
Pzv Using Graphics In Power Point Presentationsprashantdubey
 
HTML Advanced
HTML AdvancedHTML Advanced
HTML Advancedc525600
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptxWorkshop 2 Slides.pptx
Workshop 2 Slides.pptx
DaniyalSardar
 
CSS For Online Journalism
CSS For Online JournalismCSS For Online Journalism
CSS For Online Journalism
amherstwire
 
Web Design Assignment 1
Web Design Assignment 1 Web Design Assignment 1
Web Design Assignment 1
beretta21
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
Daniel Friedman
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
Html 2
Html   2Html   2
HTML & CSS Basics
HTML & CSS BasicsHTML & CSS Basics
HTML & CSS Basics
John Nelson
 
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Tom Hapgood
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
Boris Paillard
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptx
Samay16
 
Le Wagon Tokyo - 2 hours landing page
Le Wagon Tokyo - 2 hours  landing pageLe Wagon Tokyo - 2 hours  landing page
Le Wagon Tokyo - 2 hours landing page
Hidehiro Nagaoka
 

Similar to Web Design Basics for Kids: HTML & CSS (20)

CSS
CSSCSS
CSS
 
Basic HTML & CSS
Basic HTML & CSSBasic HTML & CSS
Basic HTML & CSS
 
Html 3
Html   3Html   3
Html 3
 
Css
CssCss
Css
 
CSS
CSSCSS
CSS
 
CSS ppt
CSS pptCSS ppt
CSS ppt
 
Pzv Using Graphics In Power Point Presentations
Pzv Using Graphics In Power Point PresentationsPzv Using Graphics In Power Point Presentations
Pzv Using Graphics In Power Point Presentations
 
HTML Advanced
HTML AdvancedHTML Advanced
HTML Advanced
 
Workshop 2 Slides.pptx
Workshop 2 Slides.pptxWorkshop 2 Slides.pptx
Workshop 2 Slides.pptx
 
CSS For Online Journalism
CSS For Online JournalismCSS For Online Journalism
CSS For Online Journalism
 
Web Design Assignment 1
Web Design Assignment 1 Web Design Assignment 1
Web Design Assignment 1
 
David Weliver
David WeliverDavid Weliver
David Weliver
 
HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)HTML/CSS Crash Course (april 4 2017)
HTML/CSS Crash Course (april 4 2017)
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
Html 2
Html   2Html   2
Html 2
 
HTML & CSS Basics
HTML & CSS BasicsHTML & CSS Basics
HTML & CSS Basics
 
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
 
Le Wagon - 2h Landing
Le Wagon - 2h LandingLe Wagon - 2h Landing
Le Wagon - 2h Landing
 
css-note.pptx
css-note.pptxcss-note.pptx
css-note.pptx
 
Le Wagon Tokyo - 2 hours landing page
Le Wagon Tokyo - 2 hours  landing pageLe Wagon Tokyo - 2 hours  landing page
Le Wagon Tokyo - 2 hours landing page
 

More from AnnMarie Ppl

Manu discussion.pptx
Manu discussion.pptxManu discussion.pptx
Manu discussion.pptx
AnnMarie Ppl
 
Coding & Art, ArtNight Presentation
Coding & Art, ArtNight PresentationCoding & Art, ArtNight Presentation
Coding & Art, ArtNight Presentation
AnnMarie Ppl
 
A Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questionsA Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questions
AnnMarie Ppl
 
The Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book ClubThe Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book Club
AnnMarie Ppl
 
Week four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers ProgramWeek four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers Program
AnnMarie Ppl
 
Week three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers ProgramWeek three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers Program
AnnMarie Ppl
 
Week two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers ProgramWeek two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers Program
AnnMarie Ppl
 
Week one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers ProgramWeek one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers Program
AnnMarie Ppl
 
Lucha Libros Basic Information
Lucha Libros Basic InformationLucha Libros Basic Information
Lucha Libros Basic Information
AnnMarie Ppl
 
Tua and the Elephant discussion questions
Tua and the Elephant discussion questionsTua and the Elephant discussion questions
Tua and the Elephant discussion questions
AnnMarie Ppl
 
Emil and the detectives
Emil and the detectivesEmil and the detectives
Emil and the detectives
AnnMarie Ppl
 
Kids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading InspirationsKids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading Inspirations
AnnMarie Ppl
 
Hour (and a half) of Code: Flappy Bird Games in Scratch
Hour (and a half) of Code: Flappy Bird Games in ScratchHour (and a half) of Code: Flappy Bird Games in Scratch
Hour (and a half) of Code: Flappy Bird Games in Scratch
AnnMarie Ppl
 
Citizen Science Kids Can Do at Home
Citizen Science Kids Can Do at HomeCitizen Science Kids Can Do at Home
Citizen Science Kids Can Do at Home
AnnMarie Ppl
 
Measuring Light in the Night
Measuring Light in the NightMeasuring Light in the Night
Measuring Light in the Night
AnnMarie Ppl
 
Educator Night 2020 presentation
Educator Night 2020 presentationEducator Night 2020 presentation
Educator Night 2020 presentation
AnnMarie Ppl
 
Make a Lego Movie
Make a Lego MovieMake a Lego Movie
Make a Lego Movie
AnnMarie Ppl
 
Make Believe Science Presentation
Make Believe Science PresentationMake Believe Science Presentation
Make Believe Science Presentation
AnnMarie Ppl
 
Writing a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in TwineWriting a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in Twine
AnnMarie Ppl
 
Roller coaster ski jumps
Roller coaster ski jumpsRoller coaster ski jumps
Roller coaster ski jumps
AnnMarie Ppl
 

More from AnnMarie Ppl (20)

Manu discussion.pptx
Manu discussion.pptxManu discussion.pptx
Manu discussion.pptx
 
Coding & Art, ArtNight Presentation
Coding & Art, ArtNight PresentationCoding & Art, ArtNight Presentation
Coding & Art, ArtNight Presentation
 
A Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questionsA Good Kind of Trouble discussion questions
A Good Kind of Trouble discussion questions
 
The Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book ClubThe Turtle of Oman Discussion for Read Around the World Book Club
The Turtle of Oman Discussion for Read Around the World Book Club
 
Week four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers ProgramWeek four of NaNoWriMo Young Writers Program
Week four of NaNoWriMo Young Writers Program
 
Week three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers ProgramWeek three of NaNoWriMo Young Writers Program
Week three of NaNoWriMo Young Writers Program
 
Week two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers ProgramWeek two of NaNoWriMo Young Writers Program
Week two of NaNoWriMo Young Writers Program
 
Week one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers ProgramWeek one of NaNoWriMo Young Writers Program
Week one of NaNoWriMo Young Writers Program
 
Lucha Libros Basic Information
Lucha Libros Basic InformationLucha Libros Basic Information
Lucha Libros Basic Information
 
Tua and the Elephant discussion questions
Tua and the Elephant discussion questionsTua and the Elephant discussion questions
Tua and the Elephant discussion questions
 
Emil and the detectives
Emil and the detectivesEmil and the detectives
Emil and the detectives
 
Kids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading InspirationsKids' Writing Workshop: Summer Reading Inspirations
Kids' Writing Workshop: Summer Reading Inspirations
 
Hour (and a half) of Code: Flappy Bird Games in Scratch
Hour (and a half) of Code: Flappy Bird Games in ScratchHour (and a half) of Code: Flappy Bird Games in Scratch
Hour (and a half) of Code: Flappy Bird Games in Scratch
 
Citizen Science Kids Can Do at Home
Citizen Science Kids Can Do at HomeCitizen Science Kids Can Do at Home
Citizen Science Kids Can Do at Home
 
Measuring Light in the Night
Measuring Light in the NightMeasuring Light in the Night
Measuring Light in the Night
 
Educator Night 2020 presentation
Educator Night 2020 presentationEducator Night 2020 presentation
Educator Night 2020 presentation
 
Make a Lego Movie
Make a Lego MovieMake a Lego Movie
Make a Lego Movie
 
Make Believe Science Presentation
Make Believe Science PresentationMake Believe Science Presentation
Make Believe Science Presentation
 
Writing a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in TwineWriting a Choose Your Own Adventure Story in Twine
Writing a Choose Your Own Adventure Story in Twine
 
Roller coaster ski jumps
Roller coaster ski jumpsRoller coaster ski jumps
Roller coaster ski jumps
 

Recently uploaded

JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 

Recently uploaded (20)

JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 

Web Design Basics for Kids: HTML & CSS

  • 1. HTML & CSS Kids’ Coding Club March 15, 2018 Pasadena Public Library
  • 5. Use the <h1> tag to create a heading inside the <body></body> tags
  • 6.
  • 7. Use a <p> tag to add a paragraph below the heading
  • 8.
  • 9. Add another heading type (use the <h3> tag) and enter the recipient’s age
  • 10.
  • 11. Find an image on Google
  • 13. Highlight the Address (URL) and press CTRL and C together to copy it to your clipboard
  • 14. Use the <img> tag to insert the picture into your page. Press CTRL and V together to paste the URL as the image’s “source” (src)
  • 15. Add some Alt text, so people will know what’s there
  • 16.
  • 17. Find a Happy Birthday video
  • 18. While viewing the video, click the address bar and with the URL highlighted, press CTRL and C
  • 19. Under your image, add another paragraph and put text in it. This will be linked to your video.
  • 20. Use the <a> tag to make the words a hyperlink to the video
  • 21.
  • 22. Now open your CSS Stylesheet… White background and black text are usually the default stylesheet settings for webpages. But we want the opposite for ours.
  • 23. A stylesheet is a set of rules. Each rule is made of a selector and a declaration. The declaration has a property and a value. body { background: white; } selector declaration
  • 25. Let’s change the body background to black, to match our dark photo. We will change the background for the “body” selector. That will give the whole page a black background.
  • 26.
  • 27. Now we have to change text colors. Let’s make all paragraphs (p) show white text.
  • 28.
  • 29. Let’s give our headings different colors. In CSS, you can type the name of the color you want, but it might not display the exact shade you want. For a more specific shade, you can use a hex code or an rgb code.
  • 30. Move the circles to get the color you want, then copy the rgb code on the left.
  • 31. Set the text color for your h1 text with rgb numbers
  • 32.
  • 33. Let’s pick a red color for our h3 heading
  • 34. We put CSS code inside curly brackets like this { } We use a colon (:) in CSS the way we would use an equal sign (=) in HTML to set the value of something We end each rule with a semicolon (;) Punctuation matters!
  • 35.
  • 36. If we want all our text to be centered, we could put “text- align: center;” for each selector…
  • 37. …or we could just save time by making the text centered for the entire “body”
  • 38.
  • 39. Our image is too many pixels wide. Let’s set it to 700px wide, and let the browser determine the height automatically.
  • 40.
  • 41. To see how your webpage looks now, click the expand button in the upper corner of your preview window.
  • 42.
  • 43. Let’s give our text a larger, fancier font! When you start typing a new property, suggested words appear. You’ll also see suggested values, such as “normal,” “bold” and “light” for the property “font- weight.” Try different ones and see what you like!
  • 44. Let’s increase the size and style of our paragraph text with “font- size” and “font-family”
  • 45.
  • 46. Here is my finished CSS stylesheet. Can you think of a way that I can make it more concise?
  • 47.
  • 48.
  • 49. When your project is finished, give it a name
  • 50. Click Share to get a URL people can use to see your finished webpage! Use CTRL and C to copy it
  • 51. Paste the link into a new browser window
  • 52. Send the link to your friends. This is what they will see!