Links.

Slides:



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

Developing a Web Site: Links Using a link is a quicker way to access information at the bottom of a Web page than scrolling down A user can select a link.
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.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links
Need to define two things: › The destination › Something to click on to get there  Tag is click here  Can be text, special character or image (next.
กระบวนวิชา 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.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Design, Formatting, CSS, & Colors 27 February, 2011.
Design, Formatting, CSS, & Colors September 9, 2010.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Website design Feng Zhao College of Educatioin California State University, Northridge.
Creating A Simple Web Page. Step 1- Open Dreamweaver & Create A New Page (File New) and blank.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Chapter 3 Dreamweaver: Part I The Web Warrior Guide to Web Design Technologies.
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.
Unit 4 – Creating A Web Site Instructor: Brent Presley.
HTML (Hypertext Markup Language ). Hyperlinks Hyperlinks from text to other sites Write the link, which is visible at the screen Example: Hyperlink to.
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.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 4: Creating Hyperlinks Kelly L.
Doman’s Sections Information in this presentation includes text and images from
Today’s objectives  Review  CSS | Rules | Declarations  HTML Structure document  Class asignment.
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 
How to get there from here. Lesson 5 – Unit E. Library.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
 Good navigation is consistent, clearly labeled, and reflects the needs of the site’s audience.  Navigation labels are short, clear, and user-friendly.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 Copyright © Terry Felke-Morris.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
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 Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
Microsoft Expression Web 3 – Illustrated Unit G: Designing Site Navigation.
Hyperlink ● Anchor tag and its attributes ● Four Types of URL ─ ─ Absolute addressing ─ Relative addressing ─ Intrapage ● Attributes -- link, vlink,
CS 200 – Web Tech I Web Site Organization Links. Recall the Web Page Layout sidebar footer content masthead.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
HTML5 and CSS3 Illustrated Unit E: Inserting and Working with Links.
HTML Links CS 1150 Spring 2017.
CSS HTML and website development.
Chapter 2 Developing a Web Page.
Lecture 3 Sarsenova Zhibek.
Cascading Style Sheets
Cascading Style Sheets (Layout)
Cascading Style Sheets
Links. Links Links Need to define two things: The destination Something to click on to get there Tag is click here Can be text, special.
Introduction to web design discussing which languages is used for website designing
Cascading Style Sheets
Unit F Inserting and Working with Links.
COMP 101 Review.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Images and Backgrounds
Colors.
Google Fonts Selective Formatting
Hyperlinks, Images and Tables
Links.
Inserting and Working with Links
Hyperlinks, Images and Tables
HTML LINKS
Multipage Sites.
IDT Links in HTML What you need to know….
HTML Links CS 1150 Fall 2016.
Styling Links.
Presentation transcript:

Links

Links Need to define two things: The destination Something to click on to get there Tag is <a href=…>click here</a> Can be text, special character or image (next week) Can change the text format

Linking to another page If it is another page in the same folder: <a href=“page.html”> If it is in a subfolder <a href=“folder/page.html”> If it is in a containing folder <a href=“../page.html”>

Linking to external pages Use full url <a href=“http://www.unc.edu">Link text</a> To force open in a new tab (window) <a href=“http://www.unc.edu” target="_blank">Link text</a> GOOD PRACTICE REQUIRED IN THIS CLASS

The destination: within a page Always link to an anchor point Implicit anchor point at top of page Anchor referenced as null (id=“” or id=“#”) Adding other anchor points Insert named anchor point id=“anchor” on any tag

Referencing the destination To point to an anchor point on SAME page <a href=“#anchor”>link text</a> <a href=“#”>top of page</a> In order to access anchor point on another page <a href=“Page.html#AnchorPoint”>Link text</a>

href formats summary To reference Use Another file in the same folder file.ext A file in a subfolder subfolder/file.ext index.html in a subfolder subfolder A file in a containing folder ../file.ext Anchor point on this page (need an id) #anchor The top of this page # Anchor point other page same folder file.ext#anchor An external page (target=“_blank”) http://www.complete.url

Formatting the Links Can use any formatting that you want Links have states (visited or not, hovering) Can change attributes for all states with a { Property: value; }

Pseudo-classes Characteristics of tags that can have their own attributes Not reflected in HTML In CSS: tag:pseudo-classes

Link Pseudo-classes Link states a:link -- a normal, unvisited link a:visited -- a link the user has visited a:hover -- a link when the user mouses over it a:active -- a link the moment it is clicked Note: CSS order important hover must come after link & visited active must come after hover LoVe HAte a:link { color: green; } a:visited { color: black;

On Page Navigation Long pages Avoid too much scrolling Links to subsections Link to top Lots of topics Use a “table of contents” of links

Basic page design Header, includes h1 title Nav(igation) main for main body Footer Layout What do you want your website to look like? What are you putting on the site, and will you have enough space to do so? Simple Don’t overdue or overthink. Don’t add too many extraneous features. AKA. Don’t get carried away Header Contain title Navigation bars Search elements Important tidbits; not full on data or information – think of it like a thesis statement Next/back elements Body The meat of the webpage All the information and content Make it look nice and understandable Some next/back elements if necessary Footer Copyright information Location and address Contact information