Movatterモバイル変換


[0]ホーム

URL:


NYCSS Meetup, profile picture
Uploaded byNYCSS Meetup
PPTX, PDF804 views

Web1O1 - Intro to HTML/CSS

This document provides an introduction to HTML, CSS, and the basic structure of a web page. It explains that HTML is the content layer and defines the structure and semantics of a web page using tags. CSS is the presentation layer and controls the styling and layout of HTML content. The main parts of an HTML document are the <DOCTYPE>, <html>, <head>, and <body> tags. The <head> contains meta information while the <body> holds visible page content. CSS can be included inline, embedded, or through an external stylesheet to style HTML elements. JavaScript adds interactivity and functionality to web pages.

Embed presentation

Downloaded 37 times
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

Recommended

PPTX
Web development using HTML and CSS
PPT
Lesson 2: Getting To Know HTML
PDF
Lesson 1: Introduction to HTML
PDF
Intro to HTML & CSS
PPTX
HTML and CSS
PPTX
Html n CSS
PPTX
html & css
PPTX
Web development basics
PDF
Html for beginners
PDF
Introduction to HTML and CSS
PPTX
Introduction to HTML
PPSX
Steph's Html5 and css presentation
PPTX
Html and css
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
PPTX
Web 101 intro to html
PPTX
Artistic Web Applications - Week3 - Part 3
PPTX
Introduction to HTML
PPTX
Html introduction by ikram niaz
PPTX
How the Web Works Using HTML
PDF
Introduction to the Web and HTML
PPTX
Html and css presentation
PPTX
Introduction to HTML and CSS
PPTX
Html & CSS
PPT
HTML email design and usability
PDF
Html css crash course may 11th, atlanta
PPTX
Introduction to html course digital markerters
PPT
Introduction to HTML
PPT
HTML & CSS.ppt
PPS
Web Designing

More Related Content

PPTX
Web development using HTML and CSS
PPT
Lesson 2: Getting To Know HTML
PDF
Lesson 1: Introduction to HTML
PDF
Intro to HTML & CSS
PPTX
HTML and CSS
PPTX
Html n CSS
PPTX
html & css
PPTX
Web development basics
Web development using HTML and CSS
Lesson 2: Getting To Know HTML
Lesson 1: Introduction to HTML
Intro to HTML & CSS
HTML and CSS
Html n CSS
html & css
Web development basics

What's hot

PDF
Html for beginners
PDF
Introduction to HTML and CSS
PPTX
Introduction to HTML
PPSX
Steph's Html5 and css presentation
PPTX
Html and css
PDF
Thinkful - Frontend Crash Course - Intro to HTML/CSS
PPTX
Web 101 intro to html
PPTX
Artistic Web Applications - Week3 - Part 3
PPTX
Introduction to HTML
PPTX
Html introduction by ikram niaz
PPTX
How the Web Works Using HTML
PDF
Introduction to the Web and HTML
PPTX
Html and css presentation
PPTX
Introduction to HTML and CSS
PPTX
Html & CSS
PPT
HTML email design and usability
PDF
Html css crash course may 11th, atlanta
PPTX
Introduction to html course digital markerters
PPT
Introduction to HTML
Html for beginners
Introduction to HTML and CSS
Introduction to HTML
Steph's Html5 and css presentation
Html and css
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Web 101 intro to html
Artistic Web Applications - Week3 - Part 3
Introduction to HTML
Html introduction by ikram niaz
How the Web Works Using HTML
Introduction to the Web and HTML
Html and css presentation
Introduction to HTML and CSS
Html & CSS
HTML email design and usability
Html css crash course may 11th, atlanta
Introduction to html course digital markerters
Introduction to HTML

Similar to Web1O1 - Intro to HTML/CSS

PPT
HTML & CSS.ppt
PPS
Web Designing
PPT
html and css- 23091 3154 458-5d4341a0.ppt
PDF
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
PPTX
Html
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
Introduction to HTML+CSS+Javascript.pptx
PDF
Web Concepts - an introduction - introduction
PPT
Web Development using HTML & CSS
KEY
Class1slides
PPTX
Introduction to HTML+CSS+Javascript.pptx
PPTX
web programming, Introduction to html tags
PPTX
mst_unit1.pptx
PDF
Web engineering notes unit 3
ODP
Light introduction to HTML
PPT
Cascading Style Sheets
PPTX
An Overview of HTML, CSS & Java Script
PDF
Let me design
HTML & CSS.ppt
Web Designing
html and css- 23091 3154 458-5d4341a0.ppt
Girl Develop It Cincinnati: Intro to HTML/CSS Class 1
Html
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
Introduction to HTML+CSS+Javascript.pptx
Web Concepts - an introduction - introduction
Web Development using HTML & CSS
Class1slides
Introduction to HTML+CSS+Javascript.pptx
web programming, Introduction to html tags
mst_unit1.pptx
Web engineering notes unit 3
Light introduction to HTML
Cascading Style Sheets
An Overview of HTML, CSS & Java Script
Let me design

Recently uploaded

PPTX
Details of Epithelial and Connective Tissue.pptx
PPTX
Semester 6 UNIT 2 Dislocation of hip.pptx
PPTX
Searching in PubMed andCochrane_Practical Presentation.pptx
PDF
M.Sc. Nonchordates Complete Syllabus PPT | All Important Topics Covered
PDF
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
PDF
Scalable-MADDPG-Based Cooperative Target Invasion for a Multi-USV System.pdf
PPTX
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
PPTX
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
PDF
NAVIGATE PHARMACY CAREER OPPORTUNITIES.pdf
PPTX
AI_in_Daily_Life_Presentation and more.pptx
PDF
Current Electricity for first year physiotherapy
PPTX
Campfens "The Data Qualify Challenge: Publishers, institutions, and funders r...
PPTX
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
PPTX
extracting significant information to formulate sound judgement
PPTX
Pain. definition, causes, factor influencing pain & pain assessment.pptx
PDF
BỘ TEST KIỂM TRA CUỐI HỌC KÌ 1 - TIẾNG ANH 6-7-8-9 GLOBAL SUCCESS - PHIÊN BẢN...
PDF
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
PPTX
York "Collaboration for Research Support at U-M Library"
PPTX
Pig- piggy bank in Big Data Analytics.ppt.pptx
PDF
Analyzing the data of your initial survey
Details of Epithelial and Connective Tissue.pptx
Semester 6 UNIT 2 Dislocation of hip.pptx
Searching in PubMed andCochrane_Practical Presentation.pptx
M.Sc. Nonchordates Complete Syllabus PPT | All Important Topics Covered
1ST APPLICATION FOR ANNULMENT (4)8787666.pdf
Scalable-MADDPG-Based Cooperative Target Invasion for a Multi-USV System.pdf
ELEMENTS OF COMMUNICATION (UNIT 2) .pptx
Unit I — Introduction to Anatomical Terms and Organization of the Human Body
NAVIGATE PHARMACY CAREER OPPORTUNITIES.pdf
AI_in_Daily_Life_Presentation and more.pptx
Current Electricity for first year physiotherapy
Campfens "The Data Qualify Challenge: Publishers, institutions, and funders r...
PURPOSIVE SAMPLING IN EDUCATIONAL RESEARCH RACHITHRA RK.pptx
extracting significant information to formulate sound judgement
Pain. definition, causes, factor influencing pain & pain assessment.pptx
BỘ TEST KIỂM TRA CUỐI HỌC KÌ 1 - TIẾNG ANH 6-7-8-9 GLOBAL SUCCESS - PHIÊN BẢN...
DHA/HAAD/MOH/DOH OPTOMETRY MCQ PYQ. .pdf
York "Collaboration for Research Support at U-M Library"
Pig- piggy bank in Big Data Analytics.ppt.pptx
Analyzing the data of your initial survey

Web1O1 - Intro to HTML/CSS

  • 1.
    MeetupWeb 1O1 –Intro to HTML/CSSkatarinamilkovat: twitter.com/katmilke: katarina.milkova@gmail.com
  • 2.
    What is theWeb?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 manylanguages 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?HyperTextMarkupLanguageIt 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?Itis 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 itwork?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 atag?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 itlook 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 atDOCTYPE<!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 lookat 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>Containsheader 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 theHEAD<!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>Titleof 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 BODYtag<!DOCTYPE html PUBLIC … ><html><head><title>Basic HTML Page</title><meta name=“” content=“” /></head><body><h1>Hello World!</h1></body></html>
  • 19.
    What is theBODY 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 Istyle 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?CascadingStyle 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 includeCSS?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 WriteSimpletext editor works perfectly fine for writing HTML and CSSNotepad, Notepad++, BBEdit, NetBeans, TextEdit, TextWrangler, TextMate, Dreamweaver, Vim
  • 27.
  • 28.
    Tools to HaveWebDeveloper 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: katarina.milkova@gmail.com

[8]ページ先頭

©2009-2025 Movatter.jp