SlideShare uma empresa Scribd logo
1 de 14
Interactive Media
Heather Strycharz
Lecture 1 – August 29, 2013
- 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
Header
Content
Side Nav
Footer
The <div> tag defines a division
or a section in an HTML
document.
The <div> tag is used to group
block-elements to format them
with styles.
Divs
Example 1
Divs – Example 2
http://letsyep.com
Header
Content Side Nav
Footer
Logo
H1 – Title Here
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.
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.
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.
Menu Item 1 - Menu Item 2 - Menu Item 3
Lorem ipsum dolor sit
amet, consectetur
adipiscing elit. Duis
hendrerit mollis
placerat. Sed lacus
eros, vestibulum eget
iaculis
consectetur, posuere ut
lectus.
Side Nav Item 1
Side Nav Item 2
Side Nav Item 3
Side Nav Item 4
Side Nav Item 5
Side Nav Item 6
Menu Item 1 - Menu Item 2 - Menu Item 3Lorem ipsum dolor sit amet.
<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="heart" style="width: 180px; float: left; display: block;">
<img src="http://www.lovelocaldesign.com/wp-content/uploads/2012/12/lovelocal.png"
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>
http://tinkerbin.com
Inline - using the style attribute in HTML elements
Internal - using the <style> element in the <head> section
External - using an external CSS file
Styles
<div id=”heart" style="width: 180px; float: left; display: block;">
<img src="http://www.lovelocaldesign.com/wp-
content/uploads/2012/12/lovelocal.png" height="150px"/>
</div>
Inline
<head>type
<style ="text/css">
body {background-color:yellow;}
p {color:blue;}
</style>
</head>
Internal
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css" />
</head>
External
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.

Mais conteúdo relacionado

Destaque

Circassia, Genocide and Ethnic Cleansing - Part 3
Circassia, Genocide and Ethnic Cleansing - Part 3Circassia, Genocide and Ethnic Cleansing - Part 3
Circassia, Genocide and Ethnic Cleansing - Part 3Walid Hakouz
 
Pangunahing problema sa aking barangay
Pangunahing problema sa aking barangayPangunahing problema sa aking barangay
Pangunahing problema sa aking barangayClarissa Sulit
 
وصول ثوب قراءة القرأن
وصول ثوب قراءة القرأنوصول ثوب قراءة القرأن
وصول ثوب قراءة القرأنSiti Rohana Sirona
 
Bab vii. periode summary ikhtisar berkala
Bab vii. periode summary   ikhtisar berkalaBab vii. periode summary   ikhtisar berkala
Bab vii. periode summary ikhtisar berkalaFebri Phaniank
 
Brand New Inanimate Alice by Katie and Daisy and romany
Brand New Inanimate Alice by Katie and Daisy and romanyBrand New Inanimate Alice by Katie and Daisy and romany
Brand New Inanimate Alice by Katie and Daisy and romanyMrsPrentice
 
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014Tanya Madjarova
 
Мой город - Кострома, №15
Мой город - Кострома, №15Мой город - Кострома, №15
Мой город - Кострома, №15Мой город
 
Wordpress Security & Hardening Steps
Wordpress Security & Hardening StepsWordpress Security & Hardening Steps
Wordpress Security & Hardening StepsPlasterdog Web Design
 
Horrible Jobs
Horrible JobsHorrible Jobs
Horrible Jobsmkm29
 
Multimedia06
Multimedia06Multimedia06
Multimedia06Les Davy
 
Museum date
Museum dateMuseum date
Museum dateLes Davy
 

Destaque (19)

Circassia, Genocide and Ethnic Cleansing - Part 3
Circassia, Genocide and Ethnic Cleansing - Part 3Circassia, Genocide and Ethnic Cleansing - Part 3
Circassia, Genocide and Ethnic Cleansing - Part 3
 
Pangunahing problema sa aking barangay
Pangunahing problema sa aking barangayPangunahing problema sa aking barangay
Pangunahing problema sa aking barangay
 
Rde c words from visitors trip advisor comments
Rde c words from visitors   trip advisor commentsRde c words from visitors   trip advisor comments
Rde c words from visitors trip advisor comments
 
1 3
1 31 3
1 3
 
وصول ثوب قراءة القرأن
وصول ثوب قراءة القرأنوصول ثوب قراءة القرأن
وصول ثوب قراءة القرأن
 
Bab vii. periode summary ikhtisar berkala
Bab vii. periode summary   ikhtisar berkalaBab vii. periode summary   ikhtisar berkala
Bab vii. periode summary ikhtisar berkala
 
Marie Højhus
Marie HøjhusMarie Højhus
Marie Højhus
 
Brand New Inanimate Alice by Katie and Daisy and romany
Brand New Inanimate Alice by Katie and Daisy and romanyBrand New Inanimate Alice by Katie and Daisy and romany
Brand New Inanimate Alice by Katie and Daisy and romany
 
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014
Awards Ceremony: K.C.'s Nominations, Romain Rolland FLS, 2014
 
Мой город - Кострома, №15
Мой город - Кострома, №15Мой город - Кострома, №15
Мой город - Кострома, №15
 
Petaluma Wetlands
Petaluma WetlandsPetaluma Wetlands
Petaluma Wetlands
 
Wordpress Security & Hardening Steps
Wordpress Security & Hardening StepsWordpress Security & Hardening Steps
Wordpress Security & Hardening Steps
 
Acrocanthasaurus
AcrocanthasaurusAcrocanthasaurus
Acrocanthasaurus
 
Software development company
Software development companySoftware development company
Software development company
 
Horrible Jobs
Horrible JobsHorrible Jobs
Horrible Jobs
 
Multimedia06
Multimedia06Multimedia06
Multimedia06
 
Lenovo all in one
Lenovo all in oneLenovo all in one
Lenovo all in one
 
Museum date
Museum dateMuseum date
Museum date
 
Loaf of bread
Loaf of breadLoaf of bread
Loaf of bread
 

Semelhante a Interactive Media Document Structure

Class 4 handout two column layout w mobile web design
Class 4 handout two column layout w mobile web designClass 4 handout two column layout w mobile web design
Class 4 handout two column layout w mobile web designErin M. Kidwell
 
Web technologies: Lesson 2
Web technologies: Lesson 2Web technologies: Lesson 2
Web technologies: Lesson 2nhepner
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersTsungWei Hu
 
Customize all the Things! How to customize Windows and Web applications.
Customize all the Things! How to customize Windows and Web applications.Customize all the Things! How to customize Windows and Web applications.
Customize all the Things! How to customize Windows and Web applications.Jason Conger
 
HTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.pptHTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.pptraghavanp4
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える拓樹 谷
 
Lesson1
Lesson1Lesson1
Lesson1hstryk
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Mario Heiderich
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5Terry Ryan
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucksTim Wright
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]Dalibor Gogic
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptxMaruthiPrasad96
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205志宇 許
 
Bangla HTML Tutorial
Bangla HTML TutorialBangla HTML Tutorial
Bangla HTML TutorialDhiman Biswas
 

Semelhante a Interactive Media Document Structure (20)

Class 4 handout two column layout w mobile web design
Class 4 handout two column layout w mobile web designClass 4 handout two column layout w mobile web design
Class 4 handout two column layout w mobile web design
 
Web technologies: Lesson 2
Web technologies: Lesson 2Web technologies: Lesson 2
Web technologies: Lesson 2
 
Diazo: Bridging Designers and Programmers
Diazo: Bridging Designers and ProgrammersDiazo: Bridging Designers and Programmers
Diazo: Bridging Designers and Programmers
 
Customize all the Things! How to customize Windows and Web applications.
Customize all the Things! How to customize Windows and Web applications.Customize all the Things! How to customize Windows and Web applications.
Customize all the Things! How to customize Windows and Web applications.
 
Basic html
Basic htmlBasic html
Basic html
 
Basic html tags
Basic html tagsBasic html tags
Basic html tags
 
HTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.pptHTML Web Devlopment presentation css.ppt
HTML Web Devlopment presentation css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
css.ppt
css.pptcss.ppt
css.ppt
 
モダンなCSS設計パターンを考える
モダンなCSS設計パターンを考えるモダンなCSS設計パターンを考える
モダンなCSS設計パターンを考える
 
Lesson1
Lesson1Lesson1
Lesson1
 
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
Copy & Pest - A case-study on the clipboard, blind trust and invisible cross-...
 
Introduction to HTML5
Introduction to HTML5Introduction to HTML5
Introduction to HTML5
 
Slow kinda sucks
Slow kinda sucksSlow kinda sucks
Slow kinda sucks
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptx
 
Bangla html
Bangla htmlBangla html
Bangla html
 
計算機概論20161205
計算機概論20161205計算機概論20161205
計算機概論20161205
 
Html bangla
Html banglaHtml bangla
Html bangla
 
Bangla HTML Tutorial
Bangla HTML TutorialBangla HTML Tutorial
Bangla HTML Tutorial
 

Mais de hstryk

CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Propertieshstryk
 
Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2hstryk
 
Lesson2
Lesson2Lesson2
Lesson2hstryk
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitionshstryk
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorialhstryk
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3hstryk
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovershstryk
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSShstryk
 
Lecture4
Lecture4Lecture4
Lecture4hstryk
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2hstryk
 
Tutorial1
Tutorial1Tutorial1
Tutorial1hstryk
 
Project1
Project1Project1
Project1hstryk
 
Lesson 3
Lesson 3Lesson 3
Lesson 3hstryk
 
Lesson2
Lesson2Lesson2
Lesson2hstryk
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resumehstryk
 

Mais de hstryk (15)

CSS - Text Properties
CSS - Text PropertiesCSS - Text Properties
CSS - Text Properties
 
Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2Lesson 3 - HTML & CSS Part 2
Lesson 3 - HTML & CSS Part 2
 
Lesson2
Lesson2Lesson2
Lesson2
 
CSS3 Transitions
CSS3 TransitionsCSS3 Transitions
CSS3 Transitions
 
CSS Layout Tutorial
CSS Layout TutorialCSS Layout Tutorial
CSS Layout Tutorial
 
Introduction to CSS3
Introduction to CSS3Introduction to CSS3
Introduction to CSS3
 
Sprites rollovers
Sprites rolloversSprites rollovers
Sprites rollovers
 
Building a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSSBuilding a Website from Planning to Photoshop Mockup to HTML/CSS
Building a Website from Planning to Photoshop Mockup to HTML/CSS
 
Lecture4
Lecture4Lecture4
Lecture4
 
Tutorial1 - Part 2
Tutorial1 - Part 2Tutorial1 - Part 2
Tutorial1 - Part 2
 
Tutorial1
Tutorial1Tutorial1
Tutorial1
 
Project1
Project1Project1
Project1
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Lesson2
Lesson2Lesson2
Lesson2
 
Heather Strycharz - Resume
Heather Strycharz - ResumeHeather Strycharz - Resume
Heather Strycharz - Resume
 

Último

(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ EscortsDelhi Escorts Service
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilabledollysharma2066
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxJackieSparrow3
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做j5bzwet6
 

Último (9)

(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
(No.1)↠Young Call Girls in Sikanderpur (Gurgaon) ꧁❤ 9711911712 ❤꧂ Escorts
 
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 AvilableCall Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
Call Girls In Karkardooma 83770 87607 Just-Dial Escorts Service 24X7 Avilable
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
E J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptxE J Waggoner against Kellogg's Pantheism 8.pptx
E J Waggoner against Kellogg's Pantheism 8.pptx
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Lado Sarai Delhi reach out to us at 🔝9953056974🔝
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 
西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做西伦敦大学毕业证学位证成绩单-怎么样做
西伦敦大学毕业证学位证成绩单-怎么样做
 

Interactive Media Document Structure

  • 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. Header Content Side Nav Footer The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with styles.
  • 9.
  • 10. Header Content Side Nav Footer Logo H1 – Title Here 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. 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. 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. Menu Item 1 - Menu Item 2 - Menu Item 3 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis hendrerit mollis placerat. Sed lacus eros, vestibulum eget iaculis consectetur, posuere ut lectus. Side Nav Item 1 Side Nav Item 2 Side Nav Item 3 Side Nav Item 4 Side Nav Item 5 Side Nav Item 6 Menu Item 1 - Menu Item 2 - Menu Item 3Lorem ipsum dolor sit amet.
  • 11. <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>
  • 12. <html> <body> <div id="heart" style="width: 180px; float: left; display: block;"> <img src="http://www.lovelocaldesign.com/wp-content/uploads/2012/12/lovelocal.png" 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> http://tinkerbin.com
  • 13. Inline - using the style attribute in HTML elements Internal - using the <style> element in the <head> section External - using an external CSS file Styles <div id=”heart" style="width: 180px; float: left; display: block;"> <img src="http://www.lovelocaldesign.com/wp- content/uploads/2012/12/lovelocal.png" height="150px"/> </div> Inline <head>type <style ="text/css"> body {background-color:yellow;} p {color:blue;} </style> </head> Internal <head> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head> External
  • 14. 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.