SlideShare ist ein Scribd-Unternehmen logo
1 von 83
HTML Programming and Internet Tools CO1052 /
CO2052


Feb 2010 | p.warnsberg@kingston.ac.uk |
www.twitter.com/petterw
http://www.linkedin.com/in/petterw




Petter Warnsberg
Contact me
• Contact me
  – I live in Room SB318 (Sopwith Building)
  – email: P.Warnsberg@kingston.ac.uk
    and include “HTML” in the subject line
  – “office hours” Mondays 11:00-12:30,

  – www.petterw.com

• For Course URL:
  – http://sites.google.com/site/kuhtml/
                                              3
Contact Module leader
         Vincent Lau
• Contact Dr Lau
  – Live in Room SB215 (Sopwith Building)
  – email: V.Lau@kingston.ac.uk
    and include “HTML” in the subject line




                                             4
A Few Administrative Points
• In StudySpace, you can find information such
  as:
  –   Module Guide
  –   Lecture notes
  –   Practical exercises
  –   Assignments
       • Outline marking schemes
  – Useful links and references
  – Discussion Boards
                                            5
Structure of the Course
   Day         Time        Class type   Room         Week nos.
                                                   Teaching weeks
                                                   1,2,3,7,11 and 12


 Thursday    9:00-10:00     Lecture      CLT          Week 9 is
                                                    “enhancement
                                                 week”, activities TBC
                                                          ...
                                                   Teaching weeks
Thursday     10:15-11:00    Lecture     JG1009
                                                   1,2,3,7,11 and 12
                                                   Teaching weeks
Thursday     11:00-12:00    Practical   JG1009
                                                   1,2,3,7,11 and 12
                                                   Teaching weeks
Thursday     10:15-12:00    Practical   JG1009
                                                   4, 5, 6, 8 and 10
2008/9 (Semester 1) results
•    45 students
    – Passed at first attempt: 30 ( 67%)
    – Average mark 46%
      • Highest mark 94% (3 students > 90%)


• Seek helps asap if needed


                                              7
Week No              Date       Session

   1               4th Feb 10     Lecture 1 & Workshop: Module introduction, Introduction to HTML/XHTML

                                  Lecture 2: Tags
   2                11th Feb
                                  Workshop: Exercise set 1: Tags

                                  Lecture 3 : CSS and CSS Layouts, Introduce individual coursework Part 1
   3               18th Feb
                                  Workshop: Exercise set 2: Tables and lists

   4               25th Feb       Workshop: Exercise set 3: CSS

   5                4th Mar       Workshop: Exercise set 4: CSS Layouts

                                  Workshop: Exercise set 5: Images
   6                11th Mar
                                  Test 1 (on first part of the module, during practical class), Part 1 individual coursework folder submission (on 15/Mar)

                                  Lecture 4: Best practice
   7                18th Mar      Test Results & Discussion, Introduce individual coursework Part 2
                                  Workshop: Exercise set 6: Validation

   8                25th Mar      Workshop: Exercise set 7: Forms

   9                15th Apr      Enhancement Week – No Lectures or Practical

  10               22nd Apr       Workshop: Exercise set 8: Build a Webpage

                                  Lecture 5: JavaScript and jQuery
  11                29th Apr
                                  Workshop: Exercise set 9: JavaScript

                                  Lecture 6: Web design
  12                6th   May     Test 2 (on all part of the module, during practical class), Part 2 individual coursework folder submission (on 10/May)
                                  Workshop clinic

       10th May – 14th May        Revision week – No Lectures or Practical
Assessments
• Please READ Module Guide
  – Penalty for late submissions!
  – If needed, negotiate an extension in
    advance

• In-class tests        30%
  – Test 1         11th March
  – Test 2         6th May

                                           9
Assessments
• Individual Work folder 40%
  – Part 1     submit on 15th March

  – Part 2     submit on 10th May

• Group Mini-Project      30%
  – Submit on 17th May

                                      10
Plagiarism

• Guidelines can be found at:
 http://student.kingston.ac.uk/C6/Plagiarism/default.aspx


• Formal Hearing
  – If found guilty
     • First offence – 0 given, FZ grade recorded
     • Second offence – may terminate registration


                                                       11
Reading list

For this module:
   P. Carey, “Creating Web Pages with
    HTML, XHTML, and XML”, Thomson
    Course Technology, 2006.




   D. Gosselin,  "Introductory XHTML",
    Thomson Course Technology, 2003.


                                          12
Reading list
    D. Oliver and M. Morrison,
     "Teach Yourself HTML and
     XHTML in 24 Hours",
     SAMS, 2003.



Good reference book in the subject
matter (applications based):
P. K. Yuen and V. Lau, "Practical Web
Technologies", Addison-Wesley, 2003.




                                        13
Web Resources

Good internet resources:
 World Wide Web Consortium

   http://www.w3c.org/

 W3 Schools

   http://www.w3schools.com/

 Tutorials

   http://net.tutsplus.com
                                14
This is digital media
The technology that
drives digital media
evolution
Each generation of online
  technology builds on
  previous generations
Example:
physical network layer:
hardware layer:
servers & computers
network layer: TCP/IP
protocols layer: HTTP
server software layer:
     Apache, IIS
data layer:
databases, XML
browser layer:
content structure layer:
       XHTML
content style layer: CSS
dynamic layer: Document
Object Model + JavaScript
extension layer:
     Media (Video, audio)
Interactivity (Flash, Silverlight)
    Functionality (Add-Ins,
          Extensions)
Web development




1. HTML/CSS
2. Frontend scripting
3. Backend development
4. Content management
5. Server administration
6. Flash development
7. Content and assets
Content of module
HTML                          Best practice
Describe the content so       Make it great:
that machines knows what      -Usability
it is                         -Accessibility
                              -Production workflow
CSS                           -Validation
Style the content so that     -Debugging
humans can easily take it
in                            -Web design

JavaScript
Make it interactive so that
it becomes more intuitive,
faster and obvious to
Example 1
• A typical web page
  contains:
  – HTML instructions
  – Style sheets
    • Colors, fonts, sizes, styl
      es etc.
    • Images, animated GIF
      images, objects, …           html_example.htm
  – Javascripts
                                                      35
Example 1 – HTML code (see
  example on StudySpace)
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><title> A Shooting Game - ex09-09.htm </title></head>
<style>
 .tx01St={font-family:arial;font-size:18pt;font-weight:bold}
 .butSt{background-color:#dddddd;font-family:arial;font-weight:bold;
    font-size:18pt;color:#880000;width:60px;height:40px}
 .butSt1{background-color:#aaffaa;font-family:arial;font-weight:bold;
    font-size:18pt;color:#880000;width:110px;height:40px}
</style>
<body style="background:#dddddd;font-family:arial;font-size:20pt;
  color:#000088;font-weight:bold">
<div style="position:absolute;top:15px;left:150px">HTML Example - A Shooting Game</div>
<img src="line1.gif" style="position:absolute;
   top:50px;left:150px;width:380px;height:6px" />, ....
……                                                                                    36
E-commerce: Amazon.co.uk
Communitites: last.fm/user/petterww
Example 2 – Flash movies

• A Flash Movie that runs within a Web
  browser plug-in embedded with HTML
  – Flash Movies written separately
  – A Flash SWF file is downloaded along with
    a Web page from a Web server, but the
    Flash itself runs on the user‟s computer



                                                39
Campaigns: Get the glass   40
Example 3 – Dynamic HTML

• Manipulating the HTML and browser
  with JavaScript
  – Rich interfaces and AJAX
  – Enabled web applications




                                      41
Web applications: Google calendar
The Cloud
New type of services
Prosumer
Data portability
Personalisation
Intelligent web – APIs
Intelligent web – Mashups
New platforms
New platforms
      Game console integration
New platforms

Android, Wave, Chrome OS, Friend connect
Augmented reality + Profile
Mobile trends




1. Features that make sense in a Mobile
phone.
2. Move towards applications (away from
pages.)
Learning, creating, testing and sharing




...in a fragmented ubiquitous digital landscape
that builds on top of existing layers of
technology.
From browser to server return
What is the Internet?
• A computer network is a collection of
  computers that can exchange data via a
  telecommunication mechanism
• An internet is a network of computer
  networks
• The Internet (capital ”I”) is one
  large, globally accessible internet

                                      58
HTTP versus HTML
     • HTTP governs how files move over the web
     • HTML defines structure of Web documents


                               HTML
                               docu-
                               ments


     Web Server                User‟s Web Browser
e.g. www.kingston.ac.uk       e.g. k123456.kingston.ac.uk
                                                       59
Why is the Internet important?
• The third most important invention in the
  computing history
  – The Computer, the Microprocessor, The
    Internet
• Worldwide communication, access to
  info, to people and business
• Easy to use

                                            60
History
• 1960 ARPAnet
• 1990 World Wide Web, Tim Berners-Lee
  created a set of technologies that allowed
  information to be linked together through links
  in documents (HTML)
• 1992 Mark Andreessen created the first Web
  browser Mosaic
• 1994 World Wide Web Consortium

                                              61
Web Browsers
• Web browsers are software programs that allow
  users to access certain types of Internet files in an
  interactive environment
• Microsoft‟s Internet Explorer and Netscape‟s
  Communicator
• The Uniform Resource Locator (URL) is the unique
  address associated with the Web page and is
  displayed in the browser window, e.g.
  (http://www.kingston.ac.uk/index.html)
• Navigation through hyperlinks which can reference
  other Web pages, e-mail addresses and files

                                                      62
Web Server
• A computer, running special software, which
  is always connected to the Internet
• Typing and URL in the Web browser or
  clicking in a link sends a request to the server
  that hosts this information
• The server sends back the requested files
  and displays them in the Web browser


                                                63
Document Formatting
• WYSIWYG
  – “What You See Is What You Get”
  – Use visual tools to format the document
    e.g. Word for Windows


• Mark-up Languages
  – Use special „codes‟ to specify the
    functionality of the content in a document
                                                 64
HTML
• Stands for Hyper-Text Mark-up
  Language
• It is a Mark-up language and the files
  are compiled and presented on
  demand, usually by a web browser
• However it is not a programming
  language
  – Note: there are Mark-up languages that are
    also programming languages           65
HTML (cont…)
• HTML documents are plain text (not
  case sensitive) files with embedded
  markup codes (tags)

• Any simple text editor could be used to
  create and edit HTML file

• The file should be saved with extension
  .htm or .html
                                        66
HTML versions
• Originally developed at CERN as part of
  the WWW project managed by Tim-
  Berners-Lee

• The first browser was Mosaic, by Marc
  Andreessen who went on to found
  Netscape

• The grey days of incompatibility
  followed until recently...
                                       67
XHTML 1.1
• stands for EXtensible HyperText
  Markup Language

• Largely based on HTML 4.01

• Defines HTML as an XML application

                                    68
What is a Tag?
• The mark-up „codes‟ in HTML are
  called tags
• A tag may be used to describe an
  element of a list or the heading of a
  section
• Actually their functionality is much wider
  and we will attempt to introduce the
  most basic ones today
                                         69
Just one Second !
• Is there any point in writing plain HTML
  when Microsoft Frontpage is out in the
  wild ?

• It produces very wasteful code

• It doesn‟t always give you exactly what
  you want.
                                        70
What do these tags look like?
            (1)
• Tag names are included in < >

• The text to be formatted is included in
  <tagname> text </tagname>

• Tags can be nested <b><i>text</i></b>



                                            71
What do these tags look like?

• They may also have attributes
  <img id="flower" />

• Tags must always have a matching
  closing tag



                                     72
Structure of a Tag


<p id="title">Welcome to CO1052</p>


tag           attribute        attribute
              end
name   name            value               tag



                                                 73
The Mother of all Tags
• Tags in XHTML are case sensitive
  – BUT not in HTML
• The most basic tag is the one that specifies
  the document type.
• The whole of an HTML document must be
  included between

  <html>
            and
  </html>
                                            74
The Document Type
• To adhere to the XHTML 1.1 standard, the
  first line of the document must be the
  appropriate document declaration

e.g. (see next week lecture)

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
  Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
  transitional.dtd">
                                           75
Inside the document
• A document must have a head and title
  element given by the nested tags:
<head>
     <title>Here goes the title</title>
</head>
• The head section is followed by the body
  <body> everything happens here </body>
  section.

• The body is where everything happens       76
HTML/XHTML Document -
                example
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/
xhtml1-transitional.dtd">
<html>
   <head>
             <title> Example of a title </title>
   </head>
      <body>
          <h1>This is an example of h1 heading</h1>
      </body>
</html>
                                                      77
So How to Type your HTML
       Code then?
• Use simple „text‟ editors, such as
  notepad
  – And don‟t forget to save file with file
    extension .htm or .html
• Use „HTML Editor‟ such as HTML-Kit
• Use WYSIWYG authoring software
  such as Dreamweaver from
  Macromedia
                                              78
Using notepad
• Follow start > All programs > Accessories > Notepad




                                                        79
Using HTML-Kit
• HTML Editor




                           80
Using Dreamweaver
• WYSIWYG authoring software




                               81
Publish your own index.html page

http://sites.google.com/site/kuhtml
Keep on trucking

p.warnsberg@kingston.ac.uk | http://twitter.com/petterw

Weitere ähnliche Inhalte

Ähnlich wie Kingston University HTML Programming and Internet Tools module introduction

Information Science Technology Syllabus 2011-2012 3rd Trimester
Information Science Technology Syllabus 2011-2012 3rd TrimesterInformation Science Technology Syllabus 2011-2012 3rd Trimester
Information Science Technology Syllabus 2011-2012 3rd Trimester
James Dunn
 
Kopi af monthly report for_philosphy
Kopi af monthly report for_philosphyKopi af monthly report for_philosphy
Kopi af monthly report for_philosphy
juanvidal71
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outline
Mustafa Jarrar
 
Building MOOCs: Scalable Course Development & Delivery
Building MOOCs: Scalable Course Development & DeliveryBuilding MOOCs: Scalable Course Development & Delivery
Building MOOCs: Scalable Course Development & Delivery
Opus Learning
 
A ReMOOCable Experience: Teaching Networking to the Masses
A ReMOOCable Experience: Teaching Networking to the MassesA ReMOOCable Experience: Teaching Networking to the Masses
A ReMOOCable Experience: Teaching Networking to the Masses
Nick Feamster
 
Eurodidaweb october 2012 synthetic report
Eurodidaweb october 2012 synthetic reportEurodidaweb october 2012 synthetic report
Eurodidaweb october 2012 synthetic report
Stefano Lariccia
 

Ähnlich wie Kingston University HTML Programming and Internet Tools module introduction (20)

Mootie13 XML in Action: Scalable Course Development
Mootie13 XML in Action: Scalable Course Development Mootie13 XML in Action: Scalable Course Development
Mootie13 XML in Action: Scalable Course Development
 
Introduction To Web Development Course
Introduction To Web Development CourseIntroduction To Web Development Course
Introduction To Web Development Course
 
Feeding and Captivating OU Students
Feeding and Captivating OU StudentsFeeding and Captivating OU Students
Feeding and Captivating OU Students
 
Wright, Steve, Moodle Moot 2013, Effective Use of Moodle for e-moderating
Wright, Steve, Moodle Moot 2013, Effective Use of Moodle for e-moderatingWright, Steve, Moodle Moot 2013, Effective Use of Moodle for e-moderating
Wright, Steve, Moodle Moot 2013, Effective Use of Moodle for e-moderating
 
Massively Open Online Courses (MOOCs)
Massively Open Online Courses (MOOCs)Massively Open Online Courses (MOOCs)
Massively Open Online Courses (MOOCs)
 
Multimedia learning: 2002-18: A case study across a century of digital learning
Multimedia learning: 2002-18: A case study across a century of digital learningMultimedia learning: 2002-18: A case study across a century of digital learning
Multimedia learning: 2002-18: A case study across a century of digital learning
 
EMBED explained
EMBED explainedEMBED explained
EMBED explained
 
Information Science Technology Syllabus 2011-2012 3rd Trimester
Information Science Technology Syllabus 2011-2012 3rd TrimesterInformation Science Technology Syllabus 2011-2012 3rd Trimester
Information Science Technology Syllabus 2011-2012 3rd Trimester
 
Blue Prism Training Agenda
Blue Prism Training AgendaBlue Prism Training Agenda
Blue Prism Training Agenda
 
Syllabus edtech 513
Syllabus edtech 513Syllabus edtech 513
Syllabus edtech 513
 
Conole edinburgh
Conole edinburghConole edinburgh
Conole edinburgh
 
Bdra learning design workshop slides 11/04/2012
Bdra learning design workshop slides 11/04/2012Bdra learning design workshop slides 11/04/2012
Bdra learning design workshop slides 11/04/2012
 
PGCAP cohort 2 induction, 13 January 2011
PGCAP cohort 2 induction, 13 January 2011PGCAP cohort 2 induction, 13 January 2011
PGCAP cohort 2 induction, 13 January 2011
 
Kopi af monthly report for_philosphy
Kopi af monthly report for_philosphyKopi af monthly report for_philosphy
Kopi af monthly report for_philosphy
 
Pal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outlinePal gov.tutorial3.session0.outline
Pal gov.tutorial3.session0.outline
 
Lec 01 introduction
Lec 01   introductionLec 01   introduction
Lec 01 introduction
 
Building MOOCs: Scalable Course Development & Delivery
Building MOOCs: Scalable Course Development & DeliveryBuilding MOOCs: Scalable Course Development & Delivery
Building MOOCs: Scalable Course Development & Delivery
 
Devops syllabus
Devops syllabusDevops syllabus
Devops syllabus
 
A ReMOOCable Experience: Teaching Networking to the Masses
A ReMOOCable Experience: Teaching Networking to the MassesA ReMOOCable Experience: Teaching Networking to the Masses
A ReMOOCable Experience: Teaching Networking to the Masses
 
Eurodidaweb october 2012 synthetic report
Eurodidaweb october 2012 synthetic reportEurodidaweb october 2012 synthetic report
Eurodidaweb october 2012 synthetic report
 

Kürzlich hochgeladen

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
 
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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
 

Kürzlich hochgeladen (20)

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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).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
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
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...
 
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
 
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
 
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
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
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
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 

Kingston University HTML Programming and Internet Tools module introduction

  • 1. HTML Programming and Internet Tools CO1052 / CO2052 Feb 2010 | p.warnsberg@kingston.ac.uk | www.twitter.com/petterw
  • 3. Contact me • Contact me – I live in Room SB318 (Sopwith Building) – email: P.Warnsberg@kingston.ac.uk and include “HTML” in the subject line – “office hours” Mondays 11:00-12:30, – www.petterw.com • For Course URL: – http://sites.google.com/site/kuhtml/ 3
  • 4. Contact Module leader Vincent Lau • Contact Dr Lau – Live in Room SB215 (Sopwith Building) – email: V.Lau@kingston.ac.uk and include “HTML” in the subject line 4
  • 5. A Few Administrative Points • In StudySpace, you can find information such as: – Module Guide – Lecture notes – Practical exercises – Assignments • Outline marking schemes – Useful links and references – Discussion Boards 5
  • 6. Structure of the Course Day Time Class type Room Week nos. Teaching weeks 1,2,3,7,11 and 12 Thursday 9:00-10:00 Lecture CLT Week 9 is “enhancement week”, activities TBC ... Teaching weeks Thursday 10:15-11:00 Lecture JG1009 1,2,3,7,11 and 12 Teaching weeks Thursday 11:00-12:00 Practical JG1009 1,2,3,7,11 and 12 Teaching weeks Thursday 10:15-12:00 Practical JG1009 4, 5, 6, 8 and 10
  • 7. 2008/9 (Semester 1) results • 45 students – Passed at first attempt: 30 ( 67%) – Average mark 46% • Highest mark 94% (3 students > 90%) • Seek helps asap if needed 7
  • 8. Week No Date Session 1 4th Feb 10 Lecture 1 & Workshop: Module introduction, Introduction to HTML/XHTML Lecture 2: Tags 2 11th Feb Workshop: Exercise set 1: Tags Lecture 3 : CSS and CSS Layouts, Introduce individual coursework Part 1 3 18th Feb Workshop: Exercise set 2: Tables and lists 4 25th Feb Workshop: Exercise set 3: CSS 5 4th Mar Workshop: Exercise set 4: CSS Layouts Workshop: Exercise set 5: Images 6 11th Mar Test 1 (on first part of the module, during practical class), Part 1 individual coursework folder submission (on 15/Mar) Lecture 4: Best practice 7 18th Mar Test Results & Discussion, Introduce individual coursework Part 2 Workshop: Exercise set 6: Validation 8 25th Mar Workshop: Exercise set 7: Forms 9 15th Apr Enhancement Week – No Lectures or Practical 10 22nd Apr Workshop: Exercise set 8: Build a Webpage Lecture 5: JavaScript and jQuery 11 29th Apr Workshop: Exercise set 9: JavaScript Lecture 6: Web design 12 6th May Test 2 (on all part of the module, during practical class), Part 2 individual coursework folder submission (on 10/May) Workshop clinic 10th May – 14th May Revision week – No Lectures or Practical
  • 9. Assessments • Please READ Module Guide – Penalty for late submissions! – If needed, negotiate an extension in advance • In-class tests 30% – Test 1 11th March – Test 2 6th May 9
  • 10. Assessments • Individual Work folder 40% – Part 1 submit on 15th March – Part 2 submit on 10th May • Group Mini-Project 30% – Submit on 17th May 10
  • 11. Plagiarism • Guidelines can be found at: http://student.kingston.ac.uk/C6/Plagiarism/default.aspx • Formal Hearing – If found guilty • First offence – 0 given, FZ grade recorded • Second offence – may terminate registration 11
  • 12. Reading list For this module:  P. Carey, “Creating Web Pages with HTML, XHTML, and XML”, Thomson Course Technology, 2006.  D. Gosselin, "Introductory XHTML", Thomson Course Technology, 2003. 12
  • 13. Reading list  D. Oliver and M. Morrison, "Teach Yourself HTML and XHTML in 24 Hours", SAMS, 2003. Good reference book in the subject matter (applications based): P. K. Yuen and V. Lau, "Practical Web Technologies", Addison-Wesley, 2003. 13
  • 14. Web Resources Good internet resources:  World Wide Web Consortium  http://www.w3c.org/  W3 Schools  http://www.w3schools.com/  Tutorials  http://net.tutsplus.com 14
  • 16. The technology that drives digital media
  • 18. Each generation of online technology builds on previous generations
  • 20.
  • 25. server software layer: Apache, IIS
  • 30. dynamic layer: Document Object Model + JavaScript
  • 31. extension layer: Media (Video, audio) Interactivity (Flash, Silverlight) Functionality (Add-Ins, Extensions)
  • 32.
  • 33. Web development 1. HTML/CSS 2. Frontend scripting 3. Backend development 4. Content management 5. Server administration 6. Flash development 7. Content and assets
  • 34. Content of module HTML Best practice Describe the content so Make it great: that machines knows what -Usability it is -Accessibility -Production workflow CSS -Validation Style the content so that -Debugging humans can easily take it in -Web design JavaScript Make it interactive so that it becomes more intuitive, faster and obvious to
  • 35. Example 1 • A typical web page contains: – HTML instructions – Style sheets • Colors, fonts, sizes, styl es etc. • Images, animated GIF images, objects, … html_example.htm – Javascripts 35
  • 36. Example 1 – HTML code (see example on StudySpace) <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head><title> A Shooting Game - ex09-09.htm </title></head> <style> .tx01St={font-family:arial;font-size:18pt;font-weight:bold} .butSt{background-color:#dddddd;font-family:arial;font-weight:bold; font-size:18pt;color:#880000;width:60px;height:40px} .butSt1{background-color:#aaffaa;font-family:arial;font-weight:bold; font-size:18pt;color:#880000;width:110px;height:40px} </style> <body style="background:#dddddd;font-family:arial;font-size:20pt; color:#000088;font-weight:bold"> <div style="position:absolute;top:15px;left:150px">HTML Example - A Shooting Game</div> <img src="line1.gif" style="position:absolute; top:50px;left:150px;width:380px;height:6px" />, .... …… 36
  • 39. Example 2 – Flash movies • A Flash Movie that runs within a Web browser plug-in embedded with HTML – Flash Movies written separately – A Flash SWF file is downloaded along with a Web page from a Web server, but the Flash itself runs on the user‟s computer 39
  • 40. Campaigns: Get the glass 40
  • 41. Example 3 – Dynamic HTML • Manipulating the HTML and browser with JavaScript – Rich interfaces and AJAX – Enabled web applications 41
  • 43.
  • 45. New type of services
  • 52. New platforms Game console integration
  • 53. New platforms Android, Wave, Chrome OS, Friend connect
  • 55. Mobile trends 1. Features that make sense in a Mobile phone. 2. Move towards applications (away from pages.)
  • 56. Learning, creating, testing and sharing ...in a fragmented ubiquitous digital landscape that builds on top of existing layers of technology.
  • 57. From browser to server return
  • 58. What is the Internet? • A computer network is a collection of computers that can exchange data via a telecommunication mechanism • An internet is a network of computer networks • The Internet (capital ”I”) is one large, globally accessible internet 58
  • 59. HTTP versus HTML • HTTP governs how files move over the web • HTML defines structure of Web documents HTML docu- ments Web Server User‟s Web Browser e.g. www.kingston.ac.uk e.g. k123456.kingston.ac.uk 59
  • 60. Why is the Internet important? • The third most important invention in the computing history – The Computer, the Microprocessor, The Internet • Worldwide communication, access to info, to people and business • Easy to use 60
  • 61. History • 1960 ARPAnet • 1990 World Wide Web, Tim Berners-Lee created a set of technologies that allowed information to be linked together through links in documents (HTML) • 1992 Mark Andreessen created the first Web browser Mosaic • 1994 World Wide Web Consortium 61
  • 62. Web Browsers • Web browsers are software programs that allow users to access certain types of Internet files in an interactive environment • Microsoft‟s Internet Explorer and Netscape‟s Communicator • The Uniform Resource Locator (URL) is the unique address associated with the Web page and is displayed in the browser window, e.g. (http://www.kingston.ac.uk/index.html) • Navigation through hyperlinks which can reference other Web pages, e-mail addresses and files 62
  • 63. Web Server • A computer, running special software, which is always connected to the Internet • Typing and URL in the Web browser or clicking in a link sends a request to the server that hosts this information • The server sends back the requested files and displays them in the Web browser 63
  • 64. Document Formatting • WYSIWYG – “What You See Is What You Get” – Use visual tools to format the document e.g. Word for Windows • Mark-up Languages – Use special „codes‟ to specify the functionality of the content in a document 64
  • 65. HTML • Stands for Hyper-Text Mark-up Language • It is a Mark-up language and the files are compiled and presented on demand, usually by a web browser • However it is not a programming language – Note: there are Mark-up languages that are also programming languages 65
  • 66. HTML (cont…) • HTML documents are plain text (not case sensitive) files with embedded markup codes (tags) • Any simple text editor could be used to create and edit HTML file • The file should be saved with extension .htm or .html 66
  • 67. HTML versions • Originally developed at CERN as part of the WWW project managed by Tim- Berners-Lee • The first browser was Mosaic, by Marc Andreessen who went on to found Netscape • The grey days of incompatibility followed until recently... 67
  • 68. XHTML 1.1 • stands for EXtensible HyperText Markup Language • Largely based on HTML 4.01 • Defines HTML as an XML application 68
  • 69. What is a Tag? • The mark-up „codes‟ in HTML are called tags • A tag may be used to describe an element of a list or the heading of a section • Actually their functionality is much wider and we will attempt to introduce the most basic ones today 69
  • 70. Just one Second ! • Is there any point in writing plain HTML when Microsoft Frontpage is out in the wild ? • It produces very wasteful code • It doesn‟t always give you exactly what you want. 70
  • 71. What do these tags look like? (1) • Tag names are included in < > • The text to be formatted is included in <tagname> text </tagname> • Tags can be nested <b><i>text</i></b> 71
  • 72. What do these tags look like? • They may also have attributes <img id="flower" /> • Tags must always have a matching closing tag 72
  • 73. Structure of a Tag <p id="title">Welcome to CO1052</p> tag attribute attribute end name name value tag 73
  • 74. The Mother of all Tags • Tags in XHTML are case sensitive – BUT not in HTML • The most basic tag is the one that specifies the document type. • The whole of an HTML document must be included between <html> and </html> 74
  • 75. The Document Type • To adhere to the XHTML 1.1 standard, the first line of the document must be the appropriate document declaration e.g. (see next week lecture) <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1- transitional.dtd"> 75
  • 76. Inside the document • A document must have a head and title element given by the nested tags: <head> <title>Here goes the title</title> </head> • The head section is followed by the body <body> everything happens here </body> section. • The body is where everything happens 76
  • 77. HTML/XHTML Document - example <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml1-transitional.dtd"> <html> <head> <title> Example of a title </title> </head> <body> <h1>This is an example of h1 heading</h1> </body> </html> 77
  • 78. So How to Type your HTML Code then? • Use simple „text‟ editors, such as notepad – And don‟t forget to save file with file extension .htm or .html • Use „HTML Editor‟ such as HTML-Kit • Use WYSIWYG authoring software such as Dreamweaver from Macromedia 78
  • 79. Using notepad • Follow start > All programs > Accessories > Notepad 79
  • 81. Using Dreamweaver • WYSIWYG authoring software 81
  • 82. Publish your own index.html page http://sites.google.com/site/kuhtml
  • 83. Keep on trucking p.warnsberg@kingston.ac.uk | http://twitter.com/petterw

Hinweis der Redaktion

  1. Who is Petter?It is said that in the physical world only 7percent of what we communicate is verbal, 55 percent is the facial and body expressions while 38% is in the vocal cues.One’s identity is made up of the context you are in, the attributes you wear and what you chose to tell from your past.
  2. The layers of technology that supports today&amp;apos;s online solutions have built up over time, an evolutionlong way since 95 when I built my first HTML website
  3. Tencent Based on Trident (IE), big in ChinaMaxthon Big in China (200m dl)Flock – social browser
  4. JavaScript, Flash, Search Engine
  5. Traditional web development
  6. .
  7. Now it is all about conversation and “social”It has been called the conversation economy.What does that mean, what’s is the future waiting to be evenly distributed?And the conversation happens online all over the place in a range of channels through even wider selection of tools.Personal Social networksWhite label social networksBlogsPhotosVideosAudioMicroblogsSMSEmailsCollaborative toolsWikisEventsRecommendationsThe conversation is just the social media aspect of digital.Digital media enables so much more. The conversations might be a driving force but we have more needs than just engaging in conversations.There are lots and lots of digital channels and tools to be aware of and use as they seem fit.Image source www.theconversationprism.com
  8. Producer/Consumer Facebook, Blog, Twitter, Forums, Youtube, Flickrcollage/cut-up/mash-up
  9. And as people value their online profiles more...Battle of the social graph.Data portability started as a solution to the pain of signing up to all those sites and networks, adding your profile over and over again.Data portability aims to enable me to sign in everywhere with one password and only share media once in one place.Single sign-on“OpenID is a shared identity service, which allows Internet users to log on to many different web sites using a single digital identity, single sign-on, eliminating the need for a different user name and password for each site. OpenID is a decentralized, free and open standard that lets users control the amount of personal information they provide.”“OpenID is increasingly gaining adoption among large sites, with organizations like AOL, BBC, Google, IBM, Microsoft, MySpace, Orange, VeriSign, Yandex and Yahoo! acting as providers. In addition, OpenID can be used with Windows CardSpace” – WikipediaThe downside is if someone manages to get that one password of yours and get access to your complete online identity.OpenSocial from Google, similar to Facebook Connect“Create widgets with one set of tools.”Provides one API for building social applications that can be used across different websites. An open alternative to Facebook’s application platform.There are many websites implementing OpenSocial, including Engage.com, Friendster, hi5, Hyves, imeem, LinkedIn, MySpace, Ning, Oracle, orkut, Plaxo, Salesforce.com, Six Apart, Tianji, Viadeo, and XING.
  10. http://dsc.discovery.com/sharks/frenzied-waters/
  11. The value is in sharing, being part of...Guardian opens up their content“You can use the Open Platform to develop tools exploiting the depth and quality of the Guardian&amp;apos;s content “API – Application Protocol Interfacehttp://www.guardian.co.uk/open-platform
  12. Bionic eyeData mashups,Physical world objects have information shadows in the virtual world.Combine these for richer eperiences.
  13. GamesFarm Ville, 65m monthly active users on Facebook, 24m daily users
  14. Microsoft does a lot. Bing is a good shot at it. Mostly playing catch-up.Web no longer the platform. The network is the world. To parts of it we still need windows into it.
  15. Google are focusing on the infrastructure.Get the foundations right.The intel is in the data.Gears, to go offline, cheap windows to the cloud.&amp;quot;data is the Intel Inside&amp;quot; Big media companies to challenge by wanting to get paid
  16. Our reality is already augmented and our bodies enhanced with technology. The penetration of mobile technology is dominant world wide.Google mobile operating system Android. Free for anyone who wants to install it on their hardware. Is based on Linux.1MM units sold in three days (10MM apps downloaded over the same period); mobile browser market share already 50% &amp;gt; Windows Mobile The iPhone has changes what people expect from mobile interfaces with it’s proximity sensors, touch sensitivity and easy to use interface.3 Skype Phone500K+ units in &amp;lt; 200 days. Leverage large Skype user base of 370MM (+51%Y/Y) + create a low-cost webenabled VoIP social networking, digital presence phone.Fire eagle – location awareness from YahooGoogle latitudeLet Fire eagle know where you are and have it displayed, broadcasted to where you have an online presence.