1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.

Slides:



Advertisements
Similar presentations
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Advertisements

Working with Images and HTML
Chapter 4 Adding Images. Inserting and Aligning Images Graphics refer to the appearance of most non- text items on a web page, such as: – Photographs.
Iframes & Images Using HTML.
Introduction to HTML Lists, Images, and Links. Before We Begin Save another file in Notepad Save another file in Notepad Open your HTML, then do File>Save.
 Steps how to design a web page using Microsoft Frontage Steps how to design a web page using Microsoft Frontage  Video related to the topic Video related.
CIS101 Introduction to Computing Week 06. Agenda Your questions Resume project HTML Project Two This week online Next class.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Instructor: A. Burns 1 HTML Images. Instructor: A. Burns 2 Inserting a Graphic Images can be displayed in two ways: as inline images or as external images.
Marking Up With Html: A Hypertext Markup Language Primer
Chapter 4 Adding Images. Inserting and Aligning Images Using CSS When you choose graphics to add to a web page, it’s important to use graphic files in.
Images By Tara Frieszell By Tara Frieszell. Adding images to your website will make it more interesting and add to the design. However, some viewers aren’t.
Chapter 3 Adding Images in HTML. Agenda Understanding Web Page Images Prepare Your Images for the Web Insert an Image Specify an Image Size Add Alternative.
Introduction to HTML. What is HTML? Hyper Text Markup Language A markup language designed for the creation of web pages and other information viewable.
Creating and Editing a Web Page
Adding Images & Working with Images Unit 2. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date:08/10/2009 Period : Summary: To display Art To display Photographs.
1 Outline 3.1 Introduction 3.2 Editing HTML 3.3 First HTML Example 3.4 W3C HTML Validation Service 3.5 Headers 3.6 Linking 3.7 Images 3.8 Special Characters.
Web Technologies Website Development Trade & Industrial Education
Unit E. Image Measurements The size of an image can be measured 2 ways: Dimensions: the height and width, measured in pixels. File Size: measured in Kilobytes.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Chapter 4 Adding Images. Chapter 4 Lessons Introduction 1.Insert and align images 2.Enhance an image and use alternate text 3.Insert a background image.
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.
.  Entertain  Inform  Educate  Blogs  Sell  Date  Gamble  Religion.
IT Introduction to Website Development Welcome!
Enhancing Your Web Site. More Basic HTML Tags Today you will learn these tags: & add-on (alt, height, width & align) and “href” add-on Add a text link.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
CSCE Chapter 5 (Links, Images, & Multimedia) CSCE General Applications Programming Benito Mendoza 1 By Benito Mendoza Department.
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.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Week 11 Using Dreamweaver, Photoshop, and Fireworks: Graphics Production for the Web Stanford University Continuing Studies CS 38 Mark Branom
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
XHTML1 Images N100 Building a Simple Web Page. XHTML2 The Element The src attribute specifies the filename of an image file To include the src attribute.
Adding Images Learning Web Design: Chapter 7. Using an Image Images have many purposed on a Web site Used as a static image To add illustration: ex. A.
1 Using HTML and JavaScript to Develop Websites. Using Images.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
Macromedia Dreamweaver MX 2004 Design Professional And Graphics WORKING WITH TEXT.
Introduction to Photoshop Altering photos 1 pixel at a time.
Notes Chapter 10—Adding Graphics. There are two kinds of graphics on the Internet: those you can use on your own Web pages, and those you cannot.  Many.
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
4 HTML Basics Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and.
Project Two Adding Web Pages, Links, and Images Define and set a home page Add pages to a Web site Describe Dreamweaver's image accessibility features.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Kevin Murphy Images and Web Pages Masters Project CS 490.
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.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
Images. Working with Images What is the difference between the GIF and JPEG formats? GIF – Graphic Interchange Format Limit to 256 colors Often used for.
REEM ALMOTIRI Information Technology Department Majmaah University.
1 2/28/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Anchors and Tables.
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
ENHANCE YOUR WEBSITE. HOW TO INSERT COLOR??? USE THE TAG: GO TO PICK COLOR WANT BY POINTING: THEN USE THE HEX NUMBER.
Basic Web Design Week 3 - Graphics UVICELL. Web Graphics Concepts for Week 3 Selecting the right format for your image Creating a name banner for your.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Chapter 4 Adding Images.
Hosted by Coach Slanina
USING DREAMWEAVER Contents: Assigning a Root Folder
HTML Images CS 1150 Spring 2017.
USING DREAMWEAVER MX 2004 Contents: Assigning a Root Folder
HTML Images CS 1150 Fall 2016.
Hyperlinks, Images, Comments, and More…
Presentation transcript:

1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server

2 2/22/05CS120 The Information Era Review  Let’s finish working on the list of bookmarks  Create a page that contains a list of your favourite websites (your bookmarks)  You should include o A heading (My Bookmarks) o A smaller heading (Your name) on a separate line o A list of your bookmarks. These should be links to the websites, and should be divided up into categories using nested lists

3 2/22/05CS120 The Information Era Web Page Images  A picture is worth a thousand words!  Most web browsers can display online images  Browsers support the following image formats o X Bitmap (XBM) o GIF: Graphics Interchange Format o JPEG: Joint Photographic Expert Group o PNG: Portable Network Graphic

4 2/22/05CS120 The Information Era A Note on Copyright  If the image does not belong to you, you have no right to post it on the web  Free clipart libraries are an exception

5 2/22/05CS120 The Information Era Adding Images to Web Pages  Images are not directly added to web pages  Instead, the image files are placed onto the web server, and links to the images are placed in the web page

6 2/22/05CS120 The Information Era Image Tag  To link to an image from a web page, you need o HTML tag o The attribute src=image_file  Where image_file is the URL of the image  Example: o  The tag has no ending or closing tag!

7 2/22/05CS120 The Information Era Attributes of Tag  height & width o Used to specify the height and the width of the image in pixels  alt o The alternate text displayed when the user has images turned off

8 2/22/05CS120 The Information Era Getting Images off the Web  Click on image, hold mouse button down  Choose “save image as” from menu  Choose the location you want to save the image (desktop or server)

9 2/22/05CS120 The Information Era Exercise  Let’s try adding images to a page  Download image to local disk o  Create an web page and add a link to the image o Try adding the image in the middle of text o Change the size of the image

10 2/22/05CS120 The Information Era Aligning Images  Adding the image as we did in the previous example treats the image as an individual character  Does not look good!  Better to align the image with the text o Image on the left, text on the right o Image on the right, text on the left

11 2/22/05CS120 The Information Era Align Attribute  This attribute will align the image to the right or right  Example: o  Try using this attribute on the web page you created  What difference does it make?

12 2/22/05CS120 The Information Era Location of Images  So far, all the images that we have linked to have been in the same directory (folder) as the webpage  It is usually a better idea to place all images in a separate directory  In the previous example, if the image was placed in a directory (images) the html would be o

13 2/22/05CS120 The Information Era Placing Web Pages on Euler  All the pages we have created up to now have been placed on the local machine (desktop)  These are not considered online as they are not accessible to other people on the Internet  We will be placing web pages online by placing them in the sites folder in our directories on Euler

14 2/22/05CS120 The Information Era Placing Web Pages on Euler  So we don’t mix different web pages up, it is a good idea to create folders for the different exercises or assignments  Example: o Create a directory called “week4” in your sites folder on Euler o Place your web page in that folder o Create an images folder in the “week4” folder o Place all your images into that folder

15 2/22/05CS120 The Information Era Viewing Your Web Pages  You can view the pages on Euler by opening a browser and typing in the following URL o me me o Where username is your username  i.e. mine would be khoj0332 o The filename is the name of the webpage you created.  This should have the extension.html

16 2/22/05CS120 The Information Era Problem  Let’s design a new page for the natural science division  This page must o Display the Pacific University Logo o Use a colored background o Contain a heading “Natural Science Division o Use a list format linking to: Biology, Chemistry, Computer Science, Exercise Science, Environmental Studies, Mathematics, Physics

17 2/22/05CS120 The Information Era Creating More Than One Page  So far, we have created only one page for each problem or exercise  We have only linked to web sites  How would we create web pages that link to each other?

18 2/22/05CS120 The Information Era Problem  Create a page with at least two riddles on it (questions only)  Create another page with a list of answers  Link the two pages together: o On the first page, add a link to the answers o On the second page, add a link back to the first page