 Chapter 4.  External Style Sheet o Used to define styles for multiple pages in a Web site. o Also called Linked Style Sheets o Crete the style sheet.

Slides:



Advertisements
Similar presentations
Use Tables for Layout Control Day 7. You will learn to: Understand Tables Create a Simple Table Modify Your Tables Appearance Create Page Layouts with.
Advertisements

Chapter 3 – Web Design Tables & Page Layout
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Creating Tables in a Web Site
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Today CSS HTML A project.
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
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 8 Creating Style Sheets.
Tutorial 4: Designing a Web Page with Tables
CIS101 Introduction to Computing Week 07. Agenda Your questions JavaScript text Resume project HTML Project Three This week online Next class.
CIS101 Introduction to Computing Week 07. Agenda Your questions Resume project Review Project Two HTML Project Three This week online Next class.
Using HTML Tables.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
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.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
Chapter 5 Working with Tables. Agenda Add a Table Assign a Table Border Adjust Cell Padding and Spacing Adjust Cell Width and Height Add Column Labels.
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.
Creating Tables in a Web Site Using an External Style Sheet
Creating Tables in a Web Site.  Define table elements  Describe the steps used to plan, design, and code a table  Create a borderless table to organize.
HTML Comprehensive Concepts and Techniques Second Edition Creating Tables in a Web Site October 23, 2012.
Creating Tables in a Web Site
HTML Comprehensive Concepts and Techniques Second Edition Project 3 Creating Tables in a Web Site.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 1 1.Open FrontPage – View -> Page 2.Open.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:IS Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 4 1. Create a folder on L/BSBA/IS330/website.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Website Development with Dreamweaver
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.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Creating Tables in a Web Site
Designing a Web Page with Tables. A text table: contains only text, evenly spaced on the Web page in rows and columns uses only standard word processing.
Tutorial 5 Working with Tables and Columns
Tutorial 5 Working with Tables and Columns
Copyright 2006 South-Western/Thomson Learning Chapter 12 Tables.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
Tutorial 5 Working with Web Tables. XP Objectives Explore the structure of a Web table Create headings and cells in a table Create cells that span multiple.
Basic Table Elements. 2 Objectives Define table elements Describe the steps used to plan, design, and code a table Create a borderless table with text.
CHAPTER 5 Working with Data Tables and Inline Frames.
CITY UNIVERSITY / Vysoká Škola Manažmentu.:MG Information Systems :. © Martina Cesalova, 2005 MS FRONTPAGE 2 1.Create a new document 2.Save as L/bsba/IS330/yourfolder,
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
Building a Web Page. Create A New Folder  Right click on the desktop and select New / Folder  Name the folder playpen.
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.
Positioning Objects with CSS and Tables
1 Preparation for site Create a folder in MyDocuments: beavercheese. Create a subfolder, images Classes, career, DW beginner Download.
Creating Tables in a Web Site HTML 4 Created by S. Cox.
REEM ALMOTIRI Information Technology Department Majmaah University.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
REEM ALMOTIRI Information Technology Department Majmaah University.
Web111a_chapt04.ppt HTM: Section 4 Tables Table Types Text table elements Easy to use Use fixed-font text (font family monospace) Andale Mono Courier Monaco.
Tutorial 5: Tables Session OBJECTIVES Create a table Insert a table summary Insert a table caption Add rows and cells Merge Cells inside a Table.
Tables: Basic Elements Header 1Header 2Header 3 Row 1, Column 1Row 1, Column 2Row 1, Column 3 Row 2, Column 1Row 2, Column 2Row 2, Column 3 Row 3, Column.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
CIS101 Introduction to Computing Week 07 Spring 2004.
>> Introduction to CSS
Cao Yuewen SEEM4570 Tutorial 03: CSS Cao Yuewen
Positioning Objects with CSS and Tables
Chapter A - Getting Started with Dreamweaver MX 2004
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Exercise 39 - Skills A table on your Web page provides one of the best ways to organize and align graphics, text and other objects on the page. You can.
Using HTML Tables SWBAT: - create tables using HTML
Site Development Foundations Lesson 6
Positioning Objects with CSS and Tables
Presentation transcript:

 Chapter 4

 External Style Sheet o Used to define styles for multiple pages in a Web site. o Also called Linked Style Sheets o Crete the style sheet in a separate file with a.css extension

 Tables o Allow you to organize information into rows and columns. o Create newspaper-type columns of text or structured lists on information. o Row: Horizontal line o Column: vertical line o Cell: intersection of row and column 2 types: Heading or Data Heading: bold & center-aligned Data: normal text left-aligned

 Table border: o the line that encloses the perimeter of the table.  Table header: o same as a cell heading; bold and centered text.  Table caption: o descriptive text located above or below the table.

Sketch your table BEFORE you code!

TagFunction Start and end of table All other table tags are inserted within these Start and end of a row Row consist of heading or data cells Start and end of a table heading (called heading cell) Default to bold, center-aligned Start and end of a data cell Defaults to normal text, left-aligned

TagAttributeFunction border=“1”;Adds a 1 pt border on the table * border-spacing: 5px;5px between cells padding: 5px;5px spacing between border & contents None **colspan=“2”Spans text over 2 columns rowspan=“2”Spans text over 2 rows *border attribute can only have a border of “1” or “ “. ** can also include styles effecting the look of text (color, size, weight, etc.)

ValueDescription h-shadowRequired. Position of the horizontal shadow. Negative values are allowed. Positive = right of box, Negative = left of box v-shadowRequired. Position of the vertical shadow. Negative values are allowed. Positive = below the box, Negative = above the box blurOptional. The blur distance. 0 = sharp, higher the number = more blur spreadOptional. The size of the shadow colorOptional. The color of the shadow insertChanges the shadow from an outer shadow to inner one.

h-shadow v-shadowspreadcolor 1 st shadow 2 nd shadow

 2 step process o Creating the style sheet o Linking it to the desired pages  The style tags are not needed  For each page you want to link you need to put a tag in the section:

 Open a default document with the tags: o Section and Article tags not needed. o Title is: Oceanside Hotel and Sports Club  Add a div style to align text to the center  Insert the image oceansidelogo.jpg with the following attributes: o Width: 866Alt: Oceanside logo o Height: 259

After the alt text insert the following style: style=“box-shadow: 10px 10px 12px #888888” /> Close the div

 You will need to break and then declare a table with no border style  You will do one long row with 4 images as links and a “pipe” to separate graphics.

| | |

Oceanside Hotel and Sports Club offers luxury hotel accommodations and premier golf and tennis facilities together in one unique location. Year -round recreational activities are perfect for families to enjoy together. Oceanside Hotel offers an exclusive golf experience for you and your business colleagues.

Explore our website to learn more about our golf and tennis programs, or to review our dining menu. Thinking about visiting? Call us at (999)555-OCEAN or send an to

 Link to CSS sheet Link to CSS sheet

 Open Oceanside.html  Add the following tag in the section:

 Open oceanside.html.  Copy from the very top of the document down through the menu table. Do NOT copy the paragraphs.  Paste into the new document that you just created.  In the title, add ~Golf after the word Club o Don’t forget to close the tags!  Save the new document as: golf.html

ActivitiesDays and TimesRates Regular playWednesday through Saturday,7am – 5 pm$40.00/round Shotgun playSundays, 7am – 3 pm$25.00/round Private lessonsSunday through Friday,8 am – 2 pm$30.00/hour Group lessonsMondays and Thursdays, 8 am – noon$20.00/hour Open a table How many are there? How many do you need? How many are on each row? Close your table

 Click the tag on the Regular play row.  Alter it so it adds the class “stripe” o  Do the same for the Private lessons row.

 Open tennis.html  Add the link code in the section to link the Style sheet to the page.  Update the table so it uses the “Stripe” class in every other row as the one on golf.html did.  Add the link code but do not add the classes to dining.html

 On dining.html, highlight the green comment that reads: o and add the following html to insert a caption o Additional menu items available upon request

 Find: o Add the following html to create a new table heading that spans 3 rows Lunch Menu The allows a break without putting a blank line between Lunch & Menu. Find: Add similar html to denote the Dinner Menu.

 In the tags for the BLT line and the Chicken croissant menu items add the html to link it to the Bolder class: o