Hyperlinks, Images and Tables

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter Five Working with Images.
Advertisements

Graphics on the Web. Common Image File Types As you may know, the most widely supported web image graphic formats are GIF and JPEG. So the question is.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
Chapter 17 Creating Images for the Web. Chapter Lessons Learn about Web features Optimize images for Web use Create a button for a Web page Create slices.
HTML/XML XHTML Authoring. Adding Images ©Nina Bresnihan, School of Computer Science & Statistics, TCD,  The most commonly used graphics file.
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.
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.
Photoshop: Designing Graphics for the Web Christine Vucinich & Vicki Weidler ITS Training Services 224 B Computer Building University Park, PA 16802
Zinnia Bell. RAWimages are image files that have not yet processed, they contain minimally processed data from the image sensor of either a image scanner,
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.
Chapter 14-Designing for the World Wide Web. Overview Introducing multimedia on the Web. Designing text for the Web. Creating images for the Web. Adding.
Prepared by George Holt Digital Photography BITMAP GRAPHIC ESSENTIALS.
1 Graphics and the Web INFO 654 – Spring Sources and Credits for this Material Used examples from Son of Web Pages That Suck (2002) by Vincent.
Task 01 – Explain how different types of graphical images relate to file formats, file conversions, formats and compression. Emily Riley.
File Formats COM 366 Web Design & Layout. Native file format –Format native to software program –.psd > PhotoShop default Preserves layers –Use “Save.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
Colors, Images, & Image Maps. Working with Color Colors are defined in terms of RGB Triplet –Red, Green, Blue –0 to 255 in intensity –(00, 00, 00) is.
HTML Boot Camp: Rules and Images
THE COLORS OF LIGHT RED, GREEN and BLUE
Copyright © 2003 Pearson Education, Inc. Slide 4-1 Created by, Stephanie Ludi, Rochester Institute of Technology—NY Basic Web Page Construction Graphics.
Digital Image: Representation & Processing (2/2) Lecture-3
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Chapter 5 Web Graphics Styling Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
© 2000 – All Rights Reserved – Page 1 Graphic File Formats Graphic File Formats.
1 Lesson 3 Power Techniques HTML and JavaScript BASICS, 4 th Edition Barksdale / Turner.
8 Using Web Graphics Section 8.1 Identify types of graphics Identify and compare graphic formats Describe compression schemes Section 8.2 Identify image.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
GIF - Graphics Interchange Format JPEG - Joint Photographic Experts Group PNG - Portable Network Graphics GIF images are limited to the 8 bit palette which.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
Information Processes and Technology Multimedia: Graphics.
HTML 58.51A ADDING GRAPHICS Web Graphic Formats "GIF" (graphics interchange format) JPEG (Joint Photographic Expert Group)
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Web Graphics. Colours and Display Graphics and Modems 28.8kbps = 3.6 KB per second 36 KB takes 10 seconds to load. Pixels and color.
Types of Graphics  Vector Individual scalable objects defined by mathematical equations  Bitmap Pixels (tiny, single-colored square) in a grid Most.
Adobe Photoshop CS3 Revealed – Chapter 16 FOR THE WEB CREATING IMAGES.
Image formats Characteristics © Adolf Knoll, National Library of the Czech Republic.
FILE TYPES FOR WEB DESIGN 1 HOW SHOULD I SAVE?. GRAPHICS INTERCHANGE FORMAT (GIF) Best used for flat-color, sharp-edged art or text Clip art, logos Compression.
Page Design Issues IWM 14 Information Services for the Web.
Web Graphics. Web graphics Bandwidth is king Graphics must load quickly Graphics must be optimized All other components except for text, gif and jpg are.
Digital Images are represented by manipulating this…
Image File Formats. What is an Image File Format? Image file formats are standard way of organizing and storing of image files. Image files are composed.
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Lecture 15. A Very Brief Introduction to HTML and XHTML, part IV Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
WRA 210: 10/7/13 IMAGES. TODAY’S AGENDA Reminder about Module 8 - test your links!Module 8 Overview of hierarchies, naming How images work on the web.
Web Page Design Mrs. Ricke. Graphics Interchange Format 256 colors only Good for icons, clipart, logos Not good for high quality pictures.
Digital File Formats By Ali Aslam. JPEG JPEG Stands for Joint Photographic Experts Group. JPEG uses a lossy compression routine. Lossy compression means.
Image File Formats By Dr. Rajeev Srivastava 1. Image File Formats Header and Image data. A typical image file format contains two fields namely Dr. Rajeev.
Layer 6 Presentation Layer. Overview Now that you have learned about Layer 5 of the OSI model, it is time to look at Layer 6, the presentation layer.
Graphics and Image Data Representations 1. Q1 How images are represented in a computer system? 2.
13 June – Session : Graphics Different types of Graphics for the web Features of image editing software Good practice for image editing.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
File Formats Different applications (programs) store data in different formats. Applications support some file formats and not others. Open…, Save…, Save.
Chapter 3 Image Files © 2013 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website,
Basic Knowledge of Web creation
Introduction to Programming the WWW I
Raster Images CPSC 1030.
Chapter 3 Image Files © 2017 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
A computer display is made up of small squares, called pixels.
1.01 Investigate graphic types and file formats.
Hyperlinks, Images and Tables
Web Development & Design Foundations with HTML5 7th Edition
Graphics.
Information Technologies Anselm Spoerri PhD (MIT)
Web Design and Development
Web Design Designing for the Unknown.
Photoshop: Creating and Preparing Images for the Web
Creating Images for the Web
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Creating Digital Graphics
Presentation transcript:

Hyperlinks, Images and Tables Part 2

Overview… We are going to look at… The type of Image formats used online.

Image formats There are many image formats that are used online. There is no single standard used. The web supports a wide range of formats. Images supported are controlled by the browser. If the image is not supported then don’t use it. Bitmap is not supported by all browsers. Supported by Windows Not supported by MAC, UNIX or Mobile Devices Plugins are available but why?

Image Formats We will be looking into the following formats:- Graphics Interchange Format (GIF) Joint Photographic Experts Group (JPEG/JPG) Portable Network Graphics (PNG)

Graphics Interchange Format (GIF) An important format as it illustrates many concepts used today. Originally created by CompuServe. The first major commercial on-line service in the US For many people in the UK, the first “service provider” Had its own content in terms of news groups, discussion forums etc.. It developed its own standards for communication protocols and graphics, thus the development of the GIF format CompuServe was eventually bought by America On-Line (AOL), which moved the content to the web.

GIF and Colour GIF became the de-facto standard for images on the web. Limited to 256 colours. So a conversion from 16 million colours to 256 GIF format will result in loss of colour depth. Uses dithering to create the illusion of colour depth with images of a limited colour palette. It fools the brain into thinking there is more information in the image than there really is. Defacto is something that becomes industry standards because everyone uses it like VHS, DVD, Blu Ray etc…

GIF Dithering A - The original unchanged image. B – 1 bit monochrome with dithering C – 1 – bit monochrome without dithering (loss of detail) D – 8 bit colour with dithering – speckled effect A B C D

GIF Banding Without dithering a GIF image develop harsh conditions known as banding. Original Non dithered Dithered

Interlacing When downloading an image it is usually displayed from left to right down the image. GIF images used a technique called interlacing that displays every eighth line at a time. The effect that you get is something like…

Interlacing This process is ran through over an over again until the image is complete. This allows us to see the image without downloading the whole image. This was used more frequently on a low bandwidth networks.

Transparency GIF images allow the use of a transparent background. Lets look at this image of Arabic Characters. Each character is contained on a white background that is obscuring the start background.

Transparency To prevent the obscurity of the background we can set the background to transparent. This changes the graphic so we do not see the white surrounding. This makes images more visually appealing. Be careful of which colours you use as many colours will make the picture look like its full of pinholes.

GIF Animation The GIF format provides the functionality to create a animated graphic. Here are three frames from an animated butterfly. This is created by creating individual frames and cycling through the frames to create a simple animation.

Joint Photographic Experts Group (JPEG/JPG) JPEG is a compression standard that’s best applied to photographs or complex shading/lighting effects. Stores a complete black and white version of the image and most of its colour information. This makes JPEG a “lossy” compression method. The compression removes redundant information, in this case is some of the colour information.

Joint Photographic Experts Group (JPEG/JPG) The compression process creates errors within images like…

Progressive JPEGS Progressive JPEGS also have a similar method to interlacing like in GIF which are better known as progressive files. A progressive JPEG is downloaded in sections across the image rather than start to finish. This provides the viewer with a preview of the file before downloading the whole file.

Portable Network Graphics (PNG) PNG offers a range of advantages over GIF:- Better compression 10%-30% better. Not limited to 256 colours Supports Interlacing Supports transparent colours. So why are other methods used? Not supported in older browsers. Developers prefer GIF and JPEG. Over time will replace GIF and JPEG

Embedding Images in HTML5 Using hypertext images can be embedded within HTML web pages. This is completed using the <img> tag. This will display the image like so…

Embedding Images in HTML5 Lets look at the code to upload the image…. To access this image we have moved up two layers.

Alt tag So what about someone that is visually impaired? How would they know what is being displayed? We used the alt attribute to include a text description of the image being displayed. This will be read out loud, if the user is using a speech synthesiser to aid the user identifying the image displayed.

Using Images as Hyperlinks Images can be used as links. To create this…simply place the image within the <a> tags instead of the text display to the user. This image will allow the user to navigate to IMDB to the Blade Trinity page.

HTML Tables Dynamic tables can be created within HTML. These provide a structure for displaying data in a more pleasant way. An example of a table looks like this…

HTML Tables There are multiple tags that are used in the creation of a table. <table></table> - This indicates the start and end of the table. <th></th> - This is the header of the table. <tr></tr> - Indicates a new row in the table. <td></td> -Indicates a new division within the row.

HTML Tables

Applying classes to tables There are multiple ways to style a table. We can style all tables by using the table tag within the CSS. We can create a class that we will apply to the table when we create it. To apply a class to the table, the following code would work… The class that applied will center the table in the middle of the screen.

Recap We have looked at:- Image Formats Interlacing GIF Animation JPEGS PNG Interlacing GIF Animation Embedding images in HTML5 Embedding images as links Creating Dynamic Tables

Next Week… We are going to be looking at:- Securing the channel Security Considerations Communication Authentication Authorisation Common types of attacks Injection Attacks Social Engineering Interception of data.