PATHNAMES LINKS BACKGROUND.  Pathnames in hyperlinks & image tags  Absolute pathnames: for links to web addresses  Relative pathnames: for links to.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Introduction to CSS.
XP 1 Developing a Basic Web Site Tutorial 2: Web Site Structures & Links.
Absolute vs. Relative Paths/Links
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
How to Make a Web Page: A Crash Course in HTML programming.
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.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
Images: HTML and CSS. The Bells page without images in Source View and Design View.
Background Images in HTML/CSS STEPHANIE BECKSTROM.
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Cascading Style Sheet Basics Pepper. Looking at the HTML See the surrounding tags See head, body, paragraph, header See the ending tags See the list.
INTRODUCTION TO DREAMWEAVER 8. What we already know…  Design basics  Contrast  Repetition  Alignment  Repetition  HTML.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Shows the entire path to the file, including the scheme, server name, the complete path, and the file name itself. Same idea of stating your full name,
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.
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
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.
Images Inserting an image on a web page. chcslonline.org2 ITEMS REQUIRED Go to the course download page on the course website and download the 3 images.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
STILL CHAPTER 4 More Style. Topics How to specify “style” for beautifying your content?  Using tag and style attributes and values Separate file for.css.
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.
CO1552 – Web Application Development Cascading Style Sheets.
Finishing your site HTML and css 2012 Brian Davison.
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.
How to upload files to Altervista Overview:
Planning your site/organization on the Web Please use speaker notes for additional information!
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.
XP 1 HTML Tutorial 2: Developing a Basic Web Site.
DIV, Span, CSS.
FUNDAMENTALS OF HTML, XHTML & CSS Lesson 4. THE OBJECTIVES -  In this lesson you will begin coding in HTML to provide the structure  You will learn.
Web Design Part I. Click Menu Site to create a new site root.
Quick Questions 1. What does HTML stand for? 2. What are the three main languages of the Web? 3. What is the purpose of the tags? 4. Why do we indent different.
HTML & CSS BasicsHTMLCSSQuizAnswers  The logo In this website(made of html and css Codes), you will learn some basics of How to use HTML and CSS codes.
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.
Adding a background image with CSS- The absolute basics CIT WINTER SEMESTER 2014 PRESENTED BY COLBY GRIFFITHS.
Dawn Pedersen Art Institute. What Are CSS Sprites? Back in the day, sprites were the images in games that swapped one little image for another in a specific.
Are You Smarter Than a 5 th Grader? 1,000,000 5th Grade HTML 5th Grade Syntax 4th Grade HTML 4th Grade Syntax 3rd Grade HTML 3rd Grade Syntax 2nd Grade.
To be completed Your proposal  Your House style  Your site plan  Page plans (a draft layout for each of your five pages)  A design mock-up -  All.
Determining the URL for a Web Document. Components The URL of a web document consists of 1.The server address 2.The folder structure 3.The file name.
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.
Lesson 6 Links. Creating Folders  For every web site/page, you need to create a separate folder  The computer cannot find links if they are not stored.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
HTML Help For MGS 351 Final Project Website. Agenda Getting Started – Must-Do’s – Working from an off-campus computer – Other Resources Working with HTML.
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.
REEM ALMOTIRI Information Technology Department Majmaah University.
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
© 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.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
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”
Objective % Select and utilize tools to design and develop websites.
Site Organization.
Fundamentals of HTML, XHTML & CSS
Hyperlink Anchor tag and its attributes Four Types of URL
Objective % Select and utilize tools to design and develop websites.
Relative Paths.
Hyperlink Anchor tag and its attributes Four Types of Hyperlink
Site Organization.
How files are organized
Hyperlink Anchor tag and its attributes Four Types of URL
A01 DESIGN To be completed Your proposal  Your House style 
Web Design and Development
HTML Tags and References to other Files
One Set of Styles Connected to As Many Pages as You Want!!!
Presentation transcript:

PATHNAMES LINKS BACKGROUND

 Pathnames in hyperlinks & image tags  Absolute pathnames: for links to web addresses  Relative pathnames: for links to files stored within the website PATHNAMES

 Full address of the file  Similar to giving someone your address  Example: 1356 West Street Amherst, MA  – html links ABSOLUTE PATHNAME

S:\hs\student\web designI\moriarty\  Absolute pathnames are problematic when linking to files in your website.  If website moves from its current location absolute links to files in the site will not work.  Link will look for folders that existed on a different computer. ABSOLUTE PATHNAME TO FILES

 C:\moriarty\powerpoint\links  S:\HS\Student\webDesign\moriarty\basic tags.html  As soon as I move the file to another computer that cannot access that particular C:\ or the S:\, the link fails EXAMPLE: ABSOLUTE PATHNAME PROBLEM

 Directions relative to this current place  Similar to giving someone directions to your house  “To get to my house from here, go out the door, and take a right. Walk down the hall about 15 feet and take another right...”  home  In this same folder, there is a file called “index.html” RELATIVE PATHNAMES

 Elvis is in the house  Inside the current folder, there is a folder called “images” and the folder has a file called “elvis.jpeg.”  tutorial 1  The folder that contains the current folder contains a folder called “assign” and that folder has a file called “tutorial1.html” RELATIVE PATHNAMES

 tutorial 1  Go up one level from the folder that contains this file, find the folder called assign, go into it and link to …” RELATIVE PATHNAMES

 tutorial 1  Go up two levels from the folder that contains this file, find the folder called assign, go into it and link to …” RELATIVE PATHNAMES

 Since relative pathnames are written in relation to each other, the entire website is portable. RELATIVE PATHNAMES

 Pathnames in hyperlinks and image tags  Absolute pathnames: for links to web addresses  Relative pathnames: for links to files stored within the website PATHNAME REVIEW

  Here’s my Mom!  Google HYPERLINKS

 Put it in the style section of the page  Body {background-image: url(images/grey.jpg);}  All pathname guidelines apply to background-image style rules  Download images to your site rather than link to images on the web BACKGROUND-IMAGE

 Background should not overwhelm the foreground  Good background is like a good referee: should not even notice it.  Background image repeats by default, like floor tiles  Be assertive when judging backgrounds BACKGROUNDS

 If background is too much, foreground is lost.  In that case, why put the page up?  Balance is critical BACKGROUNDS

 Study the CSS Background examples on W3Schools to learn about the many ways to display a background image  W3Schools Background W3Schools Background BACKGROUNDS