Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements.
HTML Computing Concepts HTML - An Introduction 1.
HTML Lesson 2 TBE 540 Farah Fisher. Prerequisites Access web pages and navigate Use search engines to locate specific information Download graphics from.
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
 2004 Prentice Hall, Inc. All rights reserved. Introduction to XHTML: Part 1.
Marking Up With Html: A Hypertext Markup Language Primer
 2003 Prentice Hall, Inc. All rights reserved. Chapter 4 - Introduction to XHTML: Part 1 Outline 4.1 Introduction 4.2 Editing XHTML 4.3 First XHTML Example.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
HTML (HyperText Markup Language)
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights.
Site Development Foundations © 2004 ProsoftTraining All rights reserved.
IT Introduction to Website Development Welcome!
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 14 Introduction to Computer Graphics.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Introduction to Computers CS Dr. Zhizhang Shen Chapter 4: Talking.
ITEC 745 Instructional Web Authoring I Instructor: Ray Cole Week 8.
Chapter 2 HTML Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
Exploring Office 2003 – Grauer and Barber Enhancing the Web Page Chapter 3 BCIS 1405 Session 15.
1.NET Web Forms HTML Introduction © 2002 by Jerry Post.
More Basic XHTML Module 2: XHTML Basics LESSON 2.
HTML 4 Foundation Level Course HyperText Markup Language Most common language used in creating Web documents. You can use HTML to create cross-platform.
CPT 123 Internet Skills Class Notes Publishing to the Web Session B.
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Review session for Web development. Time line of the internet history When was the ARPANET first demostrated? When did the NFSNet replace it? When did.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
HTML: Hyptertext Markup Language Doman’s Sections.
1 Using HTML and JavaScript to Develop Websites. Using Images.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
HTML tags Some popular ones. Paragraph: separated by a single line of white space Line break NOTE: no end tag is used for this tag Headlines ( through.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
WEB DESIGN AND PROGRAMMING Introduction to XHTML.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
Web Design–Part 2 Links, Graphics, Tables, and Color Explorers Guild May 25, 2000.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Basic Web Publishing M. Scott Gartner 7/15/98.
Review session for Web development. Today’s class Review the web designing. Filling out instructor evaluation form.
Glencoe Introduction to Web Design Chapter 4 XHTML Basics 1 Review Do you remember the vocabulary terms from this chapter? Use the following slides to.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 2
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page.
Marking Up with XHTML Tags describe how a web page should look
Chapter 1: Introduction to XHTML (part 1)
Chapter 4 - Introduction to XHTML: Part 1
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Marking Up with XHTML Tags describe how a web page should look
Presentation transcript:

Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung

Department of Information Technology 2 of 17 Links There are four types of links: Links to other places in this document Links to other documents on this computer Links to documents on other computers links The general format of a link is Text to show The a tags are called Anchors

Department of Information Technology 3 of 17 Links to other places in this document 2 Parts Mark the place to go to with an Anchor Part 1 is here Make a link to go to that place with another Anchor Go to part 1 The # sign indicates a location within a document

Department of Information Technology 4 of 17 Links to other documents on this computer Make a link to go to the other document with an Anchor Text or image to display as a link Some example Go to slide 13 Go to next week's contents These are also known as Relative Links Can also use locations within those documents with # example: Go to slide 13

Department of Information Technology 5 of 17 Links to documents on other computers Use an Anchor to create the link text to display as a link Example: Charles Sturt University means connect to another computer These are also known as Absolute Links

Department of Information Technology 6 of 17 links The fourth type of link Example: Rafilda This is also known as Absolute Link

Department of Information Technology 7 of 17 Pictures Which Picture format is best JPEG, GIF, PNG ? JPEG: good for colour photographs GIF: 8 bit line diagrams PNG: a newer format, good for photographs and line diagrams (not supported by older browsers) Diagrams on Web pages should NOT be greater than ~50KB each (for reasonable download times) Images and other media are stored as separate files, with references to their URL within the HTML

Department of Information Technology 8 of 17 Pictures To include a picture/image, use Eg for a picture in the same directory as the HTML doc or, if it is on another computer The alt attribute must be included for Strict XHTML

Department of Information Technology 9 of 17 Pictures align attribute - specifies the alignment of the image in relation to the text, for example: results in the text appearing to the left of the image there is NO - to center an image, use NOT inside the image tag To place the text following an image to appear below it, using the tag, for example:, or

Department of Information Technology 10 of 17 Pictures Helpful to include Height and Width attributes in an IMG Tag Allows browser to layout page before graphics download Don’t use Height and Width to 'shrink' images (still takes a long time to download 'small' large images) Can also make a picture a link:

Department of Information Technology 11 of 17 Colours and Browsers Not all colours can be displayed on computers - an approximation is made - called dithering Some old computers have a colour table of 256 (8 bit), with only 216 that can used between Macs and PCs - called the browser safe colour palette These 216 colours can be seen (and coded) at: If you use one of these 216 colours it will look the same whether on a Mac or PC browser

Department of Information Technology 12 of 17 Colours Colours represented by six-digit number/letter combinations consist of three sets of two-digit numbers, representing the amount of red, green, blue as hexadecimal values in the range 00-FF Example: black (no color) FF red 0000FF - blue FFFFFF - white (fully saturated with all three colours)

Department of Information Technology 13 of 17 Colours Can also use common named colours Example: color=“red" same as color="#FF0000" color=“blue" same as color="#0000FF" Others include “lime", “purple", “cyan“ List of colour names

Department of Information Technology 14 of 17 Comment Tags To explain your XHTML codes, provide better understanding of tags used Not display by browser Show up when viewing source codes Begins with <!-- Ends with --> Example: Expected to be used in your assignment 2

Department of Information Technology 15 of 17 Special Characters Non-breaking space Quotation mark (") " Ampersand (&) & Less-than sign (<) < Greater-than sign (>) > Copyright symbol ( © ) © See the following for loooong list of other special chars

Department of Information Technology 16 of 17 Horizontal Rules Horizontal lines can be placed in the document, as follows: Note: end tag with Example: Note: size & width are displayed as number of pixels

Department of Information Technology 17 of 17 Some Sites for your reference Investigate various Web Pages and see what looks good and what looks bad Bad examples: Lots of information on XHTML The definitive XHTML site XHTML validator