Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.

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
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
CIS101 Introduction to Computing HTML Project Two.
Marking Up With Html: A Hypertext Markup Language Primer
4.01 Cascading Style Sheets
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 3 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Chapter 4 Fluency with Information Technology L. Snyder Marking Up With HTML: A Hypertext Markup Language Primer.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Fluency with Information Technology Third Edition by Lawrence Snyder Chapter.
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.
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.
WEB DESIGN USING DREAMWEAVER. The World Wide Web –A Web site is a group of related files organized around a common topic –A Web page is a single file.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
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) –
Images in HTML PowerPoint How images are used in HTML.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 Basic HTML. 2 Part 1: Basic Web Page Production.
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.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Just Enough HTML How to Create Basic HTML Documents.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
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.
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”
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.
The Web Wizard’s Guide to HTML Chapter Three Colors, Patterns, and Inline Graphics.
HTML IMAGES. CONTENTS IMG Tag Alt Attribute Setting Width and Height Of An Image Summary Exercise.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Kevin Murphy Images and Web Pages Masters Project CS 490.
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 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
REEM ALMOTIRI Information Technology Department Majmaah University.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Chapter 5 BIE2313 | Web design. ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
Lecture 6, MAT 279, Fall HTML Introduction (cont.) 9/17/2009.
Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.
Web Page Design Mr. Gironda
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Marking Up with XHTML Tags describe how a web page should look
Images in HTML PowerPoint How images are used in HTML
Inserting and Working with Images
Linking With Graphics INP150: Basic HTML March 25, 2002.
Hosted by Coach Slanina
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
HTML Images CS 1150 Spring 2017.
Web Page Design Mr. Wilson
Chapter 3 Images.
Creating a Web Site with Links
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
HTML Images CS 1150 Fall 2016.
Marking Up with XHTML Tags describe how a web page should look
Marking Up with XHTML Tags describe how a web page should look
Images in HTML PowerPoint How images are used in HTML
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Marking Up with XHTML Tags describe how a web page should look
Images in HTML PowerPoint How images are used in HTML
Presentation transcript:

Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Objectives To understand what is the Background Color. To enable to set the Tiled-Image Background. To understand the Text and Link Colors. Create a solid color background for a web page. Calculate the hexadecimal code for a color value. Change the color of text and hypertext link items. Create a textured background from a graphic file.

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Background Color The easiest and fastest way to change the background of the page is to decide what color you want it to be and use the one of the syntax below. Eg: or

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Tiled-Image Background To produce a graphical background for your page, you have to specify an image file that will be tiled by browser. To create a tiled-image background, use the BACKGROUND attribute, followed by the file name or URL that points to your image file. Make sure the image is a gif type. Attribute should be placed inside the opening of body Eg: or Note : For local drive, directory or forlder for image should start with “file:///C:/.../filename.gif”

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Try this… Example for BACKGROUND IMAGE

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Image Formats There are two kind of images that your web browser can deal with:- inline images and external images. To be displayed on Web page, your images should be in GIF or JPEG format, (Currently.png) Inline images are images that appear directly on the web page and are loaded when you load the page itself. External images are images that are not directly displayed when you load a page. They are only downloaded at the request of your reader, usually on the other side of a link.

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Inline Images in HTML Inline images are specified in HTML using the tag (no ending tag). The SRC attribute indicates the filename or URL of the image you want to include, in quotes. The path name to the file uses the same rules as path names in links to other documents. i.e.

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Inserting images from different location An image from a folder: An image from a website <img src=" w3schools_green.jpg" alt="W3Schools.com" width="104" height="142" /> Note : For local drive, directory or forlder for image should be img src =“file:///C:/.../filename.gif”

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Wrapping Text Next to Image You can put any HTML text after an aligned image, and the text will be wrapped into the space between the image and the margin. Browsers will fill in the space with text until the bottom of the image, and then continue filling in the text beneath the image. The values to be used are:- –align=“left”  aligns an image to the left margin –align=“right”  aligns an image to the right margin. i.e. :-

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Try this… Wrapping text next to image You can put any HTML text after an aligned image, and the text will be wrapped into the space between the image and the margin. Browsers will fill in the space with text until the bottom of the image, and then continue filling in the text beneath the image. For local drive, directory or forlder for image should be img src =“file:///C:/.../filename.jpg”

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design Adding Space around an Image Type <img src=“image.location” where image.location indicates the location on the server of your image. If desired, type hspace=“x” or vspace=“y” where x and y are spaces to add around your image. Add other image attributes as desired and type the final />. Tips You do not have to add both hspace and vspace at the same time.

ALL RIGHTS RESERVED No part of this document may be reproduced without written approval from Limkokwing University of Creative Technology Worldwide Faculty of Information and Communication Technology BIE1313/BPROG1203 | Web Design End of Lecture