SlideShare ist ein Scribd-Unternehmen logo
1 von 16
HTML and CSS
       Dave Kanter
 Academy of Art University
      April 24, 2012
Quick Opera
Opera.com
1994, research project at Telnor in
Norway
2nd Oldest Browser still in Use
Built on the Presto ECMAScript Engine
Runs on EVERYTHING
Act I - The Big Deal!
Teeny-tiny market share (~1.6%)
Completely EMCA compliant
Completely HTML compliant
Boatload of Developer Tools
http://www.opera.com/developer/tools/
Huge support for mobile
Act II - Opera Mobile
Designed for Smartphones and PDAs
Runs on EVERYTHING
(but the iPhone)
Nintendo DS and Wii!
Presto is used by Adobe for
documentation
Integrates with Dragon Debugger
Act III - Finale
HTML
Hypertext Markup Language
For DESIGNERS, not coders
Describes page layout
Describes page layout for....?
Basis for all Web pages
HTML Basics
<!DOCTYPE html>

or

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

What is the difference between HTML 4 (XHTML) and HTML 5?

Simplest HTML document:

<!DOCTYPE html>
<head>
<title>Title</title>
</head>
//scripts, css, etc.
<body bgcolor=”#FFFFFF” onload=”something();”>
</body>
</html>
Elements and Attributes
<a href=”mysite.com”>
<input name=”text”>
<font color=”#FF0000”>
Two Types of Tags
<div>This is a Div</div>
<p>This is a paragraph</p>

<br />
<hr />

HTML is all lower case!
Country Gates
Bad:
<span><a href=”mysite.com”><em><strong>Click Me</em></a></span></strong>

Good:
<span><a href=”mysite.com”><em><strong>Click Me</strong></em></a></span>

Even if it works, DON’T DO IT!
<div>, <span>, <p>
CONTAINER TAGS!

<div align=”center”>
You can put your entire site in this one div
</div>

<span>Just one little line of code, a small thing</span>

<p>this will end in a line break!</p>

<div>
<p>Here is <span>some</span> text!</p>
</div>
Lists (used w/css)
Ordered Lists:
<ol>
     <li>Apple</li>
     <li>Banana</li>
     <li>Cantaloupe</li>
</ol>

Unordered Lists:
<ul>
     <li></li>
     <li></li>
     <li></li>
</ul>

Definition Lists:
<dl>
     <dt>Fruits</dt>
         <dd>Apples, Bananas, Cantaloupe</dd>
     <dt>Vegetables</dt>
         <dd>Artichoke, Broccoli, Carrots</dd>
</dl>
Forms
<form>
     First name: <input type=”text” name=”firstname” /><br />

    Password: <input type=”password” name=”pwd” /><br />

    <input type="radio" name="answer" value="true" /> True<br />
    <input type="radio" name="sex" value="false" /> False<br />

    <input type="checkbox" name="vehicle" value="green" /> Green<br />
    <input type="checkbox" name="vehicle" value="red" /> Red<br />

    <select name="pets">
        <option value="cat">Cat</option>
        <option value="dog">Dog</option>
        <option value="fish">Fish</option>
    </select>

     <input type="submit" value="Submit" />
</form>
ISO-8859-1
&quot;
&amp;
&nbsp;
&copy;
&lt;
&gt;
Images
<img>

required:
alt
src

optional:
align
border
height
width
HTML Validation!
Why do it?
How to do it:
http://validator.w3.org
Same goes for JS, CSS, etc...

Weitere ähnliche Inhalte

Was ist angesagt? (7)

Very basic intro to HTML
Very basic intro to HTMLVery basic intro to HTML
Very basic intro to HTML
 
Basics tags for HTML
Basics tags for HTMLBasics tags for HTML
Basics tags for HTML
 
art2830 1st html tag presentation
art2830 1st html tag presentationart2830 1st html tag presentation
art2830 1st html tag presentation
 
Create your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint PresentationCreate your on personal website - PowerPoint Presentation
Create your on personal website - PowerPoint Presentation
 
Introducing to html
Introducing to htmlIntroducing to html
Introducing to html
 
Translating WordPress themes and plugins WordCamp Bhopal 2015
Translating WordPress themes and plugins WordCamp Bhopal 2015Translating WordPress themes and plugins WordCamp Bhopal 2015
Translating WordPress themes and plugins WordCamp Bhopal 2015
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 

Andere mochten auch

Andere mochten auch (6)

Программирование Linux
Программирование LinuxПрограммирование Linux
Программирование Linux
 
Objective-C: Good and Bad
Objective-C: Good and BadObjective-C: Good and Bad
Objective-C: Good and Bad
 
Программирование Linux
Программирование LinuxПрограммирование Linux
Программирование Linux
 
Mach-O Internals
Mach-O InternalsMach-O Internals
Mach-O Internals
 
iOS History
iOS HistoryiOS History
iOS History
 
Кратко о Mac OS X
Кратко о Mac OS XКратко о Mac OS X
Кратко о Mac OS X
 

Ähnlich wie 20120424 b

14600 introduction to web design
14600 introduction to web design14600 introduction to web design
14600 introduction to web design
raj063599
 
Tml for Laravel
Tml for LaravelTml for Laravel
Tml for Laravel
Michael Berkovich
 

Ähnlich wie 20120424 b (20)

Html
HtmlHtml
Html
 
Use Web Skills To Build Mobile Apps
Use Web Skills To Build Mobile AppsUse Web Skills To Build Mobile Apps
Use Web Skills To Build Mobile Apps
 
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
Consuming Data From Many Platforms: The Benefits of OData - St. Louis Day of ...
 
DIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web DesigningDIWE - Coding HTML for Basic Web Designing
DIWE - Coding HTML for Basic Web Designing
 
CrashCourse: XML technologies
CrashCourse: XML technologiesCrashCourse: XML technologies
CrashCourse: XML technologies
 
Html5 101
Html5 101Html5 101
Html5 101
 
Tercer trabajo de drapi 02
Tercer trabajo de drapi 02Tercer trabajo de drapi 02
Tercer trabajo de drapi 02
 
HTML
HTMLHTML
HTML
 
Sweo talk
Sweo talkSweo talk
Sweo talk
 
Using HTML5 sensibly
Using HTML5 sensiblyUsing HTML5 sensibly
Using HTML5 sensibly
 
Introduccion a HTML5
Introduccion a HTML5Introduccion a HTML5
Introduccion a HTML5
 
html5
html5html5
html5
 
Html5 Overview
Html5 OverviewHtml5 Overview
Html5 Overview
 
The Semantic Web An Introduction
The Semantic Web An IntroductionThe Semantic Web An Introduction
The Semantic Web An Introduction
 
Mobile tech briefing 2013
Mobile tech briefing 2013Mobile tech briefing 2013
Mobile tech briefing 2013
 
Html5 101
Html5 101Html5 101
Html5 101
 
Phpwebdevelping
PhpwebdevelpingPhpwebdevelping
Phpwebdevelping
 
14600 introduction to web design
14600 introduction to web design14600 introduction to web design
14600 introduction to web design
 
Tml for Laravel
Tml for LaravelTml for Laravel
Tml for Laravel
 
Xml
XmlXml
Xml
 

Kürzlich hochgeladen

Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Kürzlich hochgeladen (20)

Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 

20120424 b

  • 1. HTML and CSS Dave Kanter Academy of Art University April 24, 2012
  • 2. Quick Opera Opera.com 1994, research project at Telnor in Norway 2nd Oldest Browser still in Use Built on the Presto ECMAScript Engine Runs on EVERYTHING
  • 3. Act I - The Big Deal! Teeny-tiny market share (~1.6%) Completely EMCA compliant Completely HTML compliant Boatload of Developer Tools http://www.opera.com/developer/tools/ Huge support for mobile
  • 4. Act II - Opera Mobile Designed for Smartphones and PDAs Runs on EVERYTHING (but the iPhone) Nintendo DS and Wii! Presto is used by Adobe for documentation Integrates with Dragon Debugger
  • 5. Act III - Finale
  • 6. HTML Hypertext Markup Language For DESIGNERS, not coders Describes page layout Describes page layout for....? Basis for all Web pages
  • 7. HTML Basics <!DOCTYPE html> or <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> What is the difference between HTML 4 (XHTML) and HTML 5? Simplest HTML document: <!DOCTYPE html> <head> <title>Title</title> </head> //scripts, css, etc. <body bgcolor=”#FFFFFF” onload=”something();”> </body> </html>
  • 8. Elements and Attributes <a href=”mysite.com”> <input name=”text”> <font color=”#FF0000”>
  • 9. Two Types of Tags <div>This is a Div</div> <p>This is a paragraph</p> <br /> <hr /> HTML is all lower case!
  • 10. Country Gates Bad: <span><a href=”mysite.com”><em><strong>Click Me</em></a></span></strong> Good: <span><a href=”mysite.com”><em><strong>Click Me</strong></em></a></span> Even if it works, DON’T DO IT!
  • 11. <div>, <span>, <p> CONTAINER TAGS! <div align=”center”> You can put your entire site in this one div </div> <span>Just one little line of code, a small thing</span> <p>this will end in a line break!</p> <div> <p>Here is <span>some</span> text!</p> </div>
  • 12. Lists (used w/css) Ordered Lists: <ol> <li>Apple</li> <li>Banana</li> <li>Cantaloupe</li> </ol> Unordered Lists: <ul> <li></li> <li></li> <li></li> </ul> Definition Lists: <dl> <dt>Fruits</dt> <dd>Apples, Bananas, Cantaloupe</dd> <dt>Vegetables</dt> <dd>Artichoke, Broccoli, Carrots</dd> </dl>
  • 13. Forms <form> First name: <input type=”text” name=”firstname” /><br /> Password: <input type=”password” name=”pwd” /><br /> <input type="radio" name="answer" value="true" /> True<br /> <input type="radio" name="sex" value="false" /> False<br /> <input type="checkbox" name="vehicle" value="green" /> Green<br /> <input type="checkbox" name="vehicle" value="red" /> Red<br /> <select name="pets"> <option value="cat">Cat</option> <option value="dog">Dog</option> <option value="fish">Fish</option> </select> <input type="submit" value="Submit" /> </form>
  • 16. HTML Validation! Why do it? How to do it: http://validator.w3.org Same goes for JS, CSS, etc...

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n