SlideShare a Scribd company logo
Interactive Media
   Heather Strycharz
 Lecture 1 – August 30, 2012
- Douglas Rushkoff
HTML = HyperText Markup Language
CSS = Cascading Style Sheets

http://en.wikipedia.org/wiki/HTML_element
http://www.w3.org/TR/html-markup/syntax.html


In linguistics, syntax is "the study of the principles and processes by which sentences are
constructed in particular languages".
http://reference.sitepoint.com/html/page-structure
The <div> tag defines a division
or a section in an HTML
document.                                    Header

The <div> tag is used to group
block-elements to format them
with styles.


                                   Content
                                                       Side Nav




                                              Footer
Divs
Example 1
Divs – Example 2
Header
                 Logo               Menu Item 1 - Menu Item 2 - Menu Item 3




           H1 – Title Here                                            Side Nav Item 1
                                                                      Side Nav Item 2
           Body text is here. Lorem ipsum dolor sit
                                                                      Side Nav Item 3
           amet, consectetur adipiscing elit. Duis
                                                                      Side Nav Item 4
           hendrerit mollis placerat. Sed lacus eros,                 Side Nav Item 5
           vestibulum eget iaculis consectetur,                       Side Nav Item 6
           posuere ut lectus.
Content                                                                                       Side Nav
           Pellentesque dignissim metus eu odio                   Lorem ipsum dolor sit
           ullamcorper quis elementum nibh auctor.                amet, consectetur
           Cras pharetra magna sed est lacinia                    adipiscing elit. Duis
           imperdiet. Etiam dui purus, ullamcorper                hendrerit mollis
           nec bibendum id, posuere sed arcu. Cras id             placerat. Sed lacus eros,
           scelerisque quam.                                      vestibulum eget iaculis
                                                                  consectetur, posuere ut
           Nullam et leo ipsum. In lacinia ipsum nec              lectus.
           nunc dictum posuere. Nam sollicitudin, nisi
           nec fringilla pharetra, metus sapien
           sollicitudin nibh, vitae cursus turpis nisl et
           sem.




  Footer   Lorem ipsum dolor sit amet.         Menu Item 1 - Menu Item 2 - Menu Item 3
<div id=“content”>
<h1>H1 – Title Here</h1>

<span>
<p>Body text is here. Lorem ipsum dolor sit amet,
consectetur adipiscing elit. Duis hendrerit mollis
placerat. Sed lacus eros, vestibulum eget iaculis
consectetur, posuere ut lectus. </p>

<p>Pellentesque dignissim metus eu odio ullamcorper
quis elementum nibh auctor. Cras pharetra magna sed
est lacinia imperdiet. Etiam dui purus, ullamcorper
nec bibendum id, posuere sed arcu. Cras id
scelerisque quam. </p>

<p>Nullam et leo ipsum. In lacinia ipsum nec nunc
dictum posuere. Nam sollicitudin, nisi nec fringilla
pharetra, metus sapien sollicitudin nibh, vitae cursus
turpis nisl et sem.</p>
</span>
</div>
<html>
<body>
<div id="keroppi" style="width: 180px; float: left; display: block;">
 <img src="http://images1.fanpop.com/images/photos/2300000/Keroppi-Fishie-keroppi-2355325-
240-238.gif" height="150px"/>
</div>

 <div id="hello" style=“padding:10px; float: left; border: 1px solid lime; width: 100px; height: 50px;
margin-top: 20px;">
  <span style="text-align: center; color: green; width: 100px;"> Hello world!</span>
 </div>

 </body>
</html>
Styles                     Inline - using the style attribute in HTML elements
                           Internal - using the <style> element in the <head> section
                           External - using an external CSS file



Inline     <div id="keroppi" style="width: 180px; float: left; display: block;">
            <img src="http://images1.fanpop.com/images/photos/2300000/Keroppi-
           Fishie-keroppi-2355325-240-238.gif" height="150px"/>
           </div>


Internal   <head>type
           <style ="text/css">
           body {background-color:yellow;}
           p {color:blue;}
           </style>
           </head>


External   <head>
           <link rel="stylesheet" type="text/css" href="mystyle.css" />
           </head>
HTML colors are defined using a
hexadecimal notation (HEX) for the
combination of Red, Green, and Blue color
values (RGB).

The lowest value that can be given to one
of the light sources is 0 (in HEX: 00).

The highest value is 255 (in HEX: FF).

HEX values are specified as 3 pairs of two-
digit numbers, starting with a # sign.

More Related Content

PDF
Shanika
PPTX
Refactoring css
PDF
Changing climate change before it changes us
PPTX
Dashboard
PPTX
Moodle ppt test ppt version 520pm
PPTX
Real HCG Drops For Real Benefits
PPTX
PPT
Definition of Matter Lab + Phase Change- Day 2
Shanika
Refactoring css
Changing climate change before it changes us
Dashboard
Moodle ppt test ppt version 520pm
Real HCG Drops For Real Benefits
Definition of Matter Lab + Phase Change- Day 2

Viewers also liked (19)

PDF
อติมา อุ่นจิตร
PPTX
Understanding the Icarus Flight of Flappy Bird
PPTX
Aparato digestivo
PPTX
MBA724 s6 w1 experimental design
DOC
S t o r y b o a r d
PPT
Corespring
PDF
ながのシティプロモーションのキャッチフレーズ及びロゴマークについて
PPTX
เบาหวาน+~..
PPTX
10 species of dinosaur from Romania
PPTX
Writing up the final report (narrated)
PPT
Ch03 cont.
PDF
Csooow12 amit-jasuja-securing-new-experience6
PPTX
Tutorial1 - Part 2
PPTX
La maga mil
PDF
33 deputados norte-americanos criticam o golpe
PDF
Island Hotel Presentation 2012
PDF
From WOM to the WEB, Effective Marketing Strategies for your School, classic...
PDF
Egoera: La economía de Bizkaia - Marzo 2016 - nº21
อติมา อุ่นจิตร
Understanding the Icarus Flight of Flappy Bird
Aparato digestivo
MBA724 s6 w1 experimental design
S t o r y b o a r d
Corespring
ながのシティプロモーションのキャッチフレーズ及びロゴマークについて
เบาหวาน+~..
10 species of dinosaur from Romania
Writing up the final report (narrated)
Ch03 cont.
Csooow12 amit-jasuja-securing-new-experience6
Tutorial1 - Part 2
La maga mil
33 deputados norte-americanos criticam o golpe
Island Hotel Presentation 2012
From WOM to the WEB, Effective Marketing Strategies for your School, classic...
Egoera: La economía de Bizkaia - Marzo 2016 - nº21
Ad

Similar to Lesson1 (20)

PPTX
Lesson1 - Fall 2013
PPTX
Web technologies: Lesson 2
PDF
Bangla HTML Tutorial
PDF
Html bangla
PDF
Le wagon workshop - 2h landing page - Andre Ferrer
PDF
Styleguide-Driven Development: The New Web Development
PDF
DrupalTour. Lviv — Bumpy road of Drupal7 (Pavel Shevchuk, EPAM)
PPTX
PDF
Learning html & dhtml
PDF
Designing code
PDF
HTML introduction
PPT
Basics-of-HTML Basics-of-HTML Basics-of-HTML
PPTX
Day of code
PDF
Class 4 handout two column layout w mobile web design
PDF
Frontend for developers
PPT
Beginning html
PPT
HTML NOTES.ppt BASIC HTML PROGRAMING NOTES
PDF
Le Wagon Tokyo - 2 hours landing page
PDF
Le Wagon Tokyo | Build your Landing Page in 2 hours
PPT
902350_HTML_Jar.ppt
Lesson1 - Fall 2013
Web technologies: Lesson 2
Bangla HTML Tutorial
Html bangla
Le wagon workshop - 2h landing page - Andre Ferrer
Styleguide-Driven Development: The New Web Development
DrupalTour. Lviv — Bumpy road of Drupal7 (Pavel Shevchuk, EPAM)
Learning html & dhtml
Designing code
HTML introduction
Basics-of-HTML Basics-of-HTML Basics-of-HTML
Day of code
Class 4 handout two column layout w mobile web design
Frontend for developers
Beginning html
HTML NOTES.ppt BASIC HTML PROGRAMING NOTES
Le Wagon Tokyo - 2 hours landing page
Le Wagon Tokyo | Build your Landing Page in 2 hours
902350_HTML_Jar.ppt
Ad

More from hstryk (14)

PPTX
CSS - Text Properties
PPT
Lesson 3 - HTML & CSS Part 2
PPTX
Lesson2
PPTX
CSS3 Transitions
PPTX
CSS Layout Tutorial
PPTX
Introduction to CSS3
PPTX
Sprites rollovers
PDF
Building a Website from Planning to Photoshop Mockup to HTML/CSS
PPTX
Lecture4
PDF
Tutorial1
PDF
Project1
PPTX
Lesson 3
PPTX
Lesson2
PDF
Heather Strycharz - Resume
CSS - Text Properties
Lesson 3 - HTML & CSS Part 2
Lesson2
CSS3 Transitions
CSS Layout Tutorial
Introduction to CSS3
Sprites rollovers
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Lecture4
Tutorial1
Project1
Lesson 3
Lesson2
Heather Strycharz - Resume

Recently uploaded (20)

PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
August Patch Tuesday
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
STKI Israel Market Study 2025 version august
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
Benefits of Physical activity for teenagers.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
CloudStack 4.21: First Look Webinar slides
PPTX
Modernising the Digital Integration Hub
PDF
Five Habits of High-Impact Board Members
PDF
Architecture types and enterprise applications.pdf
PDF
Getting Started with Data Integration: FME Form 101
PDF
Hybrid model detection and classification of lung cancer
PDF
Getting started with AI Agents and Multi-Agent Systems
Zenith AI: Advanced Artificial Intelligence
observCloud-Native Containerability and monitoring.pptx
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
Module 1.ppt Iot fundamentals and Architecture
August Patch Tuesday
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
STKI Israel Market Study 2025 version august
A review of recent deep learning applications in wood surface defect identifi...
Benefits of Physical activity for teenagers.pptx
WOOl fibre morphology and structure.pdf for textiles
Assigned Numbers - 2025 - Bluetooth® Document
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
DP Operators-handbook-extract for the Mautical Institute
CloudStack 4.21: First Look Webinar slides
Modernising the Digital Integration Hub
Five Habits of High-Impact Board Members
Architecture types and enterprise applications.pdf
Getting Started with Data Integration: FME Form 101
Hybrid model detection and classification of lung cancer
Getting started with AI Agents and Multi-Agent Systems

Lesson1

  • 1. Interactive Media Heather Strycharz Lecture 1 – August 30, 2012
  • 3. HTML = HyperText Markup Language CSS = Cascading Style Sheets http://en.wikipedia.org/wiki/HTML_element http://www.w3.org/TR/html-markup/syntax.html In linguistics, syntax is "the study of the principles and processes by which sentences are constructed in particular languages".
  • 5. The <div> tag defines a division or a section in an HTML document. Header The <div> tag is used to group block-elements to format them with styles. Content Side Nav Footer
  • 8. Header Logo Menu Item 1 - Menu Item 2 - Menu Item 3 H1 – Title Here Side Nav Item 1 Side Nav Item 2 Body text is here. Lorem ipsum dolor sit Side Nav Item 3 amet, consectetur adipiscing elit. Duis Side Nav Item 4 hendrerit mollis placerat. Sed lacus eros, Side Nav Item 5 vestibulum eget iaculis consectetur, Side Nav Item 6 posuere ut lectus. Content Side Nav Pellentesque dignissim metus eu odio Lorem ipsum dolor sit ullamcorper quis elementum nibh auctor. amet, consectetur Cras pharetra magna sed est lacinia adipiscing elit. Duis imperdiet. Etiam dui purus, ullamcorper hendrerit mollis nec bibendum id, posuere sed arcu. Cras id placerat. Sed lacus eros, scelerisque quam. vestibulum eget iaculis consectetur, posuere ut Nullam et leo ipsum. In lacinia ipsum nec lectus. nunc dictum posuere. Nam sollicitudin, nisi nec fringilla pharetra, metus sapien sollicitudin nibh, vitae cursus turpis nisl et sem. Footer Lorem ipsum dolor sit amet. Menu Item 1 - Menu Item 2 - Menu Item 3
  • 9. <div id=“content”> <h1>H1 – Title Here</h1> <span> <p>Body text is here. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis hendrerit mollis placerat. Sed lacus eros, vestibulum eget iaculis consectetur, posuere ut lectus. </p> <p>Pellentesque dignissim metus eu odio ullamcorper quis elementum nibh auctor. Cras pharetra magna sed est lacinia imperdiet. Etiam dui purus, ullamcorper nec bibendum id, posuere sed arcu. Cras id scelerisque quam. </p> <p>Nullam et leo ipsum. In lacinia ipsum nec nunc dictum posuere. Nam sollicitudin, nisi nec fringilla pharetra, metus sapien sollicitudin nibh, vitae cursus turpis nisl et sem.</p> </span> </div>
  • 10. <html> <body> <div id="keroppi" style="width: 180px; float: left; display: block;"> <img src="http://images1.fanpop.com/images/photos/2300000/Keroppi-Fishie-keroppi-2355325- 240-238.gif" height="150px"/> </div> <div id="hello" style=“padding:10px; float: left; border: 1px solid lime; width: 100px; height: 50px; margin-top: 20px;"> <span style="text-align: center; color: green; width: 100px;"> Hello world!</span> </div> </body> </html>
  • 11. Styles Inline - using the style attribute in HTML elements Internal - using the <style> element in the <head> section External - using an external CSS file Inline <div id="keroppi" style="width: 180px; float: left; display: block;"> <img src="http://images1.fanpop.com/images/photos/2300000/Keroppi- Fishie-keroppi-2355325-240-238.gif" height="150px"/> </div> Internal <head>type <style ="text/css"> body {background-color:yellow;} p {color:blue;} </style> </head> External <head> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head>
  • 12. HTML colors are defined using a hexadecimal notation (HEX) for the combination of Red, Green, and Blue color values (RGB). The lowest value that can be given to one of the light sources is 0 (in HEX: 00). The highest value is 255 (in HEX: FF). HEX values are specified as 3 pairs of two- digit numbers, starting with a # sign.