XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Cascading Style Sheets
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Chapter 4 Marking Up With Html: A Hypertext Markup Language Primer.
Excel 2007 ® Business and Personal Finances How can Excel 2007 help you format a workbook?
CIS101 Introduction to Computing Week 07. Agenda Your questions JavaScript text Resume project HTML Project Three This week online Next class.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
XP 1 Tutorial 4 Designing a Web Page with Tables.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
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.
Web Design, 3 rd Edition 4 Planning a Successful Web Site: Part 2.
Cascading style sheets (CSS)
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
Web Technologies Website Development Trade & Industrial Education
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
1 Basic HTML. 2 Part 1: Basic Web Page Production.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
Exploring Office 2003 – Grauer and Barber Enhancing the Web Page Chapter 3 BCIS 1405 Session 15.
1 Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page HTML.
C1999 Kathleen Schrock 1 Basic HTML By Kathy Schrock.
1.NET Web Forms HTML Introduction © 2002 by Jerry Post.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
HTML, Part Showing Pictures: The Image Tags Image Tag Format –src short for source –alt for text –Can use absolute or relative pathname.
CSS Basic (cascading style sheets)
Going Live with a Basic Web Page Bill Hart-Davidson AIM: billhd30 pfworkshop.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Exploring Office 2003 – Grauer and Barber WEB Creation & Design using HTML Chapters BCIS 1405 Session 14.
HTML: Hyptertext Markup Language Doman’s Sections.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
CIS234A- Lecture 7 Instructor Greg D’Andrea. Tables A table can be displayed on a Web page either in a text or graphical format. A text table: – contains.
Chapter 2 Designing Web Pages With HTML JavaMethods An Introduction to Object-Oriented Programming Maria Litvin Gary Litvin Copyright © 2003 by Maria Litvin,
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.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
History Internet – the network of computer networks that provides the framework for the World Wide Web. The web can’t exist without the internet. Browser.
HTML (Hyper Text Markup Language) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Web Technologies Beginning Cascading Style Sheets (CSS) 1Copyright © Texas Education Agency, All rights reserved.
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 Committed to Shaping the Next Generation of IT Experts. 03: Links and Forms HTML.
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
REEM ALMOTIRI Information Technology Department Majmaah University.
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
Introduction to Web Authoring Bill Hart-Davidson AIM: billhd30 Session 2
HTML  HyperText Markup Language  The Language used to design web pages  Code mixed with text  Tags enclosed in angle brackets  Single tags  Paired.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CNIT 131 HTML5 - Tables.
4.01 Cascading Style Sheets
With Microsoft FrontPage 2000
Inserting and Working with Images
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Cascading Style Sheets - Building a stylesheet
Computers and Scientific Thinking David Reed, Creighton University
Basic HTML.
Cascading Style Sheets - Building a stylesheet
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
4.01 Cascading Style Sheets
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 02: Enhancing the Web Page

XP Objectives Planning a web page: – Rules of creating a web page – Design checklist Formatting with Cascading Style Sheets Using graphics Changing color Using tables Create links 2

XP Planning a Web Page Questions to ask What is the purpose of Web presentation? Who is the audience? What information am I trying to convey? How will I organization the information? How can I make it attract visitors?

XP Structure of Web Page Consistent layout for each page One topic per page Keep pages short to avoid scrolling Avoid large graphics at the top (will need long time to load)

XP Design Checklist Be brief Be clear Use simple language Check spelling & grammar Try out presentation in more than one browser

XP Use Features to Tie it all Together Use Lists or menus Avoid links that are not relevant Use consistent terms & icons Use same banner or logo on each page Use consistent layout Use return link to home page on all pages Make sure links are current

XP More Features to Tie it all Together Avoid graphics that are not relevant Include alternative text with every graphic Each page should be able to stand alone Avoid over-emphasizing / over-formatting Contrast text from background (readability) Use horizontal lines to separate sections of the page

XP Formatting with Cascading Style Sheets (CSS) Styles pre-define formats Allows changes to be made quickly All styles are defined in one place Makes for Global Formatting – Changes made in one place affects all Best to put Style tag in HEAD section

XP Cascading Styles Example: – All Body text to be centered Body {text-align: center} etc …

XP Defining a CLASS for Style Class used in two places – In HEAD Style definition – In Body text HEAD EXAMPLE: P {font-style: normal} P.it {font-style: italic} P.color {color: red}

XP Defining a CLASS for Style (Continued) BODY Text EXAMPLE: This text will be in italic This text is not affected This text is red This text is not affected Practice…

XP HTML to Show Use of Classes

XP Resulting web page Practice…

XP Mixing Classes with Other Tags Adding a Bold Tag

XP Inserting Pictures / Graphics Can include universal formats –.JPG(best for photographs) –.GIF(most browsers accept this format) Use – Must use SRC=“filename” attribute for source – EXAMPLE: – No closing tag Practice…

XP Inserting Pictures / Graphics Can use ALT= alternate attribute to display EXAMPLE: This will display “Company CEO” rather than the file name (“picturename.jpg”) Practice… Other attributes available are HEIGHT, WIDTH, FLOAT (causes browser to load quicker) – Height & Width are measured in pixels – Float defines position (Left, Right, Center)

XP Inserting Pictures / Graphics EXAMPLE using Height, Width, Float <IMG SRC=“picturename.jpg” ALT=“Company CEO” HEIGHT= “200” Width = “40”> Practice… Better to use Classes for each image size IMG.ceoPic1 {width: 40; height: 200; float: center} … body text … <IMG SRC=“picturename.jpg” class=“ceoPic1” ALT=“Company CEO”>

XP Using a Graphic as Background Use image as background (instead of color) EXAMPLE for BODY background Practice…

XP RESULT of Classroom as background

XP Result of using a small picture as a background (Browser tiles the image and repeats it to cover background)

XP Changing Text Color Can change color of different text types – –,, etc. Can change color of hypertext links Can change color of visited links Can change color of active links

XP Common Colors COLORHEX EQUIVALENT Red #FF0000 Green#00FF00 Blue#0000FF Black# White#FFFFFF Tan#DEB887 Turquoise#19CCDF Magenta#FF00FF Yellow#FFFF00 Practice…

XP To Insert Special Characters You can use Name or Code CHARACTERNAMECODE ©©© ®®® ÈÈÈ ¥&yen¥ £££ >>> <&LT;< &&& Must use Name or Code for “<“ because HTML uses that for start of a tag IF A < B would be coded: IF A &LT; B or IF A < B

XP Inline Styles Used rarely – Single style definition is preferable Used when a style is to be used only once How it works: L ove Would produce: L ove Practice…

XP Using Tables To better organize data for user Columns and rows (intersection is a cell) Data placed in cells Table contents are between: and tags

XP Table Syntax Start each row with: tag End each row with: tag Everything between these tags will appear in one row

XP Table Syntax … text in First row … text in Second row

XP Table Syntax Use the and tags for column head – Will make contents BOLD for Col. Headings – EXAMPLE: Qty Price Cost Will create:Qty Price Cost Practice…

XP Table Syntax Use the and tags for column data Qty Price Cost 2 $10.00 $40.00 Practice…

XP Table Syntax Adding a Border Use the and tags for column data Qty Price Cost 2 $10.00 $40.00 Practice…

XP Table Syntax Wider Border & More Spacing Use the and tags for column data Qty Price Cost 2 $10.00 $40.00 Practice… Wider Border More space between cells

XP Inserting Links to Other Documents Syntax: …text to be clicked … EXAMPLE: Click below to go to HCCS Computer Science Department Home Page COMPUTER SCIENCE DEPARTMENT Practice…

XP Linking Within Same Document Like placing a bookmark in WORD Must identify place it will link to TOP OF PAGE Linkage code placed where you want it Click here to go to top of page

XP Link to Return TOP OF PAGE Click here to return to bottom of page Click here to go to top of page Practice…

XP Creating Links Saigontech