©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.

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

Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 6: HTML Tables.
Chapter 4 – Intermediate HTML 4 Outline 4.1 Unordered Lists 4.2 Nested and Ordered Lists 4.3 Basic HTML Tables 4.4 Intermediate HTML Tables and Formatting.
© 2004, Robert K. Moniot Chapters 4 & 5 Introduction to HTML, More Details.
XHTML1 Tables and Lists. XHTML2 Objectives In this chapter, you will: Create basic tables Structure tables Format tables Create lists.
Creating a Web Page with Tables. Objectives Create a text table with preformatted text Create the basic structure of a graphical table Organize table.
Introducing Web Tables
HTML TABLES Cyndi Hageman. Tables   Attributes Name or id – used to identify the table Border = set this to determine if there is a border and the size.
XP Creating Web Pages with HTML Using Tables. XP Objectives Create a text table Create a table using the,, and tags Create table headers and captions.
Using HTML Tables.
1 Tables: Data in Rows and Columns – What is Table? – How Tables are Used? – Designing Tables – Table, Cell, Row Attributes – Using Tables for Alignment.
Tables And Lists. Slide 2 Lecture Overview Learn about the basics of tables Create simple 2-dimensional tables Format tables Create tables with complex.
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.
Notes Ch. 12—Creating Tables Web Page Design. Why Use Tables? Tables are used to create a variety of items such as calendars, charts, and spreadsheets.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
HTML Essentials Tables and Table Tags. Overview Use of Tables goes beyond tabulating data Frequently used to format Web pages / control layout Especially.
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.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
XHTML1 Tables N100 Creating a Simple Web Page. XHTML2 Creating Basic Tables Tables are collections of rows and columns that you use to organize and display.
CIS 1315 – Web Development for Educators CIS 1315 HTML Tutorial 5: Working 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 11 Tables. How Are Tables Used Data Display  Very tidy and very useful Better Text Alignment  Putting text in tables allows you to format indents.
INTRODUCTORY Tutorial 7 Creating Tables. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Discern the difference between data tables and.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Lecture: Tables. Table Tags (all container tags) establishes a table (________) establishes a row (________) says what’s in the row more than one TD within.
225 City Avenue, Suite 106 Bala Cynwyd, PA , phone , fax presents… HTML Lists, Tables and Forms v2.0.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
>> Introduction to HTML: Tables. HTML is used to give websites structure 5 Basic Tags Element = Start-Tag+Content+End-Tag Heading Tags [h1-h6] Paragraph.
Web Technologies COMP6115 Session 2: Planning, Designing, Constructing and Testing Static Web Sites Dr. Paul Walcott Department of Computer Science, Mathematics.
HTML B OOT C AMP Chapter 10 Tables Kirkwood Continuing Education © Copyright 2015, Fred McClurg All Rights Reserved.
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.
Department of Information Technology Chapter 9 – Creating Tables Lecturer: Ms Melinda Chung.
IS1824: Introduction to Internet Multimedia Lecture 5: Layout in HTML Rob Gleasure
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
CS101 Introduction to Computing Lecture HTML Lists and Tables (Web Development Lecture 3)
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
ECA 228 Internet/Intranet Design I Tables. ECA 228 Internet/Intranet Design I Basic HTML Tables Created as a way to present rows and clumns of data.
Tables in HTML. Table Tag HTML tables always begin and end with a table tag. Syntax:
Lesson 7. Tables Table Tags and Attributes Tables HTML tables are used in two main ways: 1.To organize tabular data in a familiar spreadsheet-like way.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 5: Working with Tables Kelly L.
CS-3432 Electronic Commerce Lecture – 7 Sikandar Shujah Toor
CIS234A Lecture 8 Instructor Greg D’Andrea. Review Text Table contains only text, evenly spaced on the Web page in rows and columns uses only standard.
Unit 4 Create and Use Tables. TITLE CORNELL NOTES TOPIC: NOTES: Name: Date: 09/08/2009 Period : Summary: Reasons for using tables Unit 4 Page 1 Display.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
How To Create HTML Tables. Table Structure General HTML code for a Web Table: table cells table cells.
Using Tables for Layout INP150 Session #8. Layout Map out your page Design with paper and pencil Determine number of rows and columns you need Determine.
20-753: Fundamentals of Web Programming 1 Lecture 6: Advanced HTML Fundamentals of Web Programming Lecture 6: Advanced HTML.
Assistant Professor,UCER Naini,Allahabad
Copyright © 2012 Certification Partners, LLC -- All Rights Reserved Lesson 5: HTML Tables.
INT222 – Internet Fundamentals
1 Mansoor Ahmed Bughio. 2 HTML TABLES With HTML you can create tables. Examples Tables This example demonstrates how to create tables in an HTML document.
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Working with Tables: Module A: Table Basics
Elements of HTML Web Design – Sec 3-2
>> HTML: Tables.
LAB Work 02 MBA 61062: E-Commerce
HTML Tables CS 1150 Spring 2017.
HTML Tables.
Programming the Web using XHTML and JavaScript
Introduction to HTML.
The Internet 10/25/11 XHTML Tables
Computers and Scientific Thinking David Reed, Creighton University
Using HTML Tables SWBAT: - create tables using HTML
TABLES.
Introduction to XHTML Cont:.
Site Development Foundations Lesson 6
Lesson 5: HTML Tables.
Presentation transcript:

©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements

©SoftMoore ConsultingSlide 2 Headings h1 to h6 Title Chapter Section Attribute: align –legal values: left, right, center, justify

©SoftMoore ConsultingSlide 3 Examples: Headings Title Chapter Section

©SoftMoore ConsultingSlide 4 Paragraphs Basic paragraphs:... –attribute: align Preformatted paragraphs:... –preserves white space –often used for code, but still requires entities (e.g., < ) Quotations:... –usually indented both left and right Addresses:... –supplies author contact information –usually rendered in italics –usually placed at top or bottom of document

©SoftMoore ConsultingSlide 5 Examples: Paragraphs basic paragraph with enough words to show wrapping preformatted paragraph with two lines and the last line indented three spaces blockquote paragraph with enough words to show wrapping and indentation

©SoftMoore ConsultingSlide 6 Lists Ordered (numbered) lists:... –attribute: type values: 1, A, a, I, i –attribute: start starting value for numbering Unordered (bulleted) lists:... –attribute: type values: disc, circle, square List item:... –specifies a single entry within a numbered or bulleted list Definition lists:... –defined term:... –definition:...

©SoftMoore ConsultingSlide 7 Examples: Ordered Lists item one item two item three item one item two item three

©SoftMoore ConsultingSlide 8 Examples: Unordered Lists item one item two item three item one item two item three

©SoftMoore ConsultingSlide 9 Example: Definition List term one definition for term one term two definition for term two term three definition for term three

©SoftMoore ConsultingSlide 10 Example: Nested Lists Programming Languages Java object-oriented portable C++ object-oriented fast

©SoftMoore ConsultingSlide 11 Overview of Tables Format data in columns and rows Used for –traditional tables –layout control Cells can contain –simple text –images –paragraphs –other tables

©SoftMoore ConsultingSlide 12 Basic Table Structure A table must be enclosed in... tags. An optional caption may be included using... tags. Within the table,... tags are used to designate rows. Individual table cells –use... for header cells (default: center, bold) –use... for data cells.

©SoftMoore ConsultingSlide 13 Tables HTML element: table Defines a 2-dimensional table (rows and columns) Common attributes –align : the horizontal alignment of the table as a whole –border : the width of the border in pixels –cellspacing : the space, in pixels, between adjacent cells –cellpadding : the empty space, in pixels, between the cell border and the cell text (i.e., the internal cell margin) –width : the width of the table, either in pixels or in a percentage of the current browser window –bgcolor : the background color for the table as a whole

©SoftMoore ConsultingSlide 14 Table Rows HTML Element: tr Common attributes –align : horizontal alignment for the table row values left, center, right –valign : vertical alignment for the table row values top, middle, bottom, baseline –bgcolor : background color for the table row

©SoftMoore ConsultingSlide 15 Table Headings and Cell Data HTML Elements: th and td Common attributes –align and valign : similar to row attributes –bgcolor : the cell background color –colspan : causes the cell to span multiple columns –rowspan : causes the cell to span multiple rows –nowrap : suppresses word wrapping within a cell –width and height : the cell width and height in pixels

©SoftMoore ConsultingSlide 16 Table Captions HTML Element: caption Attribute –align : specifies alignment of caption with table –values: top, bottom –default is top Centered (left-to-right) with the table Must be defined inside the table tags Can contain valid HTML tags Will not cause table width to increase

©SoftMoore ConsultingSlide 17 Example: Table Soup of the Day Monday Tuesday Wednesday Thursday Friday Split Pea Minestrone French Onion New England Clam Chowder Cream of Broccoli

©SoftMoore ConsultingSlide 18 Example: Table (continued)

©SoftMoore ConsultingSlide 19 Horizontal Rules HTML element: hr Provides a horizontal rule (line) across the browser window Common attributes: –align : horizontal alignment values: left, center, right –width : the width in pixels –size : the thickness in pixels –noshade : tell browser to use a solid color

©SoftMoore ConsultingSlide 20 Examples: Horizontal Rules some text between horizontal rules

©SoftMoore ConsultingSlide 21 Divisions HTML Element: div Divides document into separate, distinct sections Often used with style sheets Attribute: –align –values: left, center, right

Centering Content HTML Element: Shorthand for Center elements horizontally Can use CSS style declaration instead ©SoftMoore ConsultingSlide 22

©SoftMoore ConsultingSlide 23 Example: Centering Content uncentered text centered text more uncentered text more centered text

©SoftMoore ConsultingSlide 24 Example: Centering Content with CSS p { text-align: center; }.centered { text-align: center; }... uncentered text centered text more uncentered text more centered text Same layout as previous slide.