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
Web Design Basics for Kids: HTML & CSS
Use a <p> tag to add a paragraph
below the heading
Web Design Basics for Kids: HTML & CSS
Add another heading type (use
the <h3> tag) and enter the
recipient’s age
Web Design Basics for Kids: HTML & CSS
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
Web Design Basics for Kids: HTML & CSS
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
Web Design Basics for Kids: HTML & CSS
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.
Web Design Basics for Kids: HTML & CSS
Now we have to change text
colors. Let’s make all paragraphs
(p) show white text.
Web Design Basics for Kids: HTML & CSS
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
Web Design Basics for Kids: HTML & CSS
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!
Web Design Basics for Kids: HTML & CSS
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”
Web Design Basics for Kids: HTML & CSS
Our image is too many pixels
wide. Let’s set it to 700px wide,
and let the browser determine
the height automatically.
Web Design Basics for Kids: HTML & CSS
To see how your webpage looks
now, click the expand button in
the upper corner of your preview
window.
Web Design Basics for Kids: HTML & CSS
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”
Web Design Basics for Kids: HTML & CSS
Here is my finished
CSS stylesheet.
Can you think of a
way that I can make
it more concise?
Web Design Basics for Kids: HTML & CSS
Web Design Basics for Kids: HTML & CSS
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

PDF
Intro to HTML (Kid's Class at TIY)
ODP
Introduction to Python - Training for Kids
PPTX
Bacterial skin infection- dermatology
PPT
مقدمة في الحاسب الآلي ahmed.ppt
PPTX
Python programming
PPT
Introduction to html
PPT
Css Ppt
PPTX
Bollywood PPT
Intro to HTML (Kid's Class at TIY)
Introduction to Python - Training for Kids
Bacterial skin infection- dermatology
مقدمة في الحاسب الآلي ahmed.ppt
Python programming
Introduction to html
Css Ppt
Bollywood PPT

What's hot (20)

PPTX
PDF
Basic Html Tags Tutorial For Kids
PPTX
Html images
PPT
CSS Basics
PDF
Html text and formatting
PPT
Intro to html
PPTX
PDF
WEB I - 01 - Introduction to Web Development
PDF
HTML & CSS Masterclass
PPTX
HTML-(workshop)7557.pptx
PDF
Introduction to HTML and CSS
PDF
Introduction to CSS3
PDF
Html / CSS Presentation
PPT
PDF
ODP
PPT
Introduction to HTML
PPTX
HTML Introduction
PPTX
An Overview of HTML, CSS & Java Script
Basic Html Tags Tutorial For Kids
Html images
CSS Basics
Html text and formatting
Intro to html
WEB I - 01 - Introduction to Web Development
HTML & CSS Masterclass
HTML-(workshop)7557.pptx
Introduction to HTML and CSS
Introduction to CSS3
Html / CSS Presentation
Introduction to HTML
HTML Introduction
An Overview of HTML, CSS & Java Script
Ad

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

PDF
Basic HTML & CSS
PPTX
INTRODUCTION CODING - THE HTML AND CSS.pptx
PPTX
PPT
PPTX
PPT
Pzv Using Graphics In Power Point Presentations
PPT
HTML Advanced
PPTX
Workshop 2 Slides.pptx
PPT
CSS For Online Journalism
PPTX
Web Design Assignment 1
PPTX
David Weliver
PDF
HTML/CSS Crash Course (april 4 2017)
PPTX
PDF
HTML & CSS Basics
PDF
cascading stylesheet_cssppt-100604051600-phpapp02.pdf
PPTX
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
PPTX
css3.0.( Cascading Style Sheets ) pptx
PDF
Le Wagon - 2h Landing
PPTX
css-note.pptx
Basic HTML & CSS
INTRODUCTION CODING - THE HTML AND CSS.pptx
Pzv Using Graphics In Power Point Presentations
HTML Advanced
Workshop 2 Slides.pptx
CSS For Online Journalism
Web Design Assignment 1
David Weliver
HTML/CSS Crash Course (april 4 2017)
HTML & CSS Basics
cascading stylesheet_cssppt-100604051600-phpapp02.pdf
Embrace the Mullet: CSS is the 'Party in the Back' (a CSS How-to)
css3.0.( Cascading Style Sheets ) pptx
Le Wagon - 2h Landing
css-note.pptx
Ad

More from AnnMarie Ppl (20)

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

Recently uploaded (20)

PDF
Yogi Goddess Pres Conference Studio Updates
PPTX
Cell Structure & Organelles in detailed.
PPTX
master seminar digital applications in india
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Yogi Goddess Pres Conference Studio Updates
Cell Structure & Organelles in detailed.
master seminar digital applications in india
Supply Chain Operations Speaking Notes -ICLT Program
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Orientation - ARALprogram of Deped to the Parents.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Final Presentation General Medicine 03-08-2024.pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
2.FourierTransform-ShortQuestionswithAnswers.pdf
Microbial disease of the cardiovascular and lymphatic systems
Abdominal Access Techniques with Prof. Dr. R K Mishra
Computing-Curriculum for Schools in Ghana
Final Presentation General Medicine 03-08-2024.pptx
Chinmaya Tiranga quiz Grand Finale.pdf
Anesthesia in Laparoscopic Surgery in India
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape

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
  • 7. Use a <p> tag to add a paragraph below the heading
  • 9. Add another heading type (use the <h3> tag) and enter the recipient’s age
  • 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
  • 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
  • 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.
  • 27. Now we have to change text colors. Let’s make all paragraphs (p) show white text.
  • 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
  • 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!
  • 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”
  • 39. Our image is too many pixels wide. Let’s set it to 700px wide, and let the browser determine the height automatically.
  • 41. To see how your webpage looks now, click the expand button in the upper corner of your preview window.
  • 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”
  • 46. Here is my finished CSS stylesheet. Can you think of a way that I can make it more concise?
  • 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!