Calendar Project. Project Brief. Part I: A Date to Remember. Assignments are evaluated for understanding

Similar documents
c122sep2214.notebook September 22, 2014

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

Tutorial 5 Working with Tables and Columns. HTML and CSS 6 TH EDITION

Web Design and Application Development

Exercise #2: your Profile

Building HTML Tables and Introducing. Tables on the Web

Web Development & Design Foundations with HTML5

INFS 2150 / 7150 Intro to Web Development / HTML Programming

E-Business Systems 1 INTE2047 Lab Exercises. Lab 5 Valid HTML, Home Page & Editor Tables

Dreamweaver CS3 Concepts and Techniques

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

IMY 110 Theme 7 HTML Tables

Chapter 4 Notes. Creating Tables in a Website

Page Layout Using Tables

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Table-Based Web Pages

Html basics Course Outline

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

COMS 359: Interactive Media

Structure Bars. Tag Bar

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Tables *Note: Nothing in Volcano!*

E-Shiksha Academy. Certified Website Designer & Developer

COMP519: Web Programming Lecture 4: HTML (Part 3)

Introduction to Computer Science (I1100) Internet. Chapter 7

***OPEN IMODULES IN CHROME*** 1) Choose Home:

Lecture 08. Tables in HTML. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton

Website Development with HTML5, CSS and Bootstrap

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Certified HTML5 Developer VS-1029

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing

Santa Monica College. GRAPHIC DESIGN 65: Web Design I Course Syllabus

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

HTML and CSS COURSE SYLLABUS

Table Basics. The structure of an table

Dreamweaver Website 1: Managing a Website with Dreamweaver

QRG: Using the WYSIWYG Editor

Designing for Web Using Markup Language and Style Sheets

By Ryan Stevenson. Guidebook #2 HTML

Website Design (Weekday) By Alabian Solutions Ltd , 2016

Advanced HTML Scripting WebGUI Users Conference

Chapter 7 Tables and Layout

Creating Web Pages with SeaMonkey Composer

Web Programming Week 2 Semester Byron Fisher 2018

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

Chapter 7 Tables and Layout

Independence Community College Independence, Kansas

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

ICT IGCSE Practical Revision Presentation Web Authoring

Taking Fireworks Template and Applying it to Dreamweaver

Certified HTML Designer VS-1027

GRAPHIC WEB DESIGNER PROGRAM

MCOM 6336 Digital Media Spring 2014

Introduction to Dreamweaver CS3

Chapter 4 Creating Tables in a Web Site Using an External Style Sheet

Using Dreamweaver CC. 5 More Page Editing. Bulleted and Numbered Lists

Microsoft Expression Web Quickstart Guide

Deccansoft Software Services

USER GUIDE MADCAP FLARE Tables

Website Design (Weekend) By Alabian Solutions Ltd , 2016

Welcome. Web Authoring: HTML - Advanced Topics & Photo Optimisation (Level 3) Richard Hey & Barny Baggs

Summary 4/5. (contains info about the html)

epromo Guidelines DUE DATES NOT ALLOWED PLAIN TEXT VERSION

[AVWSQ-ADWCS6]: WSQ ICDL Adobe Dreamweaver CS6

Using Dreamweaver. 4 Creating a Template. Logo. Page Heading. Home About Us Gallery Ordering Contact Us Links. Page content in this area

MP3 (W7,8,&9): HTML Validation (Debugging) Instruction

Web Publishing Basics II

HTML. HTML Evolution

Creating a Website in Schoolwires

Creating A Simple Calendar in PHP

CSCI 1100L: Topics in Computing Spring 2018 Web Page Project 50 points

FCKEditor v1.0 Basic Formatting Create Links Insert Tables

ABOUT WEB TECHNOLOGY COURSE SCOPE:

Introduction to Computer Science (I1100) Internet. Chapter 7

Website Creating Content

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

Guidelines for doing the short exercises

HTML & XHTML Tag Quick Reference

Additionally, if you are ing me please place the name of the course in the subject of the .

Modify cmp.htm, contactme.htm and create scheduleme.htm

MPT Web Design. Week 1: Introduction to HTML and Web Design

Videos...31 Training Videos...32 Webinar recording: Monday 5th December

Dreamweaver MX Technical Support Services. Office of Information Technology, West Virginia University. OIT Help Desk ext.

LESSON 3. Coding Tables Continued

Midterm Review. October 17

How to use the Dealer Car Search ebay posting tool. Overview. Creating your settings

COMM 2555 Interactive Digital Communication LAB 4

ICT IGCSE Practical Revision Presentation Web Authoring

Sign in and join ADC Newsletters Feedback. Creating your first website Part 2: Creating the page layout

Chapter 1 Introduction to Dreamweaver CS3 1. About Dreamweaver CS3 Interface...4. Creating New Webpages...10

ITNP43: HTML Lecture 3

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

HTML, XHTML, and CSS 8/21/2011. Chapter Objectives. Chapter 4. Chapter Objectives. Chapter Objectives

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

Discuss web browsers. Define HTML terms

Transcription:

HTML and CSS Building HTML Tables and Introducing HTML5 Calendar Project HTML tables have a storied history on the Web. Championed as a Web design layout tool in the 1990s, they are now chiefly used for their original, intended function: the presentation of data. HTML tables can be used for all sorts of things ranging from structuring e commerce forms to the representation of scientific data or calendar dates. Editing tables and navigating the various rowspan or alignment issues that arise is notoriously tricky, but this exercise will put you through your paces. First, you'll use a table to create a calendar Put "learn HTML5" on your calendar. page for all your weekly happenings. Then, you'll tackle some hand coded table configurations that will make sure your table/building skills are solid. And on top of it all, you'll build your tables within an HTML5 page structure. In this exercise, you're expected to: Structure a basic HTML5 page. Create an HTML table to specification for a calendar page, structuring the data into table head, body, rows, and data cells. Apply header, paragraph, and unordered list tags to table content. Customize the table by adding width, colspan, align attributes and a banner image. Further customize the table design using padding, spacing, frame attributes, and background colors. Hand code six tricky table configurations. Project Brief Part I: A Date to Remember In this assignment, your task will be to transform and translate a string of dates into an HTML table based calendar layout. Take a moment to recap the essential table tags and attributes one more time with the following Review Kit: Assignments are evaluated for understanding

of concepts covered in the lecture. table thead and tbody tr th and td colspan and rowspan Table Tags and Attributes cellpadding and cellspacing The <table> tag pair is a container for all of the content and cells within the table. 00:00 Various / 00:00 attributes can be applied to the table, such as a border, width, or color. Starting out, you need to find a banner image 750 by 200 pixels in dimensions. Use your Photoshop prowess to create the perfect banner that reflects the calendar's content. For our sample calendar, we used this photo of California. You could make your calendar image scenic or make it a slice of your life. A camera phone would be a good way to gather source material for the graphic header. It's been a while since October 2012, but that was a big month in my life, so that's what we'll use for an example. But you should choose your own month and year to work with. Try picking your birthday month, or a significant month from your past or future! Enter a brief description of one activity in your life per calendar row (total of 5 rows), for example: Grandpa's birthday Buy a new car Vacation begins! Win the lottery Visit the dentist 1. Create an HTML5 page For this exercise, you are going to create an HTML5 page. Open up a new document in your text editor and input the following code to get it started. <!DOCTYPE html> <html lang="en">

<head> <meta charset="utf-8" /> <title> </title> </head> <body> </body> </html> Create a title for your page and enter it in the title tags, such as "Calendar." Make sure all data is inside the <body>tags. Use HTML5 <header>and <section>tags to separate out the page's headline graphic and the calendar section (month/year, days, and dates, which will live in a table shortly). Save and preview your document doesn't look like much, yet! 2. Define the table, table header, and table body. Begin building your calendar by first adding the <table>tags to the <section>tags of your document. The <table>tag defines the table as a whole. Remember that all of your other tags for the table (<tr>tags, for example) must live inside of the <table>tag. Give the table a one pixel border by adding the border attribute to the opening tag: <table border ="1" style="table-layout: fixed">. Note that the second attribute here is not one you should be familiar with yet. This is a style attribute that compensates for a bug in Internet Explorer 8. There are two header rows for the calendar. The first one will hold the month and year, and the second will hold the days of the week. Wrap the month, year, and complete list of days (Monday through Sunday) <thead>tags. The body of your table will be the 31 individual dates, so wrap the complete list of date numbers in <tbody>tags. 3. Define the table rows Next, add table row tags <tr>at the beginning (and end) of each table row. This tag wraps groups of individual table cells. The month and year should be your first row. Monday Sunday should be your second row. The dates 1 7 should be your third row, and so on. Make sure to close each tag! And remember, <tr>tags should be nested inside <thead>and <tbody> tags, like so: <thead><tr>october - 2012</tr>... 4. Define individual cells Use the <th>tags for each cell you want to designate a table header cell each cell with a day listed and the cell with the month/year. Use the <td>tags for each cell you want to designate a table data cell each cell with a date listed. Save and preview your work. If you've coded everything correctly, your calendar should look something like this:

And a fine thing it is, but let's keep working on it. We need to style the content and apply some formatting to the table. 5. Apply paragraph and list tags to content Next, we want the dates and the activities to be properly semantically identified. Let's wrap dates in <p>tags and make each activity an unordered list item, like so: <td><p>4</p><ul><li>iron my suit</li></ul></td> 6. Customize the table Did you notice that the month and year live in a cell, when we really want them to span the whole calendar? Let's fix this using the colspanattribute. Remember how to do this? Go to the cell that has the month and year in it. This is a <th>. In this <th>, you need to indicate how many columns you want to span: <thead><tr><th colspan = "7">October - 2012</th></tr> </thead> Add an <h1>to your month and year as well so it stands out from the other text in the calendar. Your calendar should look like this:

7. Add the banner image Let's exit the table for a moment and move back into the <header>of the document to add the banner image. Remember how to do this? <img src="images/calendar.jpg" alt="october photo " /> Since our image is 750 pixels wide, it would be nice if the table were the same width. So now return to your table and add a widthattribute to lock in your table to the width of the graphic: <table border="1" width ="750" style="table-layout: fixed"> 8. Set cell widths To even out column widths, you can apply % widths to each cell in your table header row, like so: <th width = "14%">Monday</th> Note: Because you have seven columns, five columns should be set to 14%, and two columns set to 15% (adding up to 100%). Below how the calendar looks at this stage:

9. Finishing touches Your basic calendar is all set. But I would encourage you to work further on the design: Experiment with applying cell spacing and cell padding to the table. Experiment with using background colors in the table cells to complement the calendar header and balance out the design (use your Photoshop color picker to figure out values for the background colors). Experiment with frame and border attributes to get the look you want. As a reminder, here's how these attributes can be applied to a table, row, or cell: <table border="2" bordercolor="#cccccc" frame="void" cellspacing="2" cellpadding="5">

<tr bgcolor="#eeeeee"> I would like to see what you come up with. Don't try to be a student who does the minimum. Have fun with the assignment. The more you do, the more you will learn. Part II: HTML Table Boot Camp The goal of this assignment is to get used to building HTML tables, by hand coding them. In later life as a Web designer, you may use WYSIWYG editors to quickly build HTML tables, but in the long term it's best to understand the code the software is generating. Using only hand coding, I would like to see you build these six tables: A table with 2 rows and 6 columns A table with 3 rows and 6 columns A table with 6 rows and 6 columns A table with 2 rows and 6 columns, incorporating table headers and caption elements A table with 3 rows and 6 columns, incorporating rowspan and colspan A table with 6 rows and 6 columns, incorporating table headers, caption, rowspan, and colspan elements Incorporate these tables on a single HTML document, and you may include any content you like (perhaps your own writing or graphics?). Be sure to provide a headline above the HTML table describing the number of rows and columns and attributes. When you are finished, be sure to upload assignments to your Web host and then submit the direct links to the Dropbox for evaluation. Grading Criteria: What your instructor expects you to do: Design an HTML table to specification for a calendar page, structuring the data into table head, body, rows, and data cells. Apply header, paragraph, and unordered list tags to table content and customize the table by adding width, colspan, and align attributes and a banner image. Further customize the table design using padding, spacing, and frame attributes and background colors. Demonstrate the ability to hand code six given tables involving different row/column configurations and colspan and rowspan elements. Demonstrate the ability to create accurate HTML5 code by hand, structuring the page and adding opening, closing, and nesting tags appropriately with a minimum of errors. Important reminder: Templates from HTML editing software

such as Dreamweaver are not allowed in this course. This is a course about learning the fundamentals of HTML and CSS, and hence we stick strictly to hand coding. Any assignments based off any kind of template (including Dreamwever templates) will receive a 0. How to Post: Once you're done, go to the Dropbox for this exercise and post links to both exercises with a brief comment. If you have a question before sending your completed exercise for grading, use the Send Mail area to contact your instructor. I look forward to seeing your work!