HTML cont’d Keywords and Tables

Slides:



Advertisements
Similar presentations
LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties –List properties –Classification properties Fun with selectors.
Advertisements

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.
Chapter 3 – Web Design Tables & Page Layout
Tutorial 5 Working with Web Tables
Table (TABLE) Contains TABLE ROWS (TR) Contains TABLE DATA (TD) Data can contain anything Text Lists Other tables Pictures …
Cascading Style Sheets
HTML/XML XHTML Authoring. Creating Tables  Table: An arrangement of horizontal rows and vertical columns. The intersection of a row and a column is called.
Creating Tables Text Tables -created by using preformatted tags. Graphical Tables - created using Table Structure with HTML.
Unit 2, cont. September 14 HTML,Validating your pages, Publishing your site.
Introducing Web 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. 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.
Remember, HTML is all about the meaning of your content Most HTML tags have built-in formatting that apply “meaning” to them and format their content.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Tutorial #8 – Creating Data Tables. Tutorial #6 Review – Layouts Two Column Fixed Width, Three Column Fixed Width Class VS. ID Container Universal Selector.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
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.
HTML & CSS A brief introduction. OUTLINE 1.What is HTML? 2.What is CSS? 3.How are they used together? 4.Troubleshooting/Common problems 5.More resources.
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.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
>> 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.
Creating Webpage Using HTML
Copyright 2007, Information Builders. Slide 1 Understanding Basic HTML Amanda Regan Technical Director June, 2008.
Tables 23 rd February. What XHTML have we done so far? Hyperlinks & anchors - XHTML supports 3 types of lists:  Ordered – +  Unordered – +  Definition.
Html Tables Basic Table Markup. How Tables are Used For Data Display Tables were originally designed to display and organize tabular data (charts, statistics,
Introducing Web Tables. Tables for tabulating items  Better looking  More flexibility  More efficient to explain information than plain text.
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.
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.
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.
Computer Science 101 Lists and Tables. Lists Unordered lists - use a bullet Ordered lists - use a number, Roman numeral, or letter.
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.
HTML Tables The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. - into.
11/12/2015 Box Model Reed Crouch. 11/12/2015  HTML elements can be considered as boxes. In CSS, the term "box model" is used when referring to layout.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
Tables creating a table within a web page. What makes up a table? Columns Rows.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 5.
CSS Layout Cascading Style Sheets. Lesson Overview  In this lesson, we’ll cover:  Brief CSS review  Creating sections with the tag  Creating inline.
Tutorial 5 Working with Web Tables. New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition 2 Objectives Learn and Apply the structure of.
HTML Help book. HTML HTML is the programming language used to make web pages for the Internet. HTML stands for Hyper Text Markup Language. HTML is made.
INTRODUCTION ABOUT DIV Most websites have put their content in multiple columns. Multiple columns are created by using or elements. The div element is.
HTML.
More HTML and CSS Basic Layout with Styles
Tutorial 5 Working with Web Tables
CIIT-Human Computer Interaction-CSC456-Fall-2015-Mr
Organizing Content with Lists and Tables
CSS Layouts: Grouping Elements
>> HTML: Tables.
Web Development & Design Foundations with HTML5 8th Edition
HTML Tables CS 1150 Spring 2017.
HTML Tables.
Putting Things Where We Want Them
How to work with tables Chapter 10.
Chapter 7 Tables.
Tutorial 5 Working with Web Tables
The Internet 10/25/11 XHTML Tables
MORE Cascading Style Sheets (The Positioning Model)
TABLES.
TABLES IN HTML No, not that kind of table!! THIS KIND!!
Web Design and Development
Web Development & Design Foundations with H T M L 5
Floating and Positioning
Principles of Web Design 5th Edition
Lesson 5: HTML Tables.
Hypertext Markup Language Table 11th Lecture
Basics of Web Design Chapter 9 Table Basics Key Concepts
Presentation transcript:

HTML cont’d Keywords and Tables Many thanks to Ron Vullo, for original content from Molly slides.

What’s in Your <head>? <title> Provides a concise description of the page and its purpose <meta> Metadata: “data about data” Not rendered by the browser, but still used in other ways Tells us the language/character set to render in Tells us information about the program we used to write the HTML Also provides keywords used for search engines to index the page <meta name=“keywords" content=”words, here, that, describe, content, for, search, engines" /> Though, Google doesn’t use these any more… Discuss, perhaps demo, the addition of metadata keywords. Each keyword is in quotes, separated by commas. Now, Google ignores keywords and analyzes body text. In particular, it checks for real sentences and grammar and stuff, so that simple page bots don’t get tons of ads. Domain parking and hosting services now do “domain name optimization” whereby they have someone write 400-1000 words to make pages look more real.

CSS and HTML These two languages need to work together. We’ve seen some of this already, but to work with them we need to know a little more about how CSS “sees” HTML. Everything in HTML/CSS is a “box”

The Box Model CSS treats your web page as if every element (<p>, <div>, <span> …) is enclosed in an invisible box. CSS allows you to change a large number of the properties of this box, such as its border, color, position, flow, etc. to achieve the look and feel you are striving for.

Properties of the “Box” we can set background-color background-image border Width height margin padding position and related properties top: right: bottom: left: Image from Ron Vullo’s Molly slides (http://molly.rit.edu/modules/aux/slides/showslides.maml?t_HeaderText=Introduction%20to%20Multimedia&t_LectureID=72#)

Margin vs. Padding Margin adds space “outside of the box” Padding adds space “inside of the box”

Tables What are they good for? Many thanks to Ron Vullo, for original content from Molly slides.

Tables Remember, the Web was originally a scientific collaboration experiment. So a lot of data was being shared. Tables were created for tabular data. Used for layout (not very well) until CSS-P. You might demo tables here, but there’s a place for it with slide 6

Tables Table Rows Cells Header cell <table> </table> <tr> </tr> Cells <td> </td> Can span columns with colspan, and rows with rowspan Header cell <th> </th> Draw a small table on the board to illustrate colspan and rowspan

Table Properties Tables share a lot of properties of “the box.” padding, border, colors, etc.

Tables: What Are They Good For? Tabular data! NOT layout! Lots of WYSIWYG programs used, or still use, tables for layout. Dreamweaver MX used tables for layout. Take the students to Amazon.com. Do a View Source and scroll down. The page is actually laid out using tables! Argh!

Tables Demo Let’s do it!