SlideShare a Scribd company logo
Introducing HTML & CSS..
What is HTML?
• HyperText Markup Language
What is CSS?
• Cascading Style Sheets
What does that mean!?
• JavaScript/Ruby = the blueprint
What's a web page made of?
What does that mean!?
• JavaScript/Ruby = the blueprint
• HTML = the structure
What's a web page made of?
What does that mean!?
• JavaScript/Ruby = the blueprint
• HTML = the structure
• CSS = everything that makes it look like a house!
What's a web page made of?
• <!DOCTYPE html> must always be included to
indicate what kind of document you are creating.
• HTML page is split into two parts:
• head - title of site (not the title on the page), links
to external stylesheets/scripts
• body - content of page, what the user sees
• HTML uses elements such as <body>, <h1>, <p>,
<div> and many more.
• Great glossary of elements -
https://www.codecademy.com/articles/glossary-html
• <h1> - used for the most important heading on your
page
• <p> - defines a paragraph of text
• <a> - defines a link, but needs ‘href’ and the URL
you are pointing at to work - e.g. <a
href=“www.2017.inspirewit.com”>
• <ul> - “unordered list”.
• Each item within the list must be enclosed within an
<li> tag as well.
Indentation
• Good indentation improves readability.
• Easier for debugging.
• Some languages are indentation-dependent.
• <div> - a block container for content. Can contain
anything.
• You can have multiple divs in a document.
• Classes allow the same HTML element to be
presented differently depending on its class.
• In CSS class selectors are preceded with a ‘.’
• A class can be used to identify more than one
element.
• CSS opens with { and each line ends with ;
• We code in American, so ‘color’ not ‘colour’!
• float - pushes an element to the left/right, taken out
of the flow of the other elements.
• Pseudo element - used to style specific parts of an
element. Can be used to:
• style something when a mouse moves over it
• visited/unvisited links differently
• style an element when it gets focus (clicked on)
Chrome Developer console
• On Windows to open: Ctrl + Shift + J
• On Mac: Alt + Cmd + J
• Either: right click on an element on the page and
select “inspect element”
useful for:
• seeing the web page as the browser sees it
• debug code
• observe JavaScript being run

More Related Content

PPTX
Web1O1 - Intro to HTML/CSS
PPTX
HTML and CSS
PPTX
Introduction to CSS
PPTX
Javascript
PDF
Creative Web 2 - CSS
PPT
Lesson 2: Getting To Know HTML
PDF
Introduction to html & css
PPTX
Web Development Basics: HOW TO in HTML
Web1O1 - Intro to HTML/CSS
HTML and CSS
Introduction to CSS
Javascript
Creative Web 2 - CSS
Lesson 2: Getting To Know HTML
Introduction to html & css
Web Development Basics: HOW TO in HTML

What's hot (20)

PPTX
html & css
PDF
Introduction to the Web and HTML
PPTX
Web development using HTML and CSS
PPTX
CSS introduction
PPTX
Java script tutorial
PDF
Web front end development introduction to html css and javascript
PPTX
Introduction to Jquery
PPTX
Introduction to HTML and CSS
PPTX
Drupal by fire
PPTX
Html and css
PPTX
Cascading style sheet an introduction
PDF
Introduction to HTML and CSS
PPTX
Introduction to HTML
PPTX
jQuery - Web Engineering
PPT
Document Object Model
PPTX
Front End Web Development Basics
PDF
The Dark Arts of CSS
PDF
Component-Oriented Web Development with Dart
PPTX
Web programming css
html & css
Introduction to the Web and HTML
Web development using HTML and CSS
CSS introduction
Java script tutorial
Web front end development introduction to html css and javascript
Introduction to Jquery
Introduction to HTML and CSS
Drupal by fire
Html and css
Cascading style sheet an introduction
Introduction to HTML and CSS
Introduction to HTML
jQuery - Web Engineering
Document Object Model
Front End Web Development Basics
The Dark Arts of CSS
Component-Oriented Web Development with Dart
Web programming css
Ad

Viewers also liked (18)

PDF
Frequently Asked Questions | Gainesville Dental Arts
PPTX
Hmc Outdoor Media / Billboards / Hoardings
PDF
การติดตั้งและการดาวน์โหลดโปรแกรมภาษาC
PDF
ประโยชน์ของคอมพิวเตอร์
PDF
โครงสร้างข้อมูล
PDF
การควบคุมทิศทางการทำงานของโปรแกรม
PDF
PREVENTIVE DENTISTRY AT GAINESVILLE DENTAL ARTS
PDF
The Rise of the Brand Newsroom - Mynewsdesk redpaper
PDF
องค์ประกอบของคอมพิวเตอร์
PDF
Corporate%20Magazine%20-%20%20issue%20no%202 - Read Page 9
PDF
GENERAL DENTISTRY SERVICES AT GAINESVILLE DENTAL ARTS
PDF
ตัวแปรและชนิดของข้อมูลในภาษาซี
PPSX
برنامج انتاج نماذج الاشتراطات التخطيطية
PDF
ลักษณะเด่นของคอมพิวเตอร์ 8
PPTX
Enquêtes consommateur et e-commerce
PDF
การแสดงผลและการรับข้อมูล
PDF
การเขียนผังงาน
PDF
นิพจน์
Frequently Asked Questions | Gainesville Dental Arts
Hmc Outdoor Media / Billboards / Hoardings
การติดตั้งและการดาวน์โหลดโปรแกรมภาษาC
ประโยชน์ของคอมพิวเตอร์
โครงสร้างข้อมูล
การควบคุมทิศทางการทำงานของโปรแกรม
PREVENTIVE DENTISTRY AT GAINESVILLE DENTAL ARTS
The Rise of the Brand Newsroom - Mynewsdesk redpaper
องค์ประกอบของคอมพิวเตอร์
Corporate%20Magazine%20-%20%20issue%20no%202 - Read Page 9
GENERAL DENTISTRY SERVICES AT GAINESVILLE DENTAL ARTS
ตัวแปรและชนิดของข้อมูลในภาษาซี
برنامج انتاج نماذج الاشتراطات التخطيطية
ลักษณะเด่นของคอมพิวเตอร์ 8
Enquêtes consommateur et e-commerce
การแสดงผลและการรับข้อมูล
การเขียนผังงาน
นิพจน์
Ad

Similar to What's a web page made of? (20)

PDF
Code & Design your first website 4/18
PDF
Code &amp; design your first website (3:16)
PPT
PPTX
Castro Chapter 3
PPTX
Basics of Front End Web Dev PowerPoint
PDF
Html css crash course may 11th, atlanta
PPTX
Html presentation
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
PPTX
PPT
HTML & CSS.ppt
KEY
Class1slides
PPTX
Xhtml and html5 basics
PPTX
Web development basics
PDF
Intro to HTML 5 / CSS 3
PPT
SDP_-_Module_4.ppt
PDF
Day1-HTML-CSS some basic css and html.pdf
PPTX
FFW Gabrovo PMG - HTML
PDF
Intro to HTML & CSS
PPT
html and css- 23091 3154 458-5d4341a0.ppt
PPTX
Ifi7174 lesson2
Code & Design your first website 4/18
Code &amp; design your first website (3:16)
Castro Chapter 3
Basics of Front End Web Dev PowerPoint
Html css crash course may 11th, atlanta
Html presentation
Thinkful - Frontend Crash Course - Intro to HTML/CSS
HTML & CSS.ppt
Class1slides
Xhtml and html5 basics
Web development basics
Intro to HTML 5 / CSS 3
SDP_-_Module_4.ppt
Day1-HTML-CSS some basic css and html.pdf
FFW Gabrovo PMG - HTML
Intro to HTML & CSS
html and css- 23091 3154 458-5d4341a0.ppt
Ifi7174 lesson2

Recently uploaded (20)

PDF
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
PPTX
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
PPTX
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
PPTX
Module 1 - Cyber Law and Ethics 101.pptx
PDF
Paper PDF World Game (s) Great Redesign.pdf
PPTX
Internet___Basics___Styled_ presentation
PDF
Tenda Login Guide: Access Your Router in 5 Easy Steps
PPTX
Introuction about WHO-FIC in ICD-10.pptx
PDF
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
PDF
An introduction to the IFRS (ISSB) Stndards.pdf
PPTX
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
PPTX
Introduction to Information and Communication Technology
PPTX
Job_Card_System_Styled_lorem_ipsum_.pptx
PDF
SASE Traffic Flow - ZTNA Connector-1.pdf
PDF
Slides PDF The World Game (s) Eco Economic Epochs.pdf
PPTX
Slides PPTX World Game (s) Eco Economic Epochs.pptx
PPTX
artificial intelligence overview of it and more
DOCX
Unit-3 cyber security network security of internet system
PPTX
innovation process that make everything different.pptx
PPTX
QR Codes Qr codecodecodecodecocodedecodecode
Vigrab.top – Online Tool for Downloading and Converting Social Media Videos a...
June-4-Sermon-Powerpoint.pptx USE THIS FOR YOUR MOTIVATION
CHE NAA, , b,mn,mblblblbljb jb jlb ,j , ,C PPT.pptx
Module 1 - Cyber Law and Ethics 101.pptx
Paper PDF World Game (s) Great Redesign.pdf
Internet___Basics___Styled_ presentation
Tenda Login Guide: Access Your Router in 5 Easy Steps
Introuction about WHO-FIC in ICD-10.pptx
Automated vs Manual WooCommerce to Shopify Migration_ Pros & Cons.pdf
An introduction to the IFRS (ISSB) Stndards.pdf
Introduction about ICD -10 and ICD11 on 5.8.25.pptx
Introduction to Information and Communication Technology
Job_Card_System_Styled_lorem_ipsum_.pptx
SASE Traffic Flow - ZTNA Connector-1.pdf
Slides PDF The World Game (s) Eco Economic Epochs.pdf
Slides PPTX World Game (s) Eco Economic Epochs.pptx
artificial intelligence overview of it and more
Unit-3 cyber security network security of internet system
innovation process that make everything different.pptx
QR Codes Qr codecodecodecodecocodedecodecode

What's a web page made of?

  • 2. What is HTML? • HyperText Markup Language
  • 3. What is CSS? • Cascading Style Sheets
  • 4. What does that mean!? • JavaScript/Ruby = the blueprint
  • 6. What does that mean!? • JavaScript/Ruby = the blueprint • HTML = the structure
  • 8. What does that mean!? • JavaScript/Ruby = the blueprint • HTML = the structure • CSS = everything that makes it look like a house!
  • 10. • <!DOCTYPE html> must always be included to indicate what kind of document you are creating.
  • 11. • HTML page is split into two parts: • head - title of site (not the title on the page), links to external stylesheets/scripts • body - content of page, what the user sees
  • 12. • HTML uses elements such as <body>, <h1>, <p>, <div> and many more. • Great glossary of elements - https://www.codecademy.com/articles/glossary-html
  • 13. • <h1> - used for the most important heading on your page • <p> - defines a paragraph of text • <a> - defines a link, but needs ‘href’ and the URL you are pointing at to work - e.g. <a href=“www.2017.inspirewit.com”>
  • 14. • <ul> - “unordered list”. • Each item within the list must be enclosed within an <li> tag as well.
  • 15. Indentation • Good indentation improves readability. • Easier for debugging. • Some languages are indentation-dependent.
  • 16. • <div> - a block container for content. Can contain anything. • You can have multiple divs in a document.
  • 17. • Classes allow the same HTML element to be presented differently depending on its class. • In CSS class selectors are preceded with a ‘.’ • A class can be used to identify more than one element.
  • 18. • CSS opens with { and each line ends with ; • We code in American, so ‘color’ not ‘colour’!
  • 19. • float - pushes an element to the left/right, taken out of the flow of the other elements.
  • 20. • Pseudo element - used to style specific parts of an element. Can be used to: • style something when a mouse moves over it • visited/unvisited links differently • style an element when it gets focus (clicked on)
  • 21. Chrome Developer console • On Windows to open: Ctrl + Shift + J • On Mac: Alt + Cmd + J • Either: right click on an element on the page and select “inspect element”
  • 22. useful for: • seeing the web page as the browser sees it • debug code • observe JavaScript being run