WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

Similar documents
Chapter 7 BMIS335 Web Design & Development

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)

HTML Organizing Page Content

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar. Hover Effect:

CSS3, Media Queries, & Responsive Design. May 23, 2012 STC Summit Zoe Mickley

Lab 1: Introducing HTML5 and CSS3

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

CSS3: Using media queries to improve the web site experience. November 19, 2011 indieconf Zoe Mickley

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

Mobile Applications 2013/2014

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

CS7026 Media Queries. Different Screen Size Different Design

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Styles, Style Sheets, the Box Model and Liquid Layout

CIT BY: HEIDI SPACKMAN

Using CSS for page layout

Assignments (4) Assessment as per Schedule (2)

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

HTML Organizing Page Content

Responsive Web Design. From: Ethan Marcotte - Responsive Web Design 2011

Responsive Web Design (RWD)

Cascading Style Sheets for layout II CS7026

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

Class 9 / Instructor: Ira Epstein

COMP519 Web Programming Lecture 8: Cascading Style Sheets: Part 4 Handouts

Web Development and Design Foundations with HTML5 8th Edition

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

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.

HIERARCHICAL ORGANIZATION

CSS Cascading Style Sheets

Dreamweaver CS3 Lab 2

Media-Specific Styles

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

Front-End UI: Bootstrap

Building Responsive Layouts

Lab Introduction to Cascading Style Sheets

Advanced Dreamweaver CS6

Introduction to Cascading Style Sheet (CSS)

Responsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

CSS: The Basics CISC 282 September 20, 2014

Media Types & Media Features

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

How to deploy for multiple screens

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

Website Development with HTML5, CSS and Bootstrap

AGENDA. HTML CODING YOUR HOMEPAGE [ Part IV ] :: NAVIGATION <nav> :: CSS CODING FOR HOMEPAGE [ <nav> & child elements ] CLASS :: 13.

CSS: Layout Part 2. clear. CSS for layout and formatting: clear

AP CS P. Unit 2. Introduction to HTML and CSS

Cascading Style Sheets Level 2

CSS: Cascading Style Sheets

Figure 1 Properties panel, HTML mode

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Create a three column layout using CSS, divs and floating

AGENDA. :: Add Meta Tag for Viewport (inside of head element): :: Add Script that renders HTML5 elements for older versions of Internet Explorer

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

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

New frontier of responsive & device-friendly web sites

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

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5


BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

More about HTML. Digging in a little deeper

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

AGENDA :: MULTIMEDIA TOOLS :: CLASS NOTES. INSTALLING FONTS :: Download, Install, & Embed Your Fonts. LECTURE :: Responsive Web Design [RWD]

CSS Cascading Style Sheets

HTML and CSS. Data Technologies. HTML Headings. Background Reading

Dreamweaver CS4: Layout Guide. Převzato z

Responsive web design (RWD) CSS3 Media queries. Mobile vs desktop web sites. Web Development 1 CS1115/CS5002

Lesson 5 Introduction to Cascading Style Sheets

Adobe Dreamweaver CS6 Digital Classroom

GRAPHIC WEB DESIGNER PROGRAM

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

Designing the Home Page and Creating Additional Pages

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Horizontal Rule Element

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

Introduction to Computer Science Web Development

Mark Scheme. Edexcel Level 2 Certificate in Digital Applications. Unit 5: Coding for the Web

Introduction to WEB PROGRAMMING

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Dreamweaver CS5 Lab 2

$this->dbtype = "mysql"; // Change this if you are not running a mysql database server. Note, the publishing solution has only been tested on MySQL.

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

HTML & CSS Cheat Sheet

1. Which three information fields are the most commonly used fields in a user profile? (Choose three.) A. Disabilities B. Gender C.

BA. (Hons) Graphics Design

HTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Library

Lab Chapter 5: Applying The Box Model Habitat for Humanity

Exploring Computer Science Web Final - Website

Web Development and HTML. Shan-Hung Wu CS, NTHU

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

TODAY S AGENDA. An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History

Layout with Layers and CSS

Here are some links to get you started in learning more about CSS3 media queries and responsive web design:

Zen Garden. CSS Zen Garden

Adobe Dreamweaver CC Tutorial

Designing with CSS3 Effectively & Efficiently. October 2010 Adobe MAX Zoe Mickley

Transcription:

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 In this chapter, you will learn how to... LEARNING OUTCOMES Code relative hyperlinks to web pages in folders within a website Configure a hyperlink to a named fragment internal to a web page Configure images with CSS sprites Configure a three-column page layout using CSS Configure CSS for printing Configure CSS for mobile display Utilize CSS3 media queries to target mobile devices 2 MORE ON RELATIVE LINKING Relative links from the home page: index.html <a href="contact.html">contact</a> <a href="products/collars.html">collars</a> <a href="../index.html">home</a> <a href="../services/bathing.html">dog Bathing</a> 3 1

5/26/12 OPENING A LINK IN A NEW BROWSER WINDOW The target attribute on the anchor element opens a link in a new browser window or new browser tab. <a href="http://yahoo.com" target="_blank">yahoo!</a> 4 HTML LINKING TO FRAGMENT IDENTIFIERS A link to a part of a web page Also called named fragments, fragment ids Two components: 1. The element that identifies the named fragment of a web page. This requires the id attribute. <div id= top >.. </div> 2. The anchor tag that links to the named fragment of a web page. This uses the href attribute. <a href= #top >Back to Top</a> Note the use of the # in the anchor tag! 5 HTML5 BLOCK ANCHOR Configure block display elements within a hyperlink <a href="http://www.w3.org/tr/html-markup"> <h1>html5 Reference</h1> <p>bookmark this site for a handy HTML5 reference.</p> </a> 6 2

TELEPHONE & TEXT MESSAGE HYPERLINKS Telephone Scheme <a href="tel:888-555-5555">call 888-555-5555</a> Many mobile browsers will initiate a phone call when the hyperlink is clicked. SMS Scheme <a href="sms:888-555-5555">text 888-555-5555</a> Many mobile browsers will initiate a text message to the phone number when the hyperlink is clicked. 7 CSS SPRITES Sprite an image file that contains multiple small graphics advantage: saves download time 8 CHECKPOINT 1. Describe a reason to organize the files in a website using folders and subfolders. 2. Which attribute configures a hyperlink to open the file in a new browser window or tab? 3. State an advantage of using CSS sprites in a website. 3

THREE COLUMN PAGE LAYOUT A common web page layout consists of a header across the top of the page with three columns below: navigation, content, and sidebar. 10 THREE COLUMN LAYOUT container sets default background color, text color, font typeface, and a minimum width Left-column navigation float: left; width:150px; Right-column content float: right; width: 200px; Center column Uses the remaining screen room available room after the floating columns display margin: 0 210px 0 160px; Footer clears the float clear: both; 11 CSS STYLING FOR PRINT Create an external style sheet with the configurations for browser display. Create a second external style sheet with the configurations for printing. Connect both of the external style sheets to the web page using two <link > elements.! <link rel="stylesheet" href="wildflower.css" type="text/css" media="screen"> <link rel="stylesheet" href="wildflowerprint.css" type="text/css" media="print"> 12 4

PRINT STYLING BEST PRACTICES Hide non-essential content Example: #nav { display: none; } Configure font size and color for printing Use pt font sizes, use dark text color Control page breaks Example:.newpage { page-break-before: always; } Print URLs for hyperlinks Example: #sidebar a:after { content: " (" attr(href) ") "; } 13 MOBILE WEB DESIGN BEST PRACTICES emarketer.com predicts 134.3 million mobile Internet users by 2013 ( http://www.emarketer.com/articles/print.aspx?1007236) Three Approaches to Mobile Web: Develop a new mobile site with a.mobi TLD Create a separate website hosted within your current domain targeted for mobile users Use CSS to configure your current website for display on both mobile and desktop devices. MOBILE WEB LIMITATIONS Small Screen Size Low bandwidth Limited fonts Limited color Awkward controls Lack of Flash support Limited processor and memory Cost per kilobyte 5

DESIGN TECHNIQUES FOR MOBILE WEB Single column design Avoid floats, tables, frames Descriptive page title Descriptive heading tags Optimize images Descriptive alt text for images Eliminate unneeded images Navigation in lists Em or percentage font size units Common font typefaces Good contrast between text and background colors Provide Skip to Content hyperlink Provide Back to Top hyperlink Default action for most mobile devices is to zoom out and scale the web page VIEWPORT META TAG Viewport Meta Tag Created as an Apple extension to configure display on mobile devices Configures width and initial scale of browser viewport <meta name="viewport" content="width=device-width,initial-scale=1.0"> 17 Media Query Determines the capability of the mobile device, such as screen resolution CSS3 MEDIA QUERIES Directs the browser to styles configured specifically for those capabilities Example: <link href="lighthousemobile.css" rel="stylesheet" media="only screen and (max-device-width: 480px)"> 18 6

CHECKPOINT 1. Describe a design consideration when configuring a web page for mobile display. 2. True of False. The media="handheld" attribute reliably targets mobile devices. 19 SUMMARY This chapter introduced you to a variety of topics related to hyperlinks, page layout, and designing for the mobile web. 20 7