Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Formatting Text and Lists Essentials for.

Slides:



Advertisements
Similar presentations
HyperText Markup Language (HTML) – Part 2 Laboratory of Intelligent Networks KUT Youn-Hee Han from
Advertisements

Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Chapter 3 © 2003 by Addison-Wesley, Inc Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation.
Cascading Style Sheets. Next Level Cascading Style Sheets (CSS) - control the look and feel of your HTML documents in an organized and efficient manner.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 3: XHTML Coding © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Tutorial 2: Formatting Text. Objectives Session 2.1 – Learn the functions of the Common toolbar – Change the size of text – Discern which fonts to use.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
Cascading Style Sheets (CSS) Why do we need them? Separate structure from browser presentation There are many HTML presentation attributes –We want to.
HTML Computing Concepts HTML - An Introduction 1.
Tutorial 3 Designing a Web Page.
Basic HTML UCR Webmasters Support Group Derk Adams.
More HTML Chapter 4. 2 Nesting Tags How do you write the following in HTML? The wrong way: This is really, REALLY fun ! Tags must be correctly nested.
WEB PAGES: CREATING AND MAINTAINING ** Tom Keane & Mayis SeapanInstructors: HTML Tags to format your text.
HTML BASIC
3.1 Cascading Style Sheets. Motto Fashions fade, style is eternal. —Yves Saint Laurent.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Session: 3. © Aptech Ltd. 2Formatting Text using Tags / Session 3  Explain the Heading tag  Explain the different tags related to formatting  Explain.
Computer Sciences Department
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
Computer Science 101 HTML. World Wide Web Invented by Tim Berners-Lee at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland (roughly.
CompSci Today’s topics Networks & the Internet Basic HTML ä The basis for web pages ä “Almost” programming Upcoming ä Connections ä Algorithms.
Creating Web Pages with Links, Images, and Formatted Text.
HTML 4.0 History and Application By: Marc Mayzes.
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
Cascading Style Sheets " Provide means to control and change presentation of HTML documents. " Allow the user to impose a standard style. " Three levels.
1 HTML intro The development of HTMLThe development of HTML The transition from HTML to XHTMLThe transition from HTML to XHTML XHTML syntax, tags, and.
1 Web Developer Foundations: Using XHTML Chapter 2 Key Concepts.
Introduction To CSS.. HTML Review What is HTML used for? Give some examples of formatting tags in HTML? HTML is the most widely used language on the Web.
Unit 1 Changing the Appearance of Text. TITLE CORNELL NOTES TOPIC: NOTES: Summary: HTML Hypertext Markup Language 1 st and last tag on a page Tags Tags.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 3.
Getting Started with HTML Please use speaker notes for additional information!
Just Enough HTML How to Create Basic HTML Documents.
HTML Basic IST2101. Keep In Mind Programming can be time consuming. Plan ahead!
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Creating XHTML Documents Essentials for.
College of Micronesia- FSM Pohnpei State Campus GEORGE S. MANGONON, MBA Chair, Math/Sci Division September 15-25, 2008.
Computer Science 101 Color, Fonts, Links, Design.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
The Teacher Computing HTML HyperText Markup Language.
12/20/20151 Color Fall, 2010 Modified by Linda Kenney 10/26/10.
HTML & Color How to Use Color  Backgrounds-  Usually a light color is best  Should have a color based on a theme or plan  Can have a dark.
CS543: WEB APPLICATION PROGRAMMING Lab 1: HTML tags & SW installation Computer Science Department.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML BASIC IST 210: Organization of Data IST210 1.
Web Design (14) CSS Formatting Text. Formatting Text In Brackets, go to your ‘externalcss’ website and find the ‘formattingtext’ page. Use the ‘main’
CSS Cascading Style Sheets *referenced from
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
Basic Web Publishing M. Scott Gartner 7/15/98.
Introduction To CSS. Lesson 1: History of CSS CSS was proposed in 1994 as a web styling language. To helps solve some of the problems HTML 4. There were.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Cascading Style Sheets
HTML WITH CSS.
Basic HTML Tags Ryan Frazier April 30,2004 CSC113.
Cascading Style Sheets Color and Font Properties
The Internet 10/11/11 Fonts and Colors
HTML WITH CSS.
CSCI-235 Micro-Computers in Science
Cascading Style Sheets
HTML (HyperText Markup Language)
Stylin’ with CSS.
Cascading Style Sheets Color and Font Properties
Tutorial 3 Working with Cascading Style Sheets
Stylin’ with CSS.
Cascading Style Sheets
Stylin’ with CSS.
Presentation transcript:

Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Formatting Text and Lists Essentials for Design XHTML

Copyright (c) 2004 Prentice-Hall. All rights reserved. 2 Text Settings  Typeface – font style (e.g. Arial, Times, Helvetica)  Text effects – bold, italic, underline  Color  Size

Copyright (c) 2004 Prentice-Hall. All rights reserved. 3 Text Effects Tags in XHTML 1.1  applies boldface type  applies italic type  underlines the type

Copyright (c) 2004 Prentice-Hall. All rights reserved. 4 Text Effects in XHTML 2.0  Elimination of the,, and tags  These are deprecated tags  tag replaces  tag replaces the  Style sheets control general text presentation

Copyright (c) 2004 Prentice-Hall. All rights reserved. 5 Effects of Typeface Tags this This this

Copyright (c) 2004 Prentice-Hall. All rights reserved. 6 The tag and attributes  tag lets you specify various font settings for selected text  attributes include  Color  Size  Face  Colors can be named or hexadecimal values  text OR  text

Copyright (c) 2004 Prentice-Hall. All rights reserved. 7 Color Names COLOR NAME: HEX NUMBER: BLACK # SILVER #C0C0C0 GRAY # WHITE#FFFFFF MAROON# RED#FF0000 PURPLE # FUCHSIA #FF00FF GREEN # LIME #00FF00 OLIVE # YELLOW #FFFF00 NAVY # BLUE #0000FF TEAL # AQUA#00FFFF There are 16 color names supported in XHTML Each color name has an associated Hexadecimal code

Copyright (c) 2004 Prentice-Hall. All rights reserved. 8 Hexadecimal RGB Color Codes  RGB = Red, Green, Blue  Every color is a combination of red, green, and blue  Hexadecimal number is base-16 number (values 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F)  RGB value has 6 hexadecimal digits:  First two digits indicate red value  Next two digits indicate green value  Last two digits indicate blue value

Copyright (c) 2004 Prentice-Hall. All rights reserved. 9 Some RGB Color Codes

Copyright (c) 2004 Prentice-Hall. All rights reserved. 10 Effects of Applying Font Color Names Red Text. Green Text. Purple Text. Blue Text.

Copyright (c) 2004 Prentice-Hall. All rights reserved. 11 Effects of Applying Font Hexadecimal Numbers Upcoming Books Dr. Know-It-All recommends books on a weekly basis, or whenever we get around to it.

Copyright (c) 2004 Prentice-Hall. All rights reserved. 12 Using the Size Attribute  tag’s size attribute lets you specify text size  Sizes range from 1 to 7 (3 is default for most browsers)  Sizes can be absolute or relative  Absolute size:  Relative size:  This makes font one size larger than default

Copyright (c) 2004 Prentice-Hall. All rights reserved. 13 Effects of Tags Increases font size from default size of 3

Copyright (c) 2004 Prentice-Hall. All rights reserved. 14 Using the Face Attribute  tag’s face attribute lets you specify typeface  Different computers have different typefaces  All computers have: Courier, Times, and Helvetica  Specifying a typeface:  Specifying alternative typefaces:   Helvetica is first choice, if not available try Verdanda, then Arial

Copyright (c) 2004 Prentice-Hall. All rights reserved. 15 Effects of face attribute Sets type face to Arial font

Copyright (c) 2004 Prentice-Hall. All rights reserved. 16 Background and Foreground  Background – the canvas of the Web page  Foreground – the text appearing on the Web page  tags affecting color of background and foreground  bgcolor – background  text – foreground

Copyright (c) 2004 Prentice-Hall. All rights reserved. 17 Global vs. Local Color Settings  Text attribute applied globally  Sets default color for text in the page  Font tag’s color attribute applies locally  Overrides default color for text in the page

Copyright (c) 2004 Prentice-Hall. All rights reserved. 18 Effects of Formatting Attributes Body tag attribute settings: text="#006699" affects the color of text in the body (except if specified in font color attribute) bgcolor="#ffffcc" affects the color of background in the body

Copyright (c) 2004 Prentice-Hall. All rights reserved. 19 Lists  Text items arranged in a collection  Ordered lists – each item is numbered  Unordered list – items are not numbered, but bulleted

Copyright (c) 2004 Prentice-Hall. All rights reserved. 20 Tags for Unordered Lists  tag – specifies unordered list  's type attribute – enables specification of bullet type  Disc (default)  Square  Circle  tag – specifies list item  tags must be nested inside and

Copyright (c) 2004 Prentice-Hall. All rights reserved. 21 Effects of Unordered Lists List Item 1 List Item 2 List Item 3 List Item 4 List Item 5 affects the type of bullet

Copyright (c) 2004 Prentice-Hall. All rights reserved. 22 Tags for Ordered Lists  tag – specifies an ordered list  's type attribute – specifies the type of numbering for an ordered list  1 – Arabic Numerals (default)  A – Uppercase letters  a – Lowercase letters  I – Uppercase Roman numerals  i – Lowercase Roman numerals  tag – list item (same as with unordered list)

Copyright (c) 2004 Prentice-Hall. All rights reserved. 23 Effects of Ordered Lists List Item 1 List Item 2 List Item 3 List Item 4 List Item 5 causes uppercase alphabetic listing

Copyright (c) 2004 Prentice-Hall. All rights reserved. 24 Definition Lists  Definition list – lists that contain terms and definitions  Useful for FAQ or defining terms on a Web page  Tags for Definition Lists  tag – specified definition list  tag – specifies the term to be defined  tag – specifies the definition

Copyright (c) 2004 Prentice-Hall. All rights reserved. 25 Effects of Definition Lists XHTML eXtensible Hypertext Markup Language. A scripting language used to create hypertext documents for the Web. URL Universal Resource Locator. A Web address, or file path to a file on the World Wide Web.

Copyright (c) 2004 Prentice-Hall. All rights reserved. 26 XHTML 2.0 Navigation Lists  Intended to define collections of selectable items for presentation  Tags for navigation lists  – specifies navigation list  – specifies the name of the list  -- allows list item to link to another location