SlideShare a Scribd company logo
MeetupWeb 1O1 – Intro to HTML/CSSkatarinamilkovat:   twitter.com/katmilke:   katarina.milkova@gmail.com
What is the Web?It’s magic!Network of a collection of interlinked hypertext documents accessed via internetConsists of web servers, IP (internet protocol), DNS (domain name service) and pixie dust
WebConsists of many languages HTML, CSS, JS, PHP, etc.Every language has it’s own syntax and semanticsSyntax: the study of grammar (how you say something)Semantics: the study of meaning (meaning behind what you say)
Web LayersHTML = Content LayerThis is the structure and raw content of the pageCSS = Presentation LayerThis layer add styles to the structure and content of your webpageJS = Behavior LayerThis layer dictates how an item behaves when clicked on, hovered over, or sometimes further styled to achieve a certain look/behaviorIt dictates how things act and react to user interaction
What is HTML?HyperTextMarkup LanguageIt is a simple data language that consists of tags used to display content of a webpageIt defines the structure and semantics of your web documentIt is referred to as the content layer in the web cake analogyMost commonly used today is the more structured way of writing HTML: xHTML    Extensible HyperTextMarkup Language
What is HTML?It is NOT a programming languageIt is a markup languageA markup language is a set of markup tagsUses markup tags to describe web pages(source: http://www.w3schools.com/html/html_intro.asp)
How does it work?Very simple and logical formatMuch like a word documentRead from top to bottom, left to right.Written with text in a plain text editorConsists of tags used to set certain sections apart (bigger text, bolder text, etc)Different tags call different functions and do different things to the HTML text.For a list of tags for HTML 4.0 and xHTML 1.0 visit:  http://www.w3schools.com/tags/default.asp
What is a tag?A tag is the basis for HTMLIt’s a command enclosed with less-than and greater-than sign<html>, <head>, <body>, <h1>, <p>making text bold, turning text into a heading, grouping sentences to form a paragraph, etc.Most tags come in pairs:an opening (starting) and a closing (ending) tag <title> title goes here </title>Some tags are self closing, such as a meta tag<meta  name=“”  content=“”  />Every open tag must correspondingly be closed(source: http://www.w3schools.com/html/html_intro.asp)
What does it look like?<!DOCTYPE  html  PUBLIC … ><html>	<head>		<title>Basic HTML Page</title>		<meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
Closer Look at DOCTYPE<!DOCTYPE  html  PUBLIC … ><html>	<head>		<title>Basic HTML Page</title>		<meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
DOCTYPE?<!DOCTYPE  html  PUBLIC … >The doctype declaration is important It tells the browser:what type of HTML you are usingwhich convention you’ll need to follow when coding the website contentFor more info see recommended list of doctypes: http://www.w3.org/QA/2002/04/valid-dtd-list.htmlMost common:xHTML 1.0 TransitionalxHTML 1.0 StrictNewest:HTML5 (not a standard yet!)
Lookat HTML tag<!DOCTYPE  html  PUBLIC … ><html>	<head>		<title>Basic HTML Page</title>		<meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
HTML tag?<html>  </html>Creates basic HTML document<html>The opening HTML tagSets the starting point of your HTML document</html>The closing HTML tagSets the closing point of your HTML document
Take a look at HEAD tag<!DOCTYPE  html  PUBLIC … ><html>	<head>		<title>Basic HTML Page</title>		<meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
HEAD tag?<head> </head>Contains header information for the pageThis is not rendered in the page itselfContains other tags like:<title>, <meta>, <link>, etc.<head>The opening head tag</head>The closing head tag
Look inside the HEAD<!DOCTYPE  html  PUBLIC … ><html>	<head><title>Basic HTML Page</title><meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
Inside the HEAD<title>Title of page</title> rendered in top of browser or browser tab<meta name=“description”  content=“” />There are 3 basic types of meta tags used:Content-type: tells browser which character set you’re using. Most common: UTF-8Description: sets description of website that appears in search engine listingsKeywords: lists out keywords and phrases that relate to your page, separated by commas.
Look that BODY tag<!DOCTYPE  html  PUBLIC … ><html>	<head>		<title>Basic HTML Page</title>		<meta  name=“”  content=“” />	</head>	<body>		<h1>Hello World!</h1>	</body></html>
What is the BODY tag?<body> </body>Contains all the contents of the web pageThis is where all the content of your webpage goes<body>The opening body tag</body>The closing body tag
How do I style my HTML?HTML is not meant for styleHTML is just raw content and structure (markup of the document)To style HTML, we use a stylesheetThe stylesheet dictates how we present our content (HTML) to the user in the browserCascading Style Sheets are used to style HTML
What is CSS?Cascading Style SheetsIt’s a style language that defines the presentation of your HTML (colors, layout, text-formatting, etc.)Referred to as the presentation layer Recommended way to control presentation of your HTML documentOwn language with own syntax
How to include CSS?InlineWritten on actual HTML tagsWorst way to include CSS                                   *avoid if possible, but there are some exceptionsEmbeddedWritten between <style> tag typically in the <head>Override any similar rules in external sheetStyles stay with HTML page and don’t carry over to other pages with your websiteExternalTypically loaded in the <head> with a <link> tagBest way to include CSS in document
Including CSSInternal:  Written inline on HTML tags<body  style=“background-color: #f00;”>Embedded:  Written in a <style> tag  <style type=“text/css”  media=“screen”>	body  {		     background-color:  #f00;	}</style>External:  Included as a separate document<link type=“text/css” href=“http://link/file.css” rel=“stylesheet”  media=“screen” />
How CSS looks?#element-id {color: #fff;font-size: 12px;}.element-class {color: #f00;font-weight: 700;} (selectors, properties and values)
What is JS?Programming (scripting) language that adds functionality to websiteBehavior layer (functionality)Common Libraries: jQuery, MooTools
Tools to WriteSimple text editor works perfectly fine for writing HTML and CSSNotepad, Notepad++, BBEdit,  NetBeans, TextEdit, TextWrangler, TextMate, Dreamweaver, Vim
Helpful Linkshttp://www.w3.org/http://www.w3.org/html/http://www.w3.org/Style/CSS/http://www.w3schools.com/http://www.htmldog.com/guides/htmlbeginner/
Tools to HaveWeb Developer Toolbar for FirefoxLink: https://addons.mozilla.org/en-us/firefox/addon/web-developer/Firebug for FirefoxLink: https://addons.mozilla.org/en-US/firefox/addon/firebug/
Thank You!Any Questions?SlideShare: http://www.slideshare.net/katmilk/katarinamilkovat:   twitter.com/katmilke:   katarina.milkova@gmail.com

More Related Content

What's hot (20)

PDF
Html for beginners
Florian Letsch
 
PDF
Introduction to HTML and CSS
Mario Hernandez
 
PPTX
Introduction to HTML
ShreyaShetty92
 
PPSX
Steph's Html5 and css presentation
stephy123123
 
PPTX
Html and css
Samiksha Pun
 
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
PPTX
Web 101 intro to html
Hawkman Academy
 
PPTX
Artistic Web Applications - Week3 - Part 3
Katherine McCurdy-Lapierre, R.G.D.
 
PPTX
Introduction to HTML
Ann Alcid
 
PPTX
Html introduction by ikram niaz
ikram niaz
 
PPTX
How the Web Works Using HTML
Marlon Jamera
 
PDF
Introduction to the Web and HTML
SiddharthBorderwala
 
PPTX
Html and css presentation
umesh patil
 
PPTX
Introduction to HTML and CSS
danpaquette
 
PPTX
Html & CSS
JainilSampat
 
PPT
HTML email design and usability
Keith Kmett
 
PDF
Html css crash course may 11th, atlanta
Thinkful
 
PPTX
Introduction to html course digital markerters
SEO SKills
 
PPT
Introduction to HTML
yht4ever
 
Html for beginners
Florian Letsch
 
Introduction to HTML and CSS
Mario Hernandez
 
Introduction to HTML
ShreyaShetty92
 
Steph's Html5 and css presentation
stephy123123
 
Html and css
Samiksha Pun
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
Web 101 intro to html
Hawkman Academy
 
Artistic Web Applications - Week3 - Part 3
Katherine McCurdy-Lapierre, R.G.D.
 
Introduction to HTML
Ann Alcid
 
Html introduction by ikram niaz
ikram niaz
 
How the Web Works Using HTML
Marlon Jamera
 
Introduction to the Web and HTML
SiddharthBorderwala
 
Html and css presentation
umesh patil
 
Introduction to HTML and CSS
danpaquette
 
Html & CSS
JainilSampat
 
HTML email design and usability
Keith Kmett
 
Html css crash course may 11th, atlanta
Thinkful
 
Introduction to html course digital markerters
SEO SKills
 
Introduction to HTML
yht4ever
 

Similar to Web1O1 - Intro to HTML/CSS (20)

PPT
HTML & CSS.ppt
vaseemshaik21
 
PPS
Web Designing
VNIT-ACM Student Chapter
 
PPT
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
 
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
Erin M. Kidwell
 
PPTX
Html
yugank_gupta
 
PPTX
Introduction to HTML+CSS+Javascript.pptx
wowiw65045
 
PPTX
Introduction to HTML+CSS+Javascript.pptx
SadiaBaig6
 
PPTX
Introduction to HTML+CSS+Javascript.pptx
PedroGonzalez915307
 
PDF
Web Concepts - an introduction - introduction
clement swarnappa
 
PPT
Web Development using HTML & CSS
Shashank Skills Academy
 
KEY
Class1slides
Alexis Goldstein
 
PPTX
Introduction to HTML+CSS+Javascript.pptx
yashsharmaa0209
 
PPTX
web programming, Introduction to html tags
E.M.G.yadava womens college
 
PPTX
mst_unit1.pptx
michaelaaron25322
 
PDF
Web engineering notes unit 3
inshu1890
 
ODP
Light introduction to HTML
abidibo Contini
 
PPT
Cascading Style Sheets
Jerome Locson
 
PPTX
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
PDF
Let me design
Anurag Deb
 
HTML & CSS.ppt
vaseemshaik21
 
html and css- 23091 3154 458-5d4341a0.ppt
ahoveida
 
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
Erin M. Kidwell
 
Introduction to HTML+CSS+Javascript.pptx
wowiw65045
 
Introduction to HTML+CSS+Javascript.pptx
SadiaBaig6
 
Introduction to HTML+CSS+Javascript.pptx
PedroGonzalez915307
 
Web Concepts - an introduction - introduction
clement swarnappa
 
Web Development using HTML & CSS
Shashank Skills Academy
 
Class1slides
Alexis Goldstein
 
Introduction to HTML+CSS+Javascript.pptx
yashsharmaa0209
 
web programming, Introduction to html tags
E.M.G.yadava womens college
 
mst_unit1.pptx
michaelaaron25322
 
Web engineering notes unit 3
inshu1890
 
Light introduction to HTML
abidibo Contini
 
Cascading Style Sheets
Jerome Locson
 
An Overview of HTML, CSS & Java Script
Fahim Abdullah
 
Let me design
Anurag Deb
 
Ad

Recently uploaded (20)

PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PDF
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PPTX
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PPTX
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
PPTX
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
infertility, types,causes, impact, and management
Ritu480198
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
STATEMENT-BY-THE-HON.-MINISTER-FOR-HEALTH-ON-THE-COVID-19-OUTBREAK-AT-UG_revi...
nservice241
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
How to Manage Allocation Report for Manufacturing Orders in Odoo 18
Celine George
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
How to Send Email From Odoo 18 Website - Odoo Slides
Celine George
 
TRANSLATIONAL AND ROTATIONAL MOTION.pptx
KIPAIZAGABAWA1
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Ad

Web1O1 - Intro to HTML/CSS

  • 1. MeetupWeb 1O1 – Intro to HTML/CSSkatarinamilkovat: twitter.com/katmilke: [email protected]
  • 2. What is the Web?It’s magic!Network of a collection of interlinked hypertext documents accessed via internetConsists of web servers, IP (internet protocol), DNS (domain name service) and pixie dust
  • 3. WebConsists of many languages HTML, CSS, JS, PHP, etc.Every language has it’s own syntax and semanticsSyntax: the study of grammar (how you say something)Semantics: the study of meaning (meaning behind what you say)
  • 4. Web LayersHTML = Content LayerThis is the structure and raw content of the pageCSS = Presentation LayerThis layer add styles to the structure and content of your webpageJS = Behavior LayerThis layer dictates how an item behaves when clicked on, hovered over, or sometimes further styled to achieve a certain look/behaviorIt dictates how things act and react to user interaction
  • 5. What is HTML?HyperTextMarkup LanguageIt is a simple data language that consists of tags used to display content of a webpageIt defines the structure and semantics of your web documentIt is referred to as the content layer in the web cake analogyMost commonly used today is the more structured way of writing HTML: xHTML Extensible HyperTextMarkup Language
  • 6. What is HTML?It is NOT a programming languageIt is a markup languageA markup language is a set of markup tagsUses markup tags to describe web pages(source: http://www.w3schools.com/html/html_intro.asp)
  • 7. How does it work?Very simple and logical formatMuch like a word documentRead from top to bottom, left to right.Written with text in a plain text editorConsists of tags used to set certain sections apart (bigger text, bolder text, etc)Different tags call different functions and do different things to the HTML text.For a list of tags for HTML 4.0 and xHTML 1.0 visit: http://www.w3schools.com/tags/default.asp
  • 8. What is a tag?A tag is the basis for HTMLIt’s a command enclosed with less-than and greater-than sign<html>, <head>, <body>, <h1>, <p>making text bold, turning text into a heading, grouping sentences to form a paragraph, etc.Most tags come in pairs:an opening (starting) and a closing (ending) tag <title> title goes here </title>Some tags are self closing, such as a meta tag<meta name=“” content=“” />Every open tag must correspondingly be closed(source: http://www.w3schools.com/html/html_intro.asp)
  • 9. What does it look like?<!DOCTYPE html PUBLIC … ><html> <head> <title>Basic HTML Page</title> <meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 10. Closer Look at DOCTYPE<!DOCTYPE html PUBLIC … ><html> <head> <title>Basic HTML Page</title> <meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 11. DOCTYPE?<!DOCTYPE html PUBLIC … >The doctype declaration is important It tells the browser:what type of HTML you are usingwhich convention you’ll need to follow when coding the website contentFor more info see recommended list of doctypes: http://www.w3.org/QA/2002/04/valid-dtd-list.htmlMost common:xHTML 1.0 TransitionalxHTML 1.0 StrictNewest:HTML5 (not a standard yet!)
  • 12. Lookat HTML tag<!DOCTYPE html PUBLIC … ><html> <head> <title>Basic HTML Page</title> <meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 13. HTML tag?<html> </html>Creates basic HTML document<html>The opening HTML tagSets the starting point of your HTML document</html>The closing HTML tagSets the closing point of your HTML document
  • 14. Take a look at HEAD tag<!DOCTYPE html PUBLIC … ><html> <head> <title>Basic HTML Page</title> <meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 15. HEAD tag?<head> </head>Contains header information for the pageThis is not rendered in the page itselfContains other tags like:<title>, <meta>, <link>, etc.<head>The opening head tag</head>The closing head tag
  • 16. Look inside the HEAD<!DOCTYPE html PUBLIC … ><html> <head><title>Basic HTML Page</title><meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 17. Inside the HEAD<title>Title of page</title> rendered in top of browser or browser tab<meta name=“description” content=“” />There are 3 basic types of meta tags used:Content-type: tells browser which character set you’re using. Most common: UTF-8Description: sets description of website that appears in search engine listingsKeywords: lists out keywords and phrases that relate to your page, separated by commas.
  • 18. Look that BODY tag<!DOCTYPE html PUBLIC … ><html> <head> <title>Basic HTML Page</title> <meta name=“” content=“” /> </head> <body> <h1>Hello World!</h1> </body></html>
  • 19. What is the BODY tag?<body> </body>Contains all the contents of the web pageThis is where all the content of your webpage goes<body>The opening body tag</body>The closing body tag
  • 20. How do I style my HTML?HTML is not meant for styleHTML is just raw content and structure (markup of the document)To style HTML, we use a stylesheetThe stylesheet dictates how we present our content (HTML) to the user in the browserCascading Style Sheets are used to style HTML
  • 21. What is CSS?Cascading Style SheetsIt’s a style language that defines the presentation of your HTML (colors, layout, text-formatting, etc.)Referred to as the presentation layer Recommended way to control presentation of your HTML documentOwn language with own syntax
  • 22. How to include CSS?InlineWritten on actual HTML tagsWorst way to include CSS *avoid if possible, but there are some exceptionsEmbeddedWritten between <style> tag typically in the <head>Override any similar rules in external sheetStyles stay with HTML page and don’t carry over to other pages with your websiteExternalTypically loaded in the <head> with a <link> tagBest way to include CSS in document
  • 23. Including CSSInternal: Written inline on HTML tags<body style=“background-color: #f00;”>Embedded: Written in a <style> tag <style type=“text/css” media=“screen”> body { background-color: #f00; }</style>External: Included as a separate document<link type=“text/css” href=“http://link/file.css” rel=“stylesheet” media=“screen” />
  • 24. How CSS looks?#element-id {color: #fff;font-size: 12px;}.element-class {color: #f00;font-weight: 700;} (selectors, properties and values)
  • 25. What is JS?Programming (scripting) language that adds functionality to websiteBehavior layer (functionality)Common Libraries: jQuery, MooTools
  • 26. Tools to WriteSimple text editor works perfectly fine for writing HTML and CSSNotepad, Notepad++, BBEdit, NetBeans, TextEdit, TextWrangler, TextMate, Dreamweaver, Vim
  • 28. Tools to HaveWeb Developer Toolbar for FirefoxLink: https://addons.mozilla.org/en-us/firefox/addon/web-developer/Firebug for FirefoxLink: https://addons.mozilla.org/en-US/firefox/addon/firebug/
  • 29. Thank You!Any Questions?SlideShare: http://www.slideshare.net/katmilk/katarinamilkovat: twitter.com/katmilke: [email protected]