ET710 HTML Paths: Dot Dot Slash Notation. Directory (folder) Hierarchy. We can think of a computer’s file structure as a tree with branches. The trunk.

Slides:



Advertisements
Similar presentations
Managing Data Exchange: XPath
Advertisements

© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Absolute vs. Relative Paths/Links
Factors and Prime Factorization. Definitions Factors ~ Whole numbers that are multiplied to find a product Factors ~ Whole numbers that are multiplied.
Web basics Keywords: Web Server, Browser, Local, Remote, HTML, URL.
27 September. Thursday’s Current Event: Follow Up Lands End Already offers VoIP eBay to purchase Skype Connect buyers and sellers Google Offers instant.
Creating & Attaching CSS An CSS Primer Tutorial. A New CSS Document Create a new CSS Document in Dreamweaver using the “New” option under the File Menu.
Announcement #1 1 Lecture 9. Announcement #2  Midterm exam will be on Oct. 12 (Tuesday)  pm – 1.45 pm  Exam will cover all materials till Oct.
1 Deploying a Web Application. 2 Virtual Directories Web servers map URLs to directories in their file systems. Called virtual directories. Normally one.
Getting Started with Dreamweaver
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Chapter 3 The Basics of Networking
1 HTML (Set Up Public Folder) Some material on these slides is taken directly from
Pre-Coding Web Design – Sec 3-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
Tutorial #2 Creating Links. Tutorial #1 Review Basic Page (DOCTYPE, HTML, Head, Title, Body) Tags Structure( ),,,,,, Nested Tags content Tag Attributes.
Anatomy of a URL: Finding Broken Links Dr. Steve Broskoske Misericordia University.
WRA 210: 2/07/2013 MOD 8: FILE NAMING CONVENTIONS.
WEB DESIGN UNIT 2 Unit 2 Module 2-5. WHAT HAVE YOU LEARNED?  What is the title tag do? Where does it show?  What are the tags that need to be on every.
Macromedia Dreamweaver 8 Revealed DREAMWEAVER GETTING STARTED WITH.
How to upload files to Altervista Overview:
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Murach's HTML5 and CSS3, C1© 2012, Mike Murach & Associates, Inc. Slide 1.
UNIT 2 UNIT 2 Module 3: HTML Lists Overview. List There are two common types of HTML lists Ordered list numbered Unordered list bullet points.
1 5. Abstract Data Structures & Algorithms 5.1 Data Structure Fundamentals.
Internal and External Links Web Design – Section 3-6 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Web Foundations THURSDAY, SEPTEMBER 26, 2013 LECTURE 2: WORKING WITH HTML FILES, HTML BASICS, LINKING.
Site Organization. The Need to Organize Site Files Thus far, we have placed all our site files into the main (root) website folder. As a website becomes.
CSCI N241: Fundamentals of Web Development Copyright ©2006  Department of Computer & Information Science Navigation, Links & Images.
3.02E Website File Management 3.02 Develop webpages.
Biology Front End. Abushnag’s Tickets Establish Communication document the team work and how the site works Job page Adding the new features to the add.
KompoZer. What is it? A FREE product used to design websites A FREE product used to design websites A WYSIWYG HTML Editor A WYSIWYG HTML Editor –WYSIWYG:
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
File Paths *referenced from
HTML Links and navigation Basharat Mahmood, Department of Computer Science,CIIT,Islamabad, Pakistan. 1.
© ExplorNet’s Centers for Quality Teaching and Learning 1 Objective % Understand advanced production methods for web-based digital media.
CSS IS A LANGUAGE DESIGNED TO TARGET HTML ELEMENTS AND NODES BY TYPE, CLASS, ID AND VALUE, AND CHANGE THEIR VALUES CSS – change how your HTML looks and.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
Hyperlinks Links for Other Pages. Hyperlink (aka Link) Text (or image) user can click Takes user to different location In general, location can be: On.
Making the website. Get your folders sorted first Create a new folder in “N” called “My hockey website” Create folders inside called “Documents”, “images”
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
HTML Links CS 1150 Spring 2017.
Getting Started with Dreamweaver
More on WANs Fiber Optic Cables Used in Internet backbone
Site Organization.
ET710 What are Hyperlinks? A hyperlink, or hot link, is a selectable element in an electronic document that serves as an access point to.
Internal and External Links
Chapter A - Getting Started with Dreamweaver MX 2004
بسم الله الرحمن الرحيم.
Relative Paths.
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Site Organization.
How files are organized
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Coding links on Web Pages
Operating Systems and Using Linux
Operating Systems and Using Linux
Getting Started with Dreamweaver
Operating Systems and Using Linux
Operating Systems and Using Linux
HTML Structure.
Operating Systems and Using Linux
HTML Links CS 1150 Fall 2016.
…when you own all the files…you can link to them directly
Website File Management
Presentation transcript:

ET710 HTML Paths: Dot Dot Slash Notation

Directory (folder) Hierarchy. We can think of a computer’s file structure as a tree with branches. The trunk of the tree is the root folder. It is the parent of all branches that connect directly to the trunk. These child branches can themselves be parents to other branches and so on and so on.

Links to child folders and files A relative link can be used to link together all the files within a website. If your directory structure looks something like the one at the right, a relative link can be written from index.html to any file in the root directory (genealogy_html), or any of the subdirectories in that directory: a href="aboutme.htm" a href="documents/obituaries.html" a href="families/brown/surnames.html” :

Links to parent folders and files Dot-Dot-Slash Dot-dot-slash tells the browser to move one level back toward the root directory before looking for the path to the file. To link from obituaries.html to index.html, the browser must move up one level from documents to genealogy_html to find the file. The relative link is written like this: a href="../index.html"

Links to parent folders and files Dot-Dot-Slash Dot-dot-slash tells the browser to move one level back toward the root directory before looking for the path to the file. To link from obituaries.html to index.html, the browser must move up one level from documents to genealogy_html to find the file. The relative link is written like this: a href="../index.html"

Links to parent folders and files Dot-Dot-Slash You can write a relative link from one subdirectory to another. To link from brown/surnames.html to jones/surnames.html, the browser must move back one level to the families directory to find the jones directory: a href="../jones/surnames.html“.

Links to parent folders and files Dot-Dot-Slash Need to move back two directory levels? No problem. From "jones/surnames.html" back through families to your home page in genealogy_html: a href="../../index.html" Just add one dot-dot-slash for every directory level you need to move back, until you find the path to the file.

Quiz (for the advanced) Need to make a link from jones/surnames.html to documents/obituaries.html ? Look carefully. You need to go up one level to families, and then up another level to genealogy_html and then down one level to documents/obituaries.com. Write down the path before turning to the last slide which has the answer --->

End Need to make a link from jones/surnames.html to documents/obituaries.html ?../../documents/obituaries.html