1 Creating Web Pages Part 2. 2 TOPICS Links Links Web Graphics Web Graphics Lists Lists Tables Tables.

Slides:



Advertisements
Similar presentations
Working with Images and HTML
Advertisements

Iframes & Images Using HTML.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML and XHTML Controlling the Display Of Web Content.
Tutorial 3 Designing a Web Page.
Introduction to Web Site Development Steven Emory Department of Computer Science California State University, Los Angeles Lecture 3: Hyperlinks and Images.
1 IMAGES: A Picture Is Worth a Thousands Words, Image Formats Image Sizes Graphic Tips Image Tag Attributes Centering Images.
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
BASIC HTML TUTORIAL Amber Brady. HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a.
Understanding Web Graphics Web Design Section 5-4 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development.
Ch10 QQ T F 1.The appearance of text (such as font face and style) incorporated into a Web page graphic will appear as it was when it was created, regardless.
1 Creating Web Graphics Outline 2.1 Graphics Types 2.2 Vector Graphics 2.3Bitmapped Graphics 2.4Graphics for the Web 2.5 GIF (Graphics Interchange Format)
WEB GRAPHICS. The Pixel Computer displays are comprised of rows and columns of pixels. Pixels are indivisible. Some common screen resolutions are:, 600.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Web Graphics Image File Formats Image optimization Accessibility issues Using images and colors on the web.
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.
Graphic images for computers Stored in files of binary data - Binary blobs Software has to know the binary format to decode the file and render an image.
THE COLORS OF LIGHT RED, GREEN and BLUE
Internet Vocabulary 1-21 State Test Vocabulary. Address address, Internet address, and web address. A code or series of letters numbers and/or.
Pixels, Resolution and File Types Using Digital Media in the Classroom START.
XHTML Images. Images are important Purpose: to enhance your web site. Add only when they complement or add additional impact to your message.
 Scaling an image is resizing the image in a graphic editing software so it is the proper size before adding it to a site.  Important NOTE: If you insert.
Images (1) Three most popular formats – Graphics Interchange Format (GIF) – Joint Photographic Experts Group (JPEG) – Portable Network Graphics (PNG) –
Lists, Images, Tables and Links. Lists Unordered List The first item The second item The third item The fourth item Ordered List 1.The first item 2.The.
XHTML Louise Soe updated September 2009.
STILL CHAPTER 4 More Style. Topics How to specify “style” for beautifying your content?  Using tag and style attributes and values Separate file for.css.
Images, Links, and Multimedia. Directories and Pathnames.
CHAPTER 4 LINKS Creating links between pages Linking to other sites links.
Web Page Design. Some Terms Cascading Style Sheet, (CSS) –a style sheet language used to describe the look and formatting of a document written in html;
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
Introduction to Web Design Web publishing HTML basics Web design principles Multimedia on the Web.
Images. The Element To place an image on our web page, we use the self-closing element: The src attribute ("source") is required and supplies the name.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Ethics of Computing MONT 113G, Spring 2012 Session 10 HTML Tables Graphics on the Web.
1 Using HTML and JavaScript to Develop Websites. Using Images.
HTML tags Some popular ones. Paragraph: separated by a single line of white space Line break NOTE: no end tag is used for this tag Headlines ( through.
Creating Links. The Anchor Element: The anchor tag can be used in three different ways: 1.External link – to link to a web page outside your own website.
Software. A web site is a collection of web pages on a particular topic. A web page is a document written in HTML code. Web pages are linked together.
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.
Graphics & Images What File Format Do I Use?. Graphics & Images …..are visual images presented on some form of media (drawings, print, web, digital video)
Copyright © 2013 Pearson Education, Inc. Publishing as Pearson Addison-Wesley What did we learn so far? 1.Computer hardware and software 2.Computer block.
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
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.
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.
File Types. Terms Multimedia- the integration of text, sound, video and/or animation into a document Letters, brochures, newsletters, web pages or presentations.
Creating interactive web pages using Fireworks Creating a 5 page mock up.
Lecture 15. A Very Brief Introduction to HTML and XHTML, part IV Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Structured Content Philosophy. Structure 4 Meaning Content meaning is tagged: Tag application is more consistent Special browsers can act smarter Aids.
1 2/22/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Images and placing pages on the server.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
HTTP transaction with Graphics HTML file + two graphics files.
GIF vs. JPEG GIF and JPEG (JPG) image formats are different. You should know which to use when. Here are some examples.
Slide 1 Graphics (Characteristics 1) Images have various characteristics that affect performance Size (number of pixels) – Large images can be several.
GRAPHICS. PURPOSE OF GRAPHICS IN WEB DESIGN Graphics add visual/aesthetic appeal to the information on the web page, helping to maintain viewer interest.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
WEB GRAPHICS EXPLORING COMPUTER SCIENCE - LESSON 3-4.
HTML5 and CSS3 Illustrated Unit F: Inserting and Working with Images.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 4.
Exploring Computer Science - Lesson 3-4
Images.
Images.
Exploring Computer Science - Lesson 3-4
Exploring Computer Science - Lesson 3-4
Digital imaging.
Images.
Images.
Images.
Color and Images.
Hyperlinks, Images, Comments, and More…
Presentation transcript:

1 Creating Web Pages Part 2

2 TOPICS Links Links Web Graphics Web Graphics Lists Lists Tables Tables

3 LINKS: The Three Types 1. To another site: 2.To another page on the same site: 3. To another location on the same page: href=“fullurl” href=“relativepathname” href=“#name” name=“name” Where you want to go Required Attribute(s) Standard Syntax Example href=“ href=“file1.html” href=“#sectiona” name=“sectiona” Type 1 is pretty straight-forward, types 2 and 3, however, require a little more explanation …

4 LINKS: Type 2 – Specifying the href attribute ( same directory ) Because of the large number of files involved, Web sites usually need to have a hierarchical subdirectory structure Because of the large number of files involved, Web sites usually need to have a hierarchical subdirectory structure For example, if file1.html and file2.html were in the same directory and file1.html contained a link to file2.html, the href would simply be the name of the file (i.e.,“file2.html”) rather than being a reference to the entire path from the root (i.e., “c:\webdocs\file2.html”). For example, if file1.html and file2.html were in the same directory and file1.html contained a link to file2.html, the href would simply be the name of the file (i.e.,“file2.html”) rather than being a reference to the entire path from the root (i.e., “c:\webdocs\file2.html”). file1.html file2.html file1.html file2.html To make it easier to create files on one machine and then upload them onto another (server) machine, the href pathnames in links are usually stated in relative, rather than absolute, terms. To make it easier to create files on one machine and then upload them onto another (server) machine, the href pathnames in links are usually stated in relative, rather than absolute, terms.

5 LINKS: Type 2 – Specifying the href attribute ( 1 level apart ) home.html clothing.html products.. / home.html / clothing.html

6 LINKS: Type 2 – Specifying the href attribute ( 2 levels apart ) file3.html file4.html services.. / file3.html.. / destinationsfile4.html / /

7 LINKS: Type 2 – Specifying the href attribute ( directories at same level ) shoes.html travel.html.. / shoes.html.. / services / products /

8 LINKS: Type 3 – To another location on the same page

9 WEB GRAPHICS: The element General Syntax General Syntax Sample HTML file Sample HTML file Resulting Web page Resulting Web page

10 WEB GRAPHICS: Bitmaps These files are too large for the Web and should be avoided. (The file for the.bmp bitmap picture to the right is 193K.) These files are too large for the Web and should be avoided. (The file for the.bmp bitmap picture to the right is 193K.) A “raw” graphic file in the form of a bitmap or a working file from a graphic editing tool defines the color of each individual pixel. A “raw” graphic file in the form of a bitmap or a working file from a graphic editing tool defines the color of each individual pixel.

11 WEB GRAPHICS: jpg and gif JPG compresses images and is best for full-color photographic images. JPG compresses images and is best for full-color photographic images. GIFs are best for line art, logos, and cartoons. GIFs are best for line art, logos, and cartoons. Large image file sizes mean slow load time for users. Factors that determine file size include: Large image file sizes mean slow load time for users. Factors that determine file size include: The size of the image.The size of the image. The type of compression.The type of compression. The amount of detail and color.The amount of detail and color. jpg gif A good rule of thumb is to keep graphic files smaller than 50KB. A good rule of thumb is to keep graphic files smaller than 50KB.

12 WEB GRAPHICS: Other kinds of gif files Transparent Transparent Animated Animated

13 LISTS: and LISTS: and Unordered Unordered Ordered Ordered Sample HTML codeAs displayed in browser

14 TABLES Basic Structure Syntax HTML file Web page

15 TABLES: colspan and rowspan <tr> Name Name Telephone Numbers Telephone Numbers </tr><tr> Bill Gates Bill Gates </tr></table> HTML file Web page <tr> Name Name Bill Gates Bill Gates </tr><tr> Telephone Numbers Telephone Numbers </tr><tr> </tr></table>