SlideShare ist ein Scribd-Unternehmen logo
1 von 55
The Web and HTML
                            Design & Development Course




Tuesday, March 15, 2011
How does the Internet work?




Tuesday, March 15, 2011
The Internet
Tuesday, March 15, 2011
Web server (box)
Tuesday, March 15, 2011
IP addresses


                          74.125.224.83


Tuesday, March 15, 2011
DNS (Domain Name Service)




                          Google.com


Tuesday, March 15, 2011
Recap
                    • Web servers - Computers that serve up
                          webpages.
                    • IP (internet protocol) - Addresses of
                          web servers.
                    • DNS (domain name service) -
                          Translates a URL like Google.com to an IP
                          address.


Tuesday, March 15, 2011
How do webpages work?



Tuesday, March 15, 2011
HTML
                   (HyperText Markup Language)


                    • HyperText - Means the ability to link out.
                    • Markup - Like annotating–or “marking
                          up”– a manuscript




Tuesday, March 15, 2011
<h1>	
  This	
  is	
  a	
  headline	
  </h1>

                          <p>	
  This	
  is	
  a	
  paragraph	
  </p>

                          <p>	
  Here	
  is	
  some	
  text	
  with	
  a	
  word	
  
                          chosen	
  to	
  make	
  it	
  <strong>	
  stand	
  
                          out	
  </strong>	
  </p>




Tuesday, March 15, 2011
<h1>	
  This	
  is	
  a	
  headline	
  </h1>

                          <p>	
  This	
  is	
  a	
  paragraph	
  </p>

                          <p>	
  Here	
  is	
  some	
  text	
  with	
  a	
  word	
  
                          chosen	
  to	
  make	
  it	
  <strong>	
  stand	
  
                          out	
  </strong>	
  </p>




Tuesday, March 15, 2011
This is a headline

                          This is a paragraph

                          Here is some text with a word chosen to
                          make it stand out




Tuesday, March 15, 2011
Other type of markup languages


                    • XML (Extensible Markup Language) - A
                          generic form of markup for transferring
                          data.
                    • RSS (Really Simple Syndication) - A markup
                          language for transferring a feed of items,
                          specifically titles, posts, photos, and content.



Tuesday, March 15, 2011
RSS
       <item>
       	
  	
  	
  	
  	
  	
  <title>Example	
  entry</title>
       	
  	
  	
  	
  	
  	
  <description>Here	
  is	
  a	
  description.</description>
       	
  	
  	
  	
  	
  	
  <link>http://www.wikipedia.org/</link>
       	
  	
  	
  	
  	
  	
  <guid>unique	
  ID	
  per	
  item</guid>
       	
  	
  	
  	
  	
  	
  <pubDate>Mon,	
  06	
  Sep	
  2009	
  16:45:00	
  +0000	
  </pubDate>
       </item>




Tuesday, March 15, 2011
CSS



Tuesday, March 15, 2011
Cascading Style Sheet

                    • Describes how a webpage should look.
                    • Identifies content in a webpage by the tags,
                          or by special identifiers.
                    • You must link to a CSS document from
                          your HTML. (or include it in your page)



Tuesday, March 15, 2011
Example:
                          CSS Zen Garden


Tuesday, March 15, 2011
JavaScript



Tuesday, March 15, 2011
JavaScript
                    • Programming (scripting) language that adds
                          functionality to a webpage.
                    • For example, you can move elements
                          around, create timers, detect the browser
                          type, store cookies, and more...
                    • jQuery, AJAX, sproutcore are all libraries
                          written in JavaScript.


Tuesday, March 15, 2011
RECAP

                • HTML: The content
                • CSS: The style
                • JavaScript: The functionality
                          (plug-ins: Flash, JavaVM, Silverlight)



Tuesday, March 15, 2011
The Semantic Web
                          semantic web
                          noun
                          "Web of data" that enables machines to understand the
                          semantics, or meaning, of information on the World Wide
                          Web.


Tuesday, March 15, 2011
Other things you
                           should know


Tuesday, March 15, 2011
Dynamic / Static
                    • Static webpage: A static webpage
                          doesn’t change. It’s written in HTML, CSS
                          and JavaScript.
                    • Dynamic webpage: Where the content
                          changes depending on the user interaction.
                          Content updates, such as a blog, gmail, or
                          news site.


Tuesday, March 15, 2011
Client-side vs Server side
                    •     HTML         •   PHP (WordPress)

                    •     CSS          •   MySQL

                    •     JavaScript   •   Django, Ruby, ASP, .NET




              Your computer                  Web server

Tuesday, March 15, 2011
PHP (WordPress)
                    • The PHP code is run on the web server.
                    • When you request a webpage (visiting the
                          site) the PHP code will look up the latest
                          content in the database (MySQL) and write
                          an HTML page on the fly.
                    • End-users never see server-side scripting.
                    • PHP is free.
Tuesday, March 15, 2011
Recap
                    • Static - A webpage that never changes.
                    • Dynamic - Content is updated regularly.
                    • Client-side - Code that is run in the
                          user’s browser, is also visible to the user.
                    • Server-side - Code that is run on the
                          server, not visible to the end-user.
                    • PHP - A free server-side language. (WP)
Tuesday, March 15, 2011
Intro to HTML5



Tuesday, March 15, 2011
<tags>

                    • HTML uses tags to identify content.
                    • Every opening tag must be closed.
                    • Some tags have additional information
                          called attributes.
                    • You can only use certain tags. Learn them!

Tuesday, March 15, 2011
Open and close your tags



                          <title>	
  Here	
  is	
  a	
  title	
  </title>




Tuesday, March 15, 2011
Some tags self-close

                <br	
  />
                <hr	
  />
                <img	
  src=“some	
  image”	
  />




Tuesday, March 15, 2011
Nested Tags

                <body>
                          <h1>Here	
  is	
  a	
  headline</h1>
                          <p>Here	
  is	
  a	
  paragraph</p>
                </body>




Tuesday, March 15, 2011
Some tags have attributes

                <div>Just	
  a	
  division	
  tag</div>
                <div	
  id=“sidebar”>This	
  is	
  the	
  sidebar</div>


                <a	
  href=“http://google.com”>Google</a>




Tuesday, March 15, 2011
DOC Type

                    • First line of code needs to tell the browser
                          how to interpret the HTML.
                    • W3C (World Wide Web consortium)
                          aimed to standardize the web. Didn’t work
                          so well.
                    • We will be using HTML5.

Tuesday, March 15, 2011
<!DOCTYPE	
  html>


                             (no	
  spaces	
  before	
  it)




Tuesday, March 15, 2011
Example



Tuesday, March 15, 2011
Two Parts to HTML document


                    • The <head>          - Identifies (meta)
                          information about the webpage. User does
                          not see this on the webpage.
                    • The <body> - Is the actual content of the
                          webpage that the user sees.




Tuesday, March 15, 2011
<!DOCTYPE	
  html>
                <head	
  lang=“en”>
                   <meta	
  charset=“utf-­‐8”	
  />
                   <title>Your	
  Title</title>
                   <meta	
  name=“description”	
  content	
  =	
  “”	
  />
                   <meta	
  name=“author”	
  content=	
  “”	
  />
                   <link	
  rel=“stylesheet”	
  href=	
  “css/
                   style.css”>
                </head>




Tuesday, March 15, 2011
<body>

                          <p>Your	
  content	
  here</p>

                </body>




Tuesday, March 15, 2011
paragraph tag

                <p>This	
  is	
  a	
  paragraph.	
  


                Line	
  breaks	
  don’t	
  matter.</p>




Tuesday, March 15, 2011
strong tag

                <p>This	
  an
                <strong>important</strong>	
  
                word.</p>



Tuesday, March 15, 2011
emphasis tag

                <p>This	
  is	
  a	
  word	
  that	
  should	
  be	
  
                <em>emphasized</em>
                .</p>




Tuesday, March 15, 2011
anchor tag

                <p>Search	
  <a	
  href=“http://google.com”>Google</a>.</p>



                      <a	
  href=“http://google.com”>




Tuesday, March 15, 2011
headline tag

                <h1>This	
  is	
  the	
  largest	
  headline</h1>
                <h2>Sub	
  headline,	
  not	
  as	
  important</h2>
                <h3>Even	
  less	
  important</h3>
                <h4>Maybe	
  a	
  section	
  heading?</h4>




Tuesday, March 15, 2011
division tag

                <div>This	
  is	
  a	
  section</div>
                <div>This	
  is	
  another	
  section</div>
                <div	
  id=“container”>This	
  is	
  a	
  container</div>




Tuesday, March 15, 2011
lists: unordered list
                <ul>
                          <li>Bullet	
  point	
  item</li>
                          <li>Bullet	
  point	
  item</li>
                          <li>Bullet	
  point	
  item</li>
                </ul>



Tuesday, March 15, 2011
lists: ordered list
                <ol>
                          <li>List	
  item	
  number	
  1</li>
                          <li>List	
  item	
  number	
  2</li>
                          <li>List	
  item	
  number	
  3</li>
                </ol>



Tuesday, March 15, 2011
images

                <img	
  src=“image.jpg”	
  
                width=“450”	
  
                height=“450”	
  
                alt=“Image	
  of	
  a	
  man	
  walking”	
  />




Tuesday, March 15, 2011
New HTML5 Semantic Tags




Tuesday, March 15, 2011
header tag

                <header>
                          <h1>This	
  is	
  a	
  headline</h1>
                </header>




Tuesday, March 15, 2011
hgroup tag

                <hgroup>
                          <h1>This	
  is	
  a	
  headline</h1>
                          <h2>This	
  is	
  a	
  subhead</h2>
                </hgroup>




Tuesday, March 15, 2011
article tag

                <article>
                          <h1>This	
  is	
  a	
  headline</h1>
                          <p>Some	
  text</p>
                </article>




Tuesday, March 15, 2011
time tag

                <time>March	
  9,	
  2011</time>
                <time	
  datetime=“2011-­‐03-­‐09”>...
                <time	
  datetime=“2011-­‐03-­‐09”	
  pubdate>




Tuesday, March 15, 2011
footer tag

                <footer>
                          <p>This	
  is	
  information	
  at	
  the	
  
                          bottom.</p>
                </footer>




Tuesday, March 15, 2011
navigation tag
                <nav>
                          <ul>
                           <li>Home</li>
                           <li>About</li>
                           <li>Contact</li>
                          </ul>
                </nav>


Tuesday, March 15, 2011
Others
                <video>
                <audio>
                <aside>
                <section>
                <canvas>


      http://www.w3schools.com/html5/html5_reference.asp
Tuesday, March 15, 2011

Weitere ähnliche Inhalte

Was ist angesagt?

HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 FundamentalLanh Le
 
Introduction to Custom WordPress Themeing
Introduction to Custom WordPress ThemeingIntroduction to Custom WordPress Themeing
Introduction to Custom WordPress ThemeingJamie Schmid
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme developmentTammy Hart
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structurekeithdevon
 
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampHTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampJames Mills
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalChandra Prakash Thapa
 
Html workshop 1
Html workshop 1Html workshop 1
Html workshop 1Lee Scott
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3Jeff Byrnes
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointSahil Gandhi
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012Joe Querin
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopShay Howe
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTMLMarlon Jamera
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresBookNet Canada
 

Was ist angesagt? (20)

Html5
Html5Html5
Html5
 
Web development basics
Web development basicsWeb development basics
Web development basics
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
Introduction to Custom WordPress Themeing
Introduction to Custom WordPress ThemeingIntroduction to Custom WordPress Themeing
Introduction to Custom WordPress Themeing
 
Custom WordPress theme development
Custom WordPress theme developmentCustom WordPress theme development
Custom WordPress theme development
 
Html for beginners
Html for beginnersHtml for beginners
Html for beginners
 
WordPress Theme Structure
WordPress Theme StructureWordPress Theme Structure
WordPress Theme Structure
 
Html lesson1 5
Html lesson1 5Html lesson1 5
Html lesson1 5
 
HTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ SearchcampHTML/CSS Workshop @ Searchcamp
HTML/CSS Workshop @ Searchcamp
 
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 NepalWordPress theme development from scratch : ICT MeetUp 2013 Nepal
WordPress theme development from scratch : ICT MeetUp 2013 Nepal
 
Html workshop 1
Html workshop 1Html workshop 1
Html workshop 1
 
Castro Chapter 3
Castro Chapter 3Castro Chapter 3
Castro Chapter 3
 
Basics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPointBasics of Front End Web Dev PowerPoint
Basics of Front End Web Dev PowerPoint
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
Theme development essentials columbus oh word camp 2012
Theme development essentials   columbus oh word camp 2012Theme development essentials   columbus oh word camp 2012
Theme development essentials columbus oh word camp 2012
 
Modular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS WorkshopModular HTML, CSS, & JS Workshop
Modular HTML, CSS, & JS Workshop
 
Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Week 6 Lecture
 
uptu web technology unit 2 Css
uptu web technology unit 2 Cssuptu web technology unit 2 Css
uptu web technology unit 2 Css
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
 
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris FebresThe beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
The beauty behind ebooks: CSS - ebookcraft 2015 - Iris Febres
 

Ähnlich wie Intro to HTML

Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLWEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLsmitawagh14
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web techLiaquat Rahoo
 
Web Designing Training in Ambala ! BATRA COMPUTER CENTRE
Web Designing Training in Ambala ! BATRA COMPUTER CENTREWeb Designing Training in Ambala ! BATRA COMPUTER CENTRE
Web Designing Training in Ambala ! BATRA COMPUTER CENTREjatin batra
 
Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...webhostingguy
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptxStefan Oprea
 
Les Basiques - Web Développement HTML5, CSS3, JS et PHP
Les Basiques - Web  Développement HTML5, CSS3, JS et PHPLes Basiques - Web  Développement HTML5, CSS3, JS et PHP
Les Basiques - Web Développement HTML5, CSS3, JS et PHPHamdi Hmidi
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5nobel mujuji
 
Web Design for Literary Theorists I: Introduction to HTML
Web Design for Literary Theorists I: Introduction to HTMLWeb Design for Literary Theorists I: Introduction to HTML
Web Design for Literary Theorists I: Introduction to HTMLPatrick Mooney
 

Ähnlich wie Intro to HTML (20)

Intro to CSS
Intro to CSSIntro to CSS
Intro to CSS
 
Unit 01 (1).pdf
Unit 01 (1).pdfUnit 01 (1).pdf
Unit 01 (1).pdf
 
NLP and the Web
NLP and the WebNLP and the Web
NLP and the Web
 
Web Information Systems Html and css
Web Information Systems Html and cssWeb Information Systems Html and css
Web Information Systems Html and css
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
HTML for absolutely begginers
HTML for absolutely begginersHTML for absolutely begginers
HTML for absolutely begginers
 
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTMLWEB TECHNOLOGY:Web Essentials and Markup Language HTML
WEB TECHNOLOGY:Web Essentials and Markup Language HTML
 
Grade 10 COMPUTER
Grade 10 COMPUTERGrade 10 COMPUTER
Grade 10 COMPUTER
 
Html
HtmlHtml
Html
 
Web dev-101
Web dev-101Web dev-101
Web dev-101
 
Introduction web tech
Introduction web techIntroduction web tech
Introduction web tech
 
Web Designing Training in Ambala ! BATRA COMPUTER CENTRE
Web Designing Training in Ambala ! BATRA COMPUTER CENTREWeb Designing Training in Ambala ! BATRA COMPUTER CENTRE
Web Designing Training in Ambala ! BATRA COMPUTER CENTRE
 
Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...Web Development From the Ground Up, a Series for Novice ...
Web Development From the Ground Up, a Series for Novice ...
 
WEB Module 1.pdf
WEB Module 1.pdfWEB Module 1.pdf
WEB Module 1.pdf
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Class1slides
Class1slidesClass1slides
Class1slides
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
Les Basiques - Web Développement HTML5, CSS3, JS et PHP
Les Basiques - Web  Développement HTML5, CSS3, JS et PHPLes Basiques - Web  Développement HTML5, CSS3, JS et PHP
Les Basiques - Web Développement HTML5, CSS3, JS et PHP
 
Chapter 2 introduction to html5
Chapter 2 introduction to html5Chapter 2 introduction to html5
Chapter 2 introduction to html5
 
Web Design for Literary Theorists I: Introduction to HTML
Web Design for Literary Theorists I: Introduction to HTMLWeb Design for Literary Theorists I: Introduction to HTML
Web Design for Literary Theorists I: Introduction to HTML
 

Mehr von UC Berkeley Graduate School of Journalism (9)

Jquery plugins
Jquery pluginsJquery plugins
Jquery plugins
 
Inline, Block and Positioning in CSS
Inline, Block and Positioning in CSSInline, Block and Positioning in CSS
Inline, Block and Positioning in CSS
 
Jquery News Packages
Jquery News PackagesJquery News Packages
Jquery News Packages
 
HTML News Packages Lesson
HTML News Packages LessonHTML News Packages Lesson
HTML News Packages Lesson
 
Quiz
QuizQuiz
Quiz
 
Floats
FloatsFloats
Floats
 
CSS Tutorial
CSS TutorialCSS Tutorial
CSS Tutorial
 
Understanding DIVs
Understanding DIVsUnderstanding DIVs
Understanding DIVs
 
The 960 Grid System
The 960 Grid SystemThe 960 Grid System
The 960 Grid System
 

Kürzlich hochgeladen

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
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.pdfQucHHunhnh
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
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.pdfJayanti Pande
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
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 ModeThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 

Kürzlich hochgeladen (20)

SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
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
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
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
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
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
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 

Intro to HTML

  • 1. The Web and HTML Design & Development Course Tuesday, March 15, 2011
  • 2. How does the Internet work? Tuesday, March 15, 2011
  • 4. Web server (box) Tuesday, March 15, 2011
  • 5. IP addresses 74.125.224.83 Tuesday, March 15, 2011
  • 6. DNS (Domain Name Service) Google.com Tuesday, March 15, 2011
  • 7. Recap • Web servers - Computers that serve up webpages. • IP (internet protocol) - Addresses of web servers. • DNS (domain name service) - Translates a URL like Google.com to an IP address. Tuesday, March 15, 2011
  • 8. How do webpages work? Tuesday, March 15, 2011
  • 9. HTML (HyperText Markup Language) • HyperText - Means the ability to link out. • Markup - Like annotating–or “marking up”– a manuscript Tuesday, March 15, 2011
  • 10. <h1>  This  is  a  headline  </h1> <p>  This  is  a  paragraph  </p> <p>  Here  is  some  text  with  a  word   chosen  to  make  it  <strong>  stand   out  </strong>  </p> Tuesday, March 15, 2011
  • 11. <h1>  This  is  a  headline  </h1> <p>  This  is  a  paragraph  </p> <p>  Here  is  some  text  with  a  word   chosen  to  make  it  <strong>  stand   out  </strong>  </p> Tuesday, March 15, 2011
  • 12. This is a headline This is a paragraph Here is some text with a word chosen to make it stand out Tuesday, March 15, 2011
  • 13. Other type of markup languages • XML (Extensible Markup Language) - A generic form of markup for transferring data. • RSS (Really Simple Syndication) - A markup language for transferring a feed of items, specifically titles, posts, photos, and content. Tuesday, March 15, 2011
  • 14. RSS <item>            <title>Example  entry</title>            <description>Here  is  a  description.</description>            <link>http://www.wikipedia.org/</link>            <guid>unique  ID  per  item</guid>            <pubDate>Mon,  06  Sep  2009  16:45:00  +0000  </pubDate> </item> Tuesday, March 15, 2011
  • 16. Cascading Style Sheet • Describes how a webpage should look. • Identifies content in a webpage by the tags, or by special identifiers. • You must link to a CSS document from your HTML. (or include it in your page) Tuesday, March 15, 2011
  • 17. Example: CSS Zen Garden Tuesday, March 15, 2011
  • 19. JavaScript • Programming (scripting) language that adds functionality to a webpage. • For example, you can move elements around, create timers, detect the browser type, store cookies, and more... • jQuery, AJAX, sproutcore are all libraries written in JavaScript. Tuesday, March 15, 2011
  • 20. RECAP • HTML: The content • CSS: The style • JavaScript: The functionality (plug-ins: Flash, JavaVM, Silverlight) Tuesday, March 15, 2011
  • 21. The Semantic Web semantic web noun "Web of data" that enables machines to understand the semantics, or meaning, of information on the World Wide Web. Tuesday, March 15, 2011
  • 22. Other things you should know Tuesday, March 15, 2011
  • 23. Dynamic / Static • Static webpage: A static webpage doesn’t change. It’s written in HTML, CSS and JavaScript. • Dynamic webpage: Where the content changes depending on the user interaction. Content updates, such as a blog, gmail, or news site. Tuesday, March 15, 2011
  • 24. Client-side vs Server side • HTML • PHP (WordPress) • CSS • MySQL • JavaScript • Django, Ruby, ASP, .NET Your computer Web server Tuesday, March 15, 2011
  • 25. PHP (WordPress) • The PHP code is run on the web server. • When you request a webpage (visiting the site) the PHP code will look up the latest content in the database (MySQL) and write an HTML page on the fly. • End-users never see server-side scripting. • PHP is free. Tuesday, March 15, 2011
  • 26. Recap • Static - A webpage that never changes. • Dynamic - Content is updated regularly. • Client-side - Code that is run in the user’s browser, is also visible to the user. • Server-side - Code that is run on the server, not visible to the end-user. • PHP - A free server-side language. (WP) Tuesday, March 15, 2011
  • 27. Intro to HTML5 Tuesday, March 15, 2011
  • 28. <tags> • HTML uses tags to identify content. • Every opening tag must be closed. • Some tags have additional information called attributes. • You can only use certain tags. Learn them! Tuesday, March 15, 2011
  • 29. Open and close your tags <title>  Here  is  a  title  </title> Tuesday, March 15, 2011
  • 30. Some tags self-close <br  /> <hr  /> <img  src=“some  image”  /> Tuesday, March 15, 2011
  • 31. Nested Tags <body> <h1>Here  is  a  headline</h1> <p>Here  is  a  paragraph</p> </body> Tuesday, March 15, 2011
  • 32. Some tags have attributes <div>Just  a  division  tag</div> <div  id=“sidebar”>This  is  the  sidebar</div> <a  href=“http://google.com”>Google</a> Tuesday, March 15, 2011
  • 33. DOC Type • First line of code needs to tell the browser how to interpret the HTML. • W3C (World Wide Web consortium) aimed to standardize the web. Didn’t work so well. • We will be using HTML5. Tuesday, March 15, 2011
  • 34. <!DOCTYPE  html> (no  spaces  before  it) Tuesday, March 15, 2011
  • 36. Two Parts to HTML document • The <head> - Identifies (meta) information about the webpage. User does not see this on the webpage. • The <body> - Is the actual content of the webpage that the user sees. Tuesday, March 15, 2011
  • 37. <!DOCTYPE  html> <head  lang=“en”> <meta  charset=“utf-­‐8”  /> <title>Your  Title</title> <meta  name=“description”  content  =  “”  /> <meta  name=“author”  content=  “”  /> <link  rel=“stylesheet”  href=  “css/ style.css”> </head> Tuesday, March 15, 2011
  • 38. <body> <p>Your  content  here</p> </body> Tuesday, March 15, 2011
  • 39. paragraph tag <p>This  is  a  paragraph.   Line  breaks  don’t  matter.</p> Tuesday, March 15, 2011
  • 40. strong tag <p>This  an <strong>important</strong>   word.</p> Tuesday, March 15, 2011
  • 41. emphasis tag <p>This  is  a  word  that  should  be   <em>emphasized</em> .</p> Tuesday, March 15, 2011
  • 42. anchor tag <p>Search  <a  href=“http://google.com”>Google</a>.</p> <a  href=“http://google.com”> Tuesday, March 15, 2011
  • 43. headline tag <h1>This  is  the  largest  headline</h1> <h2>Sub  headline,  not  as  important</h2> <h3>Even  less  important</h3> <h4>Maybe  a  section  heading?</h4> Tuesday, March 15, 2011
  • 44. division tag <div>This  is  a  section</div> <div>This  is  another  section</div> <div  id=“container”>This  is  a  container</div> Tuesday, March 15, 2011
  • 45. lists: unordered list <ul> <li>Bullet  point  item</li> <li>Bullet  point  item</li> <li>Bullet  point  item</li> </ul> Tuesday, March 15, 2011
  • 46. lists: ordered list <ol> <li>List  item  number  1</li> <li>List  item  number  2</li> <li>List  item  number  3</li> </ol> Tuesday, March 15, 2011
  • 47. images <img  src=“image.jpg”   width=“450”   height=“450”   alt=“Image  of  a  man  walking”  /> Tuesday, March 15, 2011
  • 48. New HTML5 Semantic Tags Tuesday, March 15, 2011
  • 49. header tag <header> <h1>This  is  a  headline</h1> </header> Tuesday, March 15, 2011
  • 50. hgroup tag <hgroup> <h1>This  is  a  headline</h1> <h2>This  is  a  subhead</h2> </hgroup> Tuesday, March 15, 2011
  • 51. article tag <article> <h1>This  is  a  headline</h1> <p>Some  text</p> </article> Tuesday, March 15, 2011
  • 52. time tag <time>March  9,  2011</time> <time  datetime=“2011-­‐03-­‐09”>... <time  datetime=“2011-­‐03-­‐09”  pubdate> Tuesday, March 15, 2011
  • 53. footer tag <footer> <p>This  is  information  at  the   bottom.</p> </footer> Tuesday, March 15, 2011
  • 54. navigation tag <nav> <ul> <li>Home</li> <li>About</li> <li>Contact</li> </ul> </nav> Tuesday, March 15, 2011
  • 55. Others <video> <audio> <aside> <section> <canvas> http://www.w3schools.com/html5/html5_reference.asp Tuesday, March 15, 2011