CSC9B1: Essential Skills WWW 1

Similar documents
Lab Introduction to Cascading Style Sheets

MRK260. Week Two. Graphic and Web Design

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

The Nature of the Web

Introduction to web development and HTML MGMT 230 LAB

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

CSS: The Basics CISC 282 September 20, 2014

A network is a group of two or more computers that are connected to share resources and information.

Introduction to HTML and CSS. Arts and Humanities in the Digital Age 2018 CHASE DTP Dr. Paul Gooding

WEB DESIGN: CONSTRUCTION, FILES, CODE AND COLOURS UNIT NUMBER: H383 34

Web Design and Application Development

Html basics Course Outline

ITNP43: HTML Lecture 4

What is a web site? Web editors Introduction to HTML (Hyper Text Markup Language)

The Internet. Tim Capes. November 7, 2011

Web Engineering (Lecture 01)

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

Co. Louth VEC & Co. Monaghan VEC. Programme Module for. Web Authoring. leading to. Level 5 FETAC. Web Authoring 5N1910

ACSC 231 Internet Technologies

Web Programming HTML CSS JavaScript Step by step Exercises Hans-Petter Halvorsen

CS/COE 1520

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

What is CSS? NAME: INSERT OPENING GRAPHIC HERE:

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

CSCU9B2 Practical 1: Introduction to HTML 5

c122jan2714.notebook January 27, 2014

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS

It is possible to create webpages without knowing anything about the HTML source behind the page.

COMS 359: Interactive Media

CSS how to display to solve a problem External Style Sheets CSS files

E , Fall 2007 More with stylesheets

Web Design. Basic Concepts

INTRODUCTION TO WEB USING HTML What is HTML?

Using Dreamweaver CS6

for Beginners COPYRIGHT NATIONAL SEMINARS TRAINING. ALL RIGHTS RESERVED.

Navigation. Websites need a formalized system of links to allow users to navigate the site

Midterm 1 Review Sheet CSS 305 Sp 06

Introduction to WEB PROGRAMMING

Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Grade 9 :The Internet and HTML Code Unit 1

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

HTML TUTORIAL ONE. Understanding What XHTML is Not

Some businesses have changed in a major way because of new technology

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

Hypertext Markup Language, or HTML, is a markup

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

FUNDAMENTALS OF WEB DESIGN (405)

Unit 4 The Web. Computer Concepts Unit Contents. 4 Web Overview. 4 Section A: Web Basics. 4 Evolution

Styles, Style Sheets, the Box Model and Liquid Layout

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Scientific Communication CITS4008. Designing and Writing Web Pages Rachel Cardell-Oliver 2013 Based on notes by Robyn Owens

HTML5 MOCK TEST HTML5 MOCK TEST I

Collection of (1) Meta-network. Uses a standard set of protocols Also uses standards for structuring the information transferred

MARKUP LANGUAGES. A brief history of Markup languages

ATSC 212 html Day 1 Web Authoring

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

CREATING WEBSITES. What you need to build a website Part One The Basics. Chas Large. Welcome one and all

By completing this practical, the students will learn how to accomplish the following tasks:

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

Introduction to Web Technologies

Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 3 Test Bank

CSS.

Semantic Web Lecture Part 1. Prof. Do van Thanh

Background of HTML and the Internet

Reading 2.2 Cascading Style Sheets

ERTH 401 / GEOP 501 Computer Tools. Lecture 12: Websites. Ronni Grapenthin MSEC 356 x5924. November 13, 2017

HTML CS 4640 Programming Languages for Web Applications

WEB APPLICATION. XI, Code- 803

ATSC Week 2 Web Authoring

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Developing a Basic Web Page

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Creating and Building Websites

Programmazione Web a.a. 2017/2018 HTML5

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2

HTML/XML. HTML Continued Introduction to CSS

Using Dreamweaver. 1 Overview. About the Web. About Dreamweaver

EXPLORE MODERN RESPONSIVE WEB DESIGN TECHNIQUES

Creating and Building Websites

Web Design E M I R R A H A M A N WEB DESIGN SIDES 2017 EMIR RAHAMAN 1

Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5

Chapter 1 Introduction to HTML, XHTML, and CSS

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

Understanding the Web Design Environment. Principles of Web Design, Third Edition

2. Write style rules for how you d like certain elements to look.

Bridges To Computing

Introduction: History of HTML & XHTML

WEBSITE DEVELOPMENT CODERDOJO ATHENRY 2014

In the early days of the Web, designers just had the original 91 HTML tags to work with.

CSS. Introduction to. Meganadha Reddy K. Technical Trainer NetCom Learning

Year 8 Computing Science End of Term 3 Revision Guide

The Benefits of CSS. Less work: Change look of the whole site with one edit

Transcription:

CSC9B1: Essential Skills WWW 1 Lecture WWW 1/Slide 1 A short history of hypertext The visionary: Vannevar Bush: As We May Think, 1945: The MEMEX machine ( memory extender ) Linked information, trails, browsing Lecture WWW 1/Slide 2 Page 1 1

Important Dates and People Theodor Nelson As We Will Think, 1972 Did what? From his website: http://ted.hyperland.com/ Tim Berners-Lee, 1989, proposed the World Wide Web - based on the concepts of hypertext Why? From The Telegraph, 26/6/2008 Lecture WWW 1/Slide 3 How does it get to your machine? HyperTextTransfer Protocol (HTTP) is used to ensure correct transmission of: The request for a page from browser (CLIENT) to Web SERVER(where the document is located) The contents of the page (HTML) from Web SERVER back to the browser So that the browser (CLIENT) receives a copy of the requested document Lecture WWW 1/Slide 4 Page 2 2

The future (and the past) Lecture WWW 1/Slide 5 Information representation and hypertext Hypertext is normally non-linear (what does this mean?) Simple linear text logically still hypertext, but only in a technical sense Why is non-linearity important? Hot text! (Letters, words, longer pieces of text, pictures, or parts of pictures) Different hypertext systems may differ in How the user interacts with the system whether many forms of link are supported how the data is displayed Lecture WWW 1/Slide 6 Page 3 3

How is Hypertext made? We all know how to produce linear text We know about producing images We know about producing sounds But how does one produce hypertext Which is likely to be made up of all the above, and more? In particular, how does one produce hypertext for use on the WWW? Lecture WWW 1/Slide 7 HTML and the WWW HTML stands for Hyper Text Markup Language This is the basic language used to define WWW pages. It specifies: The text, images and other items to be displayed Links to other documents or elements of documents Some information about the intended appearance Lecture WWW 1/Slide 8 Page 4 4

HTML: a simple WWW page <html> <head> <title> A Simple HTML Page </title> </head> <body> <p> A short paragraph </p> </body> </html> Lecture WWW 1/Slide 9 Markup languages Word processors come in two basic varieties: WYSIWYG (What You See Is What You Get) Markup Lecture WWW 1/Slide 10 Page 5 5

Markup Languages Markup languages can also be used for word processing Here is a short example in LaTeX: (much used in Science and engineering) \section*{introduction} In this assignment you will be producing an {\bf Alice program} that runs a very simple {\em children's game}. The result might look like this: Introduction In this assignment you will be producing an Alice program that runs a very simple children s game. Lecture WWW 1/Slide 11 Markup cont d Another LaTeX example \int_{x=0}^{\infty} \frac{\exp(-x^2)}{(x-1)^2} dx is rendered as The comprehensive LaTeX symbol list http://saikat.guha.cc/ref/latex-symbols.pdf Lecture WWW 1/Slide 12 Page 6 6

Why does the WWW use markup? The output device Large screen, small section of large screen, laptop screen, iphone or advanced mobile phone, is not known in advance So WYSIWYG systems are inappropriate why? Lecture WWW 1/Slide 13 HTML itself Two parts: head and body HTML is free-format HTML markup consists of tag, end-tag pairs A tag: <something> An end-tag: </something> (note the /) <html> <head> <title> A Simple HTML Page </title> </head> <body> <p> A short paragraph </p> </body> </html> Lecture WWW 1/Slide 14 Page 7 7

Example using headers <html> <head> <title> A Simple HTML Page </title> </head> <body> <h1> Top-level header </h1> <p> Top-level header usually has same content as title. </p> <h2> The next-level header(h2) </h2> <p> A little text </p> <h3> A level-3 header </h3> <h2> Another H2 level header (H2) </h2> <h3> A level-3 header </h3> <h4> A level-4 header </h4> <h5> A level-5 header </h5> <h6> A level-6 header </h6> <p> A short paragraph </p> </body> </html> Lecture WWW 1/Slide 15 Preparing HTML documents (many) WYSIWYG editors for HTML are on the market. Word can save its documents in HTML, for example We will use the simple text-editor TextPad (a lot) TextPad is better than NotePad, e.g. Colour coded keywords Lecture WWW 1/Slide 16 Page 8 8

Make your life easy Remember that it is an effect you are trying to achieve - through the embedded markup tags... this produces exactly the same as the earlier HTML... <html> <head> <title> A Simple HTML Page </title> </head> <body> <p> A short paragraph </p> </body> </html> <html> <head> <title> A Simple HTML Page </title> </head> <body> <p> A short paragraph </p> </body> <html> Lecture WWW 1/Slide 17 Versions of HTML HTML is an evolving language: HTML standards are managed by the World Wide Web Consortium (W3C) Both HTML 4.01 and XHTML 1.0 are currently widely used Support for HTML5 is increasing Other flavours browsers often have their own variants Lecture WWW 1/Slide 18 Page 9 9

HTML5 The next step in the evolution of HTML. Combines many features of other technologies (HTML + CSS + Javascript APIs) Blurs the distinction between internet application and desktop application See http://worldsbiggestpacman.com/ http://html5demos.com/ http://www.html5rocks.com/ http://www.thewildernessdowntown.com/ http://craftymind.com/factory/html5video/canvasvideo.html Lecture WWW 1/Slide 19 Tolerance and Intolerance Most browsers are quite tolerant of incorrect HTML: Missing </...> tags Missing (/)html, (/)title and (/)body tags One result is that incorrect HTML can be displayed differently by different browsers (Is this good or bad?) What about correct HTML? There is an HTML validation service offered by the World Wide Web Consortium (W3C) at http://validator.w3.org/ Lecture WWW 1/Slide 20 Page 10 10

Incorrect HTML displayed differently Internet Explorer 11 displays the counter, while Firefox 32 does not. Lecture WWW 1/Slide 21 Make it look nice HTML should be about content. What do you know about the display here: <h1>this is a Level 1 heading</h1> <p>the first paragraph.</p> <h3>this is a level 3 heading</h3> <p>some more text in a paragraph</p> CSS (Cascading Style Sheets) provide ways of styling a page separate the form from content can be» inline» internal» external Cascade runs this way Lecture WWW 1/Slide 22 Page 11 11

An example rule: body { } General format: selector { } CSS Example color: navy; background-color: #ffffe0; font-family: arial, sans-serif; font-size: 75%; property: argument(s); another-property: argument(s); a-third-property: argument(s); fourth-property: argument(s); Lecture WWW 1/Slide 23 The CSS Zen Garden http://www.csszengarden.com/ Go there Lecture WWW 1/Slide 24 Page 12 12

Hypertext laboratories a chance to create Hypertext documents using HTML writing HTML directly on a text editor while viewing the result on a web browser experiment yourself don t be scared to try things out Lecture WWW 1/Slide 25 End of WWW 1 Lecture http://www.w3schools.com/html/ http://www.w3schools.com/xhtml/ Watch Web 2.0 The Machine is Us/ing us Lecture WWW 1/Slide 26 Page 13 13