CO1552 – Web Application Development Linking Pages - The Basis of the Web.

Slides:



Advertisements
Similar presentations
HTML III. Learning Objectives HTML Links Structuring Pages with Frames Introduction to Cascading Style Sheets (CSS)
Advertisements

Color Templates Software Engineering Module: Web UI Programming Topic: HTML TALENTSPRINT | © Copyright 2012.
Frames.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
XP 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial 5.
Computer Science 1611 Internet & Web Creating Webpages Hypertext and the HTML Markup Language.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
The Power of Tables They aren't just for sitting stuff on anymore...
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
ETT 429 Spring 2007 Web Design I.
Chapter 6 Working with Frames.
HTML 2 FRAMES. Frames Intro Frames are a feature supported by Netscape 2.0 (and higher) Internet Explorer 3.0 (and higher) and a few other browsers. Frames.
Lecture on: Frames. FRAMES VERSUS TABLES Frames allow part of the page, usually a navigation bar, to stay put.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Link and Table in HTML. Statistics HTML review The two faces of a HTML file In a notepad program. In a internet browser program. The function of HTML.
CS105 Introduction to Computer Concepts HTML
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
HTML HyperText Markup Language Constantly evolving - extra facilities being added regularly Java applets and JavaScript used to increase functionality.
Web Design ITM 2010 Tutorial 1 Prepared by Wang Shiyu.
Agenda Links External and Internet Links Anchor Tag Text Hyperlinks Image Hyperlinks Images Image Attributes: src, alt, width, height, align, border.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
HTML Overview Part 4 – Tables 1. HTML Tables  Tables are defined with the tag pair.  A table is divided into rows with tag pairs. o tr stands for "table.
Chapter 1 XHTML: Part I The Web Warrior Guide to Web Design Technologies.
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Linking web pages Wah Yan College (Hong Kong) Mr. Li C.P.
Frame Page A Frame Page does the following: –Defines the size of each frame. –Defines how the window will be broken up – rows or columns. –Specifies which.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Creating Links – Lesson 31 Creating Links Lesson 3.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Frames Using Frames? zRarely used zPrinting, bookmarking & resizing problems. zFrames can look different from browser to browser. zHard to design (need.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
Tutorial 5 Windows and Frames Section B - Working with Frames and Other Objects Go to Other Objects.
XHTML Hyperlinks. Creating Links to Other Web Pages A link, or hyperlink, is a specially formatted Web page object that the user can click to open a different.
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
Windows and frames and the anchor tag. Frames Independent, scrollable portions of a Web browser window, with each frame capable of containing its own.
© Marty Hall, Larry Brown Web core programming 1 HTML Frames.
Introduction to HTML Unit 3: E-business.
Chapter 6 Links. 3 Parts of Links 1. Destination: defines what happens when a user clicks the link. 2. Label: this is the text (or possibly an image)
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Links in HTML What you need to know….. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another.
HTML Links HTML uses a hyperlink to another document on the Web.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
LINKING WEBPAGES USING HTML HYPERLINKS. Hyperlinks are text strings or images on a webpage which when clicked on, links to another section in the same.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
Online PD Basic HTML The Magic Of Web Pages
Introduction to HTML.
Creating Links – Lesson 3
Lecture 3 Sarsenova Zhibek.
Adobe Photoshop.
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Table of Contents Creating Frames Frameset Tag and its attributes
Dreamweaver Basics.
HTML LINKS
IDT Links in HTML What you need to know….
Presentation transcript:

CO1552 – Web Application Development Linking Pages - The Basis of the Web

Anchors … In various forms, anchors provide navigation: Link one document to another document Identify bookmark points in a page Link to bookmark points in a page. Anchors are the basis of hyper- text.

Link from one page to another Load a page In the above two examples, the text “ Load a page ” is displayed by the browser in blue text and underlined. When the text is clicked-on, the named page is loaded by the browser.

Open a page You can write an anchor that will open a page in the same or a different browser window: “ Target= _blank ” – web page is opened in a new browser window. _parent ” – target URL will open in the parent frameset _self “– target URL will open in the same window or frame _top ” – target URL will open in the full body of the window If you do not define the target, the new page replaces the old within the active browser window or frame Sometimes good and sometimes bad to use this feature!

Link using an image In the above example, an image called “ joinbutton ” is displayed on the browser. When the user clicks on the image, s/he is automatically taken to the page defined in the href attribute. Note that we have to have border= ” 0 ” within the image tag to prevent a blue border showing round it

Define a bookmark within a page Used mainly in very long pages - often academic ones Try to avoid very long pages … The above three examples define points that are sections within a document. NOTE: there is no indication of any text between the tags, so nothing appears on the page in the browser. HTML editors (Dreamweaver, Frontpage, Netscape Composer) display an icon in the editor screen

Effects of bookmark anchors The name and anchor make no difference whatsoever to the formatting of your web page Named bookmark anchors are used solely to define a position in your web page They are invisible except to the browser Useful for navigating a large document – perhaps jumping from a table of contents to various sections

Jumping to anchor points You can now link to your named anchors by using tags such as: Go to Contents a href= ” #index ” >Go to Index Go to chapter 12 These will display underlined, blue text When you click on any of these links your browser will shift automatically to the part of the document defined by a named anchor.

Back to top In a long document, you may want to use “ go to top ” links from the lower parts of your pages Better than forcing the user to scroll all the way back up This might ne where your navigation or page control section is! Insert a named anchor (eg, “ top ” ) RIGHT at the top of the page Link to it from the bottom of the page You need to make a long page and then use named anchors to understand fully how to use them – have a go …..

Practise Links are the basis of hypertext They are the bones of the WWW You need to practise creating links to set up pages in a pre-designed pattern Design a simple navigation structure needing 3 or 4 pages Create the pages (keep them simple but identifiable) and link them This is a tutorial exercise today! Test in a browser – try Firefox and Internet Explorer