Navigation. Websites need a formalized system of links to allow users to navigate the site

Similar documents
Comm 244 Week 3. Navigation. Navigation. Websites need a formalized system of links to allow users to navigate the site

Assignments (4) Assessment as per Schedule (2)

ADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)

Internet Programming 1 ITG 212 / A

Styles, Style Sheets, the Box Model and Liquid Layout

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

CSS how to display to solve a problem External Style Sheets CSS files

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

What is CSS? NAME: INSERT OPENING GRAPHIC HERE:

CSS.

CSS: Cascading Style Sheets

Using Dreamweaver CS6

XHTML & CSS CASCADING STYLE SHEETS

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

BIM222 Internet Programming

Introduction to WEB PROGRAMMING

MRK260. Week Two. Graphic and Web Design

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS

CS134 Web Site Design & Development. Quiz1

COMS 359: Interactive Media

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference

What is the Box Model?

c122jan2714.notebook January 27, 2014

CSS Cascading Style Sheets

Scripting for Multimedia LECTURE 5: INTRODUCING CSS3

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

c122sep2214.notebook September 22, 2014

Web Site Development with HTML/JavaScrip

Hypertext Markup Language, or HTML, is a markup

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Designing the Home Page and Creating Additional Pages

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Cascading Style Sheets Level 2

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

CSS Box Model. Cascading Style Sheets

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Web Design and Implementation

COMM 2555 Interactive Digital Communication LAB 4

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.

CSS: The Basics CISC 282 September 20, 2014

Positioning in CSS: There are 5 different ways we can set our position:

<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.

Ministry of Higher Education and Scientific Research

Three Ways to Use CSS:

Reading 2.2 Cascading Style Sheets

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

VCE / VET INFORMATION AND COMMUNICATION TECHNOLOGY

CSS worksheet. JMC 105 Drake University

CE419 Web Programming. Session 3: HTML (contd.), CSS

The Importance of the CSS Box Model

Responsive Design. Responsive design is it important? But typical is not enough. Some typical screen sizes

Getting Started with Eric Meyer's CSS Sculptor 1.0

the missing manual0 O'REILLY Third Edition David Sawyer McFarland Beijing Cambridge The book that should have been in the box Farnham

Introduction to Cascading Style Sheet (CSS)

ATSC 212 html Day 1 Web Authoring

Which is why we ll now be learning how to write in CSS (or cascading sheet style)

Lesson 5 Introduction to Cascading Style Sheets

ATSC Week 2 Web Authoring

Simple techniques for customizing a Digital Repository Public Interface using CSS. A hands-on presentation

CSC309 Winter Lecture 2. Larry Zhang

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Intermediate Web Publishing: Working with Styles

Reading How the Web Works

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Page Layout Using Tables

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

HTML MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

Block & Inline Elements

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Beginning HTML. The Nuts and Bolts of building Web pages.

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Lab Introduction to Cascading Style Sheets

What do we mean by layouts?

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

Final Exam Study Guide

Chapter 4 CSS basics

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

In this tutorial, we are going to learn how to use the various features available in Flexbox.

CSC9B1: Essential Skills WWW 1

HTML Hyperlinks (Links)

Comp-206 : Introduction to Software Systems Lecture 23. Alexandre Denault Computer Science McGill University Fall 2006

The Text Editor appears in many locations throughout Blackboard Learn and is used to format text. For example, you can use it to:

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

Designing for Web Using Markup Language and Style Sheets

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

Web Site Design and Development Lecture 24

2. Write style rules for how you d like certain elements to look.

CSS FOUNDATIONS IN-DEPTH. The nitty-gritty of css...

CSS means Cascading Style Sheets. It is used to style HTML documents.

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

Using Advanced Cascading Style Sheets

Cross Browser Coding WUC 2007

COMS 359: Interactive Media

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Web Design and Development Tutorial 03

Web Site Design and Development. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Cascading style sheets

Transcription:

Comm 244 Week 3

Navigation

Navigation Websites need a formalized system of links to allow users to navigate the site

Navigation Many larger websites have multiple forms of navigation For example, look at the New York Times website

Adding Navigation Navigation elements are really just lists of links

Adding Navigation Navigation elements are really just lists of links All of the pages in our Recipe Book need a basic navigation structure The Recipe Book website has 5 main pages: Home (index.html) Recipes Tips Contributors About

Adding Navigation The 5 pages will form the basis of our navigation Home (index.html) Recipes Tips Contributors About Eventually we will also use a logo to link to the home page, but for now, just link the title of the website.

HTML Validation

What is a Validator A program that looks at your HTML...

What is a Validator A program that looks at your HTML... and then tells you if it is valid

Why You Care HTML is designed to be forgiving of errors. Not all browsers interpret errors the same. The only way to ensure that your site will look the closest to the same in all browsers is to use valid HTML.

Why You Care A validator will tell you when something in your code is wrong, and help you write better code. Writing good code now will help ensure that your site will still work in the future.

World Wide Web Consortium (W3C) The W3C is an international group that develops web standards They helped develop specifications for HTML, XHTML, CSS (among others)

Validators and Doctypes Remember the HTML <!DOCTYPE> Declaration we talked about?

Validators and Doctypes This tells the Validator how it should test the document

Validators and Doctypes Most doctype are much more complex. This document will be XHTML1 Strict

Validators and Doctypes HTML5 simplified the doctype substantially: <!DOCTYPE html>

W3C Validator http://validator.w3.org/ And also, http://validator.nu/

Cascading Style Sheets ( CSS )

CSS Syntax

Attaching Your Styles There are three ways to attach CSS an HTML document External Style Sheet Internal Style Sheet Inline Styles

Attaching Your Styles External Style Sheet <head> <link rel="stylesheet" href="mystyle.css" media="screen" /> </head>

Attaching Your Styles Internal Style Sheet <head> <style> p { color: red; } </style> </head> Also called Embedded

Attaching Your Styles Inline Styles <p style= color:red >A red paragraph.</p>

Attaching Your Styles Inline Styles <p style= color:red >A red paragraph.</p> Inline styles are bad practice. Forget you saw them.

CSS Shorthand

There are a lot of CSS border properties For borders on all sides: border border-color border-style border-width For top borders: border-top border-top-color border-top-style border-top-width For right borders: border-right border-right-color border-right-style border-right-width For bottom borders: border-bottom border-bottom-color border-bottom-style border-bottom-width For left borders: border-left border-left-color border-left-style border-left-width

Most of them are redundant If all of your borders are the same on every side, you can just use the border property border border-color border-style border-width border-top border-top-color border-top-style border-top-width border-right border-right-color border-right-style border-right-width border-bottom border-bottom-color border-bottom-style border-bottom-width border-left border-left-color border-left-style border-left-width

Border property If all of your borders are the same on every side, you can just use the border property Syntax: p { border: width style color; } Example: p { border: 1px solid #333; } This defines a one pixel wide solid gray border for all paragraphs

Example: You want a three pixel dashed green border But, you only want it on the left and bottom sides border border-color border-style border-width border-top border-top-color border-top-style border-top-width border-right border-right-color border-right-style border-right-width border-bottom border-bottom-color border-bottom-style border-bottom-width border-left border-left-color border-left-style border-left-width

border-left and border-bottom properties If your borders differ on some sides, you must use the longer border-side properties. Example: p { border-bottom: 3px dashed green; border-left: 3px dashed green; } This defines a three pixel wide dashed green border for all paragraphs

You should always use the CSS shorthand properties when possible

Thinking About Design

Content Websites are about conveying information That information is your content

Content is the most important part of a website

Audience Who is your audience? What do they want? Does your website provide it?

Content and Audience Know your audience Know your objective Design your site to effectively convey your content to your audience

www.stackoverflow.com

Exercise What is the objective of stackoverflow? What is the content? How is it generated? Who is the target audience? How does the design of the website facilitate the website objective? Is the site easy and intuitive to use?