Hyperlinks, Images and Tables

Slides:



Advertisements
Similar presentations
In this lecture, you will learn: ❑ How to link between pages of your site ❑ How to link to other sites ❑ How to structure the folders on your web site.
Advertisements

Relative and Absolute Relative Absolute.  In web-page design, a hyperlink (or link) is a reference to a document that the reader can directly follow,
Links and Comments.
XP Browser and Basics1. XP Browser and Basics2 Learn about Web browser software and Web pages The Web is a collection of files that reside.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Computer Science 103 Chapter 2 HyperText Markup Language (HTML)
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Browser and Basics Tutorial 1. Learn about Web browser software and Web pages The Web is a collection of files that reside on computers, called.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
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.
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.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Adding Hyperlinks To a Web Page. Hyperlink and Its Add-Ons Main way to connect web pages and move throughout a web site. Uses the Anchor Tag which is.
Web Design (5) Navigation (1). Creating a new website called ‘Navigation’ In Windows Explorer, open the folder “CU3A Web Design Group”; and then the sub-folder.
CHAPTER 3 USING HYPERLINKS TO CONNECT CONTENT. LEARNING OBJECTIVES How to use the and anchor tag pair to create a text-based hyperlink. How to use the.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
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.
Tutorial 4: Working with Hyperlinks. Objectives Session 4.1 – Place bookmarks on a Web page – Create a link to a bookmark – Create a link to another Web.
1.  Use the anchor element to link from page to page  Configure absolute, relative, and hyperlinks  Configure relative hyperlinks to web pages.
 The World Wide Web is a collection of electronic documents linked together like a spider web.  These documents are stored on computers called servers.
Web software. Two types of web software Browser software – used to search for and view websites. Web development software – used to create webpages/websites.
HTML: Hyptertext Markup Language Doman’s Sections.
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.
Introduction to HTML. Today’s Discussion What is HTML ? What is HTML ? What is Web Page ? What is Web Page ? Web Server Web Server Web Browser Web Browser.
Website design and structure. A Website is a collection of webpages that are linked together. Webpages contain text, graphics, sound and video clips.
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.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
1 More About HTML Images and Links. 22 Objectives You will be able to Include images in your HTML page. Create links to other pages on your HTML page.
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
Session: 4. © Aptech Ltd. 2Creating Hyperlinks and Anchors / Session 4  Describe hyperlinks  Explain absolute and relative paths  Explain how to hyperlink.
The Internet, Fourth Edition-- Illustrated 1 The Internet – Illustrated Introductory, Fourth Edition Unit B Understanding Browser Basics.
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 1 Charles Edeki AIU Live Chat for Unit 2 ITC0381.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 2 Creating Links.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Web Basics: HTML/CSS/JavaScript What are they?
4.01 How Web Pages Work.
Objective % Select and utilize tools to design and develop websites.
Links and Comments in HTML5
CISC103 Web Development Basics: Web site:
Introduction to HTML.
Sec (4.3) The World Wide Web.
Links and Comments.
Lecture 3 Sarsenova Zhibek.
The Internet and HTML Code
Introducing the World Wide Web
Web software.
Introduction to XHTML.
Objective % Select and utilize tools to design and develop websites.
Introduction to web design discussing which languages is used for website designing
Hyperlinks, Images and Tables
Chapter 27 WWW and HTTP.
Links.
Inserting and Working with Links
Links and Comments.
HTML Links.
Links and Comments.
Computer communications
Links and Comments.
HTML LINKS
4.01 How Web Pages Work.
IDT Links in HTML What you need to know….
4.01 How Web Pages Work.
Presentation transcript:

Hyperlinks, Images and Tables Part 1

Overview… We will look at… What is Hypertext. How hyperlinks are used to navigate to World Wide Web Creating hyperlinks Types of Hyperlinks Hyperlink Styling

Hyperlinks, Images and Tables World Wide Web is an collection of information of documents and other resources that are identified by Uniform Resource Locators (URLs). Interlinked via hypertext and accessed via internet. So how do we display these resources? Hyperlinks Images Tables

Hypertext and Hyperlinks Hypertext was originally created around 40 years before the world wide web. (https://en.wikipedia.org/wiki/Hypertext) What if you wanted to know more about “The Garden of Forking Paths”?

Hypertext and Hyperlinks When clicked, transports us to the topic selected by the user. In this case: (https://en.wikipedia.org/wiki/The_Garden_of_Forking_Paths)

Creating the Link The page is written with Hyper Text Mark-up Language. Links are created through the use of <a></a> tags. Links are broken into two sections. Link address Text shown to users By using this link we will be redirected to “aboutUs.html”

Absolute and Relative Hyperlinks There are a range of different hyperlinks that can be used. Each of the links are broken down into two types of hyperlinks. Absolute Hyperlinks <a href=“www.google.com”>Google</a> Relative Hyperlinks <a href=“../aboutUs.html”>About Us</a>

Directory Navigation With the use of links we can also navigate through directories within the file structure. What if we wanted to navigate to a new section of the website? Lets try and access the navigation.html from default.html…. By making use of the “../” within the hyperlink. We can go up one level of the file structure. D

Selecting a Directory So what if we wanted to navigate to another part of the file structure all together? We have the option to navigate through directories. Lets navigate to the original web forms of the DVDSwapShop. So what does this link do?

Selecting Directory This is the file structure of the web application.

Relative Hyperlinks So what is a relative hyperlink? A relative hyperlink is a link within the same web application. This includes the navigation of directories, download links etc… As long as they are within the file structure of the web application. Some examples of relative hyperlinks are:-

Absolute Hyperlinks An absolute link references directly to another web application. The link above is absolute. This is not relative to our web application. These are created by using the full URL in the hyperlink. By clicking . We will be navigated to their home page. We can also attach search parameters to the URL to automatically search. E.g. https://www.google.co.uk/search?q=dmu+blackboard

Bookmark Hyperlinks In HTML we also have the use of bookmark hyperlinks. These links allow a user to navigate the page by clicking links that navigate you to different sections. These are better known as anchors. To create an anchor. Give a set of tags an id. Create a link using the id to know where to link to starting with a #

Download Hyperlinks Another type of hyperlink available is a download link. This will create a normal link that when clicked will automatically download the file attached. E.g. This will navigate to the downloads directory and start the download for download.pdf.

Sending Emails Using Hyperlinks we can also send emails. When clicking an email link, it will open the default mail client on the computer such as Outlook, Thunderbird etc. To create this kind of link we use the following text. What if we wanted to auto fill the subject? What about filling in the body?

JavaScript Hyperlinks JavaScript is a client side programming language that is used to create interactive effects inside web browsers. Using this programming language we can perform functions within the browser. We can also have hyperlinks that activate JavaScript code. This code can be helpful but could also be used for malicious purpose if used irresponsibly. What does the following do?

JavaScript Hyperlinks This link will create a pop up box on the page that will display the current date and time to the user. This link will display a random number between 1 and 100 every time the link is clicked.

Styling Hyperlinks Styling also applies to links themselves. Hyperlinks have multiple states to indicate what is currently happening on the page. A blue link indicates an unvisited link. CSS = (a:link) Link Purple indicates a visited link. CSS = (a:visited) A link being hovered over. CSS = (a:hover) A currently active link. CSS = (a:active) These help identify what page you are on, where you have been and where your about to click to. All of these can be overwritten using a stylesheet.

CSS for Hyperlinks Removes Underlining from link. Changes link colour to green. Changes visited colour to orange. Changes link hovering to hot pink. Changes active links to golden rod when being clicked.

Recap We have looked at:- What is Hypertext. What are Hyperlinks and how they are used. Different Types of Hyperlinks including: Absolute Relative Directory Navigation Bookmark Email Javascript Styling of Hyperlinks Other Attributes that are used.

Next Week… We are going to look at HTML in regards to:- Images Dynamic Tables