Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.

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.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Iframes & Images Using HTML.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
1 Cascading Style Sheets Continued Different kinds of selectors in a style sheet –Simple- Pseudo-Class –Contextual- Pseudo-Element –Class Image Styles.
Introduction to HTML Scripting
Web Development & Design Foundations with XHTML Chapter 4 Key Concepts.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
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.
FINAL EXAM REVIEW WEB TECH. JUST CLICK… THE CORRECT ANSWER WILL APPEAR WHEN YOU CLICK. GOOD LUCK!
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.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
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.
HTML Overview Part 2 – Paragraphs, Headings, and Lines 1.
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.
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.
HTML H yper T ext M arkup L anguage. HTML HTML is NOT case sensitive However, proper coding etiquette if for all to be in ALL CAPS and for text to be.
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) –
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
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.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Web111a_chapt03.ppt HTM: Section 3 Colors Selecting Colors Methods Color names Color values Color Names 16 Basic Color Names HTML 3.05, Figure 3-2 Extended.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
Creating Web Pages with Links, Images, and Formatted Text Information Presented by S. Cox.
Creating Web Pages with Links, Images, and Formatted Text
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
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”
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.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
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.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
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.
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.
1 Creating Links Lesson 2. 2 In the center column type : Home | Order Now | Contact Us This is the navigation button which will link to the other pages.
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
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.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
© Ms. Masihi.  A Web page contains text and images that convey specific information to viewers.  To create a new web page, open Dreamweaver and select.
Introduction to HTML Scripting
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Inserting and Working with Images
Hosted by Coach Slanina
HTML Images CS 1150 Spring 2017.
Chapter 3 Images.
Web Development & Design Foundations with HTML5 7th Edition
Creating a Web Site with Links
HTML Images CS 1150 Fall 2016.
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Session IV Chapter 15 - How Work with Fonts and Printing
Attribute of heading, <p> and <hr> tag
Presentation transcript:

Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting

Font Tag Changing the style of the font is accomplished using the tag. You enclose the content you wish to format in between the opening and closing tag. The font attributes include: face, size, color. © UNT in partnership with TEA2IT: Web Technologies - HTML Scripting

Font Face The default font face style for most browsers is "Times New Roman". There are five basic font classifications, Serif Sans Serif Script, Fancy Monospace IMPORTANT POINT: Just because you have a particular font on your computer, that does not mean everyone else who visit your site has that same font. © UNT in partnership with TEA3IT: Web Technologies - HTML Scripting

Font Face An example of basic font faces: Other common font faces: This is Serif This is Sans Serif This is Script This is Monospace Times New Roman Cosmic Sans MS Impact Courier New Tahoma Broadway Haettenschweiler Stencil Wide Latin Lucida Handwriting Playbill Algerian Arial Britannic Bold Arial Black Bookman Old Style Verdana Colonna MT © UNT in partnership with TEA4IT: Web Technologies - HTML Scripting

Available fonts YOUR computer can read may be different that other computers! C:/windows/fonts © UNT in partnership with TEA5IT: Web Technologies - HTML Scripting

Font Size The font tag may also be used to change the font size of text by adding the size attribute There are only 7 font sizes available with 1 being the smallest, and 7 being the largest. © UNT in partnership with TEA6IT: Web Technologies - HTML Scripting

Font Size An example of font size: Size 1 Size 2 Size 3 Size 4 Size 5 Size 6 Size 7 © UNT in partnership with TEA7IT: Web Technologies - HTML Scripting

Font Color The color attribute is added to the font tag to change the color of a block of text To assign colors, the color name of a basic color, or the RGB color code may be used. This is red! © UNT in partnership with TEA8IT: Web Technologies - HTML Scripting

Open index.htm from your Student Files folder and add the code shown in orange: World Travel : California

Preview index.htm once again in your browser. The page is now much easier to read. It is important to choose your colors carefully so that the viewer can read the text easily. © UNT in partnership with TEA10IT: Web Technologies - HTML Scripting

© UNT in partnership with TEAIT: Web Technologies - HTML Scripting11 Complete Lab 4:

Part 5 Adding Images © UNT in partnership with TEA12IT: Web Technologies - HTML Scripting

Image Formats There are many types of image formats. The two you will most likely use are the gif and jpg formats. gif (Graphics Interchange Format) limited to 256 colors, one color can be transparent, gif images can be animated. jpg (Joint Photographic Experts Group) Can display millions of colors. Typically used for photographs. Can not include a transparent color or be animated. © UNT in partnership with TEA13IT: Web Technologies - HTML Scripting

Inserting Images The image tag should close itself. The file extension of the image MUST be included after the image name. © UNT in partnership with TEA14IT: Web Technologies - HTML Scripting

World Travel © UNT in partnership with TEA15IT: Web Technologies - HTML Scripting Open index.htm from your Student Files folder and make the changes indicated below.

© UNT in partnership with TEA16IT: Web Technologies - HTML Scripting Preview index.htm once again in your browser.

Aligning Images The image is to the right with text wrapping to its left The image is to the left with text wrapping to its right © UNT in partnership with TEA17IT: Web Technologies - HTML Scripting

This image has not been aligned so it is applied inline with the text. This image has been aligned to the left, therefore text will wrap around the image. © UNT in partnership with TEA18IT: Web Technologies - HTML Scripting

in personal and friendly service. Add the following orange code to index.htm where indicated below the horizontal rule tag. © UNT in partnership with TEA19IT: Web Technologies - HTML Scripting

The second image should be aligned to the right side of the screen with the text wrapping along the left side of the image. © UNT in partnership with TEA20IT: Web Technologies - HTML Scripting Preview index.htm once again in your browser.

Section Breaks Section Breaks on a web page are line breaks with the clear="all". A section break on a web page is like a continuous section break in a word processor. Primarily used to STOP text from wrapping around an image. © UNT in partnership with TEA21IT: Web Technologies - HTML Scripting

Image Attributes src – specifies the image file align – defines image alignment hspace – horizontal spacing vspace – vertical spacing width – width of an image height – height of an image alt – text alternative of an image Now that you know how to work with images, there are other attributes available to help customize their appearance. © UNT in partnership with TEA22IT: Web Technologies - HTML Scripting

hspace & vspace Will add a margin spacing to the left and right and/or top and bottom of an image. Helps prevent a webpage from appearing cluttered and crowded. © UNT in partnership with TEA23IT: Web Technologies - HTML Scripting

width & height Can be applied to an image to specify a specific image size. Should be used to make small adjustments only. Use only one to keep the image in proportion. © UNT in partnership with TEA24IT: Web Technologies - HTML Scripting

Text Alternatives A line of text that will appear when your mouse is placed over the image. If the image does not load, the text will appear in place of the image. Applied to the img tag using by the alt attribute. © UNT in partnership with TEA25IT: Web Technologies - HTML Scripting

Complete Lab 5: © UNT in partnership with TEAIT: Web Technologies - HTML Scripting26 Home Page

Complete Lab 5: © UNT in partnership with TEAIT: Web Technologies - HTML Scripting27 Statue of Liberty Page

Complete Lab 5: © UNT in partnership with TEAIT: Web Technologies - HTML Scripting28 Empire State Building

Complete Lab 5: © UNT in partnership with TEAIT: Web Technologies - HTML Scripting29 Central Park