COS 125 DAY 13.

Slides:



Advertisements
Similar presentations
LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties-- List properties –Table properties-- Classification properties.
Advertisements

LIS650 lecture 4 Thomas Krichel today Advice CSS Properties –Box properties –List properties –Classification properties Fun with selectors.
Tutorial 3: Designing a Web Page with CSS
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.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
Client-Side Internet and Web Programming
Part 3 Introduction to CSS. CSS Text Text Styles h1 {color: green} // rgb(0,255,0), #00ff00 h2{letter-spacing: 0.5cm} // 2px h3 {text-align: right} //
Tutorial 4 Formatting Text. XP New Perspectives on Blended HTML, XHTML, and CSS2 Objectives Create a spread heading Indent text Change the line spacing.
COS 125 DAY 21. Agenda  Assignment 6 due  Assignment 7 is posted Assignment 7 Due April 2PM  Left to do 1 Assignments (8 total)  Due May 2 3.
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.
Cascading Style Sheets 1. About Lists HTML list code ul, ol, dldl CSS list-item style properties
COS 125 DAY 23. Agenda Assignment #6 Graded 8 A’s, 4 B’s and 1 D Biggest Problem area was layout Assignment #7 Posted Due April 20 Two (one?) more to.
COS 125 DAY 20.
SSome HTML tags allow you to specify a variety of options, or attributes, along with the basic tag itself. For example, when you begin a paragraph with.
Session: 3. © Aptech Ltd. 2Formatting Text using Tags / Session 3  Explain the Heading tag  Explain the different tags related to formatting  Explain.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
WDV 101 Intro to Website Development
INTRODUCTION TO HTML5 Styling Text. Change the Font Size  You can use the font-size property to change the font size for a document’s text.  Instead.
Tutorial #4 Formatting Text and Links. Tutorial #3 Review - CSS CSS format Selector { property1: value1; /* Comments */ } Embedded, In-Line, and External.
1 Web Development Lecture # 11 Introduction to XHTML (Chapter # 4) It.GulGasht.Com.
HTML Boot Camp: Formatted Lists
CSS-Lists CSS provides special properties that are designed for lists. It is usually more convenient to use these properties whenever you can. To specify.
INTRODUCTORY Tutorial 4 Exploring Graphic Elements and Images.
CSS Class 2 -Add margins to elements on a page. -Set width and height of elements. - CSS shorthand properties for box model. -Style links. -Style tables.
Agenda Lists Purpose Types of Lists: Unordered Ordered Definition.
COS 125 DAY 15. Agenda  Assignment 6 Not corrected yet  Web Server login issues  Assignment 7 Posted Due March 9:35 AM  Quiz 2 will be on March.
The Complete Reference OMT II Mam Saima Gul. * Modern HTML has three basic forms of lists: ordered lists ( ), unordered lists ( ), and definition lists.
IS1825 Multimedia Development for Internet Applications Lecture 12: IDs, Classes and Internal CSS Rob Gleasure
COS 125 DAY 14. Agenda  Assignment 6 DUE  Assignment 7 Posted Due March 9:35 AM  Quiz 2 will be on March 30 Chapters M/C and 4 Short.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
LEARN THE QUICK AND EASY WAY! VISUAL QUICKSTART GUIDE HTML and CSS 8th Edition Chapter 15: Lists.
Unordered Lists Need to make a list of items that aren't numbered? You need.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 4 Formatting Text and Links.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
CSE 102 Introduction to Web Design and Programming
UNORDERED LISTS By J.R. Basham.
Tutorial 1 – Creating Web Pages With HTML
Client-Side Internet and Web Programming
LAB Work 01 MBA 61062: E-Commerce
More CSS & HTML, Positioning, Images
Organizing Content with Lists and Tables
Introduction to the Internet
Web Development & Design Foundations with HTML5 7th Edition
Session 5: HTML J 0394 – Perancangan Situs Web Program Studi Manajemen
Cascading Style Sheets (Formatting)
Programming the Web using XHTML and JavaScript
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Lists in HTML PowerPoint How to create lists in HTML
Text Elements.
Ordered & Unordered Lists in HTML
HTML Lists CS 1150 Fall 2016.
Chapter 6 Lists.
LISTS.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Client-Side Internet and Web Programming
Fundamentals of Web Programming
Web Design & Development
The Internet 10/25/11 XHTML Tables
TABLES, LISTS & IMAGES.  Tables are defined with tag.  Table is divided into rows and columns.  Table must have at least one row and one column  Table.
Text Elements.
COS 125 DAY 23.
Text Elements.
List Properties Box Properties Pseudoclass
HTML Lists CS 1150 Spring 2017.
Formatted Lists Unordered Lists Usage of Unordered List Ordered Lists
Text Elements.
The Internet 10/27/11 XHTML Forms
LISTS.
Text Elements.
Presentation transcript:

COS 125 DAY 13

Agenda New course time line Assignment 6 posted Assignment 7 Posted Due March 23 @ 9:35 AM Assignment 7 Posted Due March 30 @ 9:35 AM Quiz 2 will be on March 30 Chapters 7 - 15 20 M/C and 4 Short essays New course time line Lecture/Discuss Lists (with CSS)

New time line March 19 Lists 23 Assignment 6 due Tables part 1 26 30 Assignment 7 due Quiz 2 April 2 Forms part1 Progress report 6 Forms part 2 9 Assignment 8 due Multimedia 13 Scripts Part 1 16 Assignment 9 due Scripts part 2 20 PodCasting Progress report 23 Assignment 10 due Quiz 3 27 Capstones Presentations Due

List Overview Creating Ordered and Unordered Lists Choosing Your Markers (Bullets) Choosing Where to Start List Numbering Using Custom Markers Controlling Where Markers Hang Setting All List-Style Properties at Once Creating Definition Lists Styling Nested Lists

LISTS Ordered Unordered Definitions 3 Types Numbered Unordered Bullets Definitions Like a dictionary Examples of everything in this lecture available at http://perleybrook.umfk.maine.edu/classes/cos125/HTML6ed_examples/localindex.html#c15

Creating Ordered and Unordered Lists Type <ol> for ordered list or <ul> for unordered list Type <li> to begin every item of the list followed by </li> Repeat step above for every item Type </ol> or </ul> to complete list Default for ordered list 1,2,3,4 Default for unordered list is ●

Lists Unordered <ul> Ordered <ol> Item 1 Item 1 Item 2 http://perleybrook.umfk.maine.edu/classes/cos125/HTML6ed_examples/listwithcss.htm

Creating Ordered and Unordered Lists You can nest lists (one inside another) <ul> <li> <ol><li></li></ol> </li> </ul> You cannot put text between opening tag (<ol> or <ul>) and first item <li> Lists are automatically indented from left margin

Choosing your Markers Examples Works for both ordered and unordered lists Create a style rule for <li> li {list-style-type:“marker”;} Marker can be For Unordered lists disc ● circle ○ square ■ For Ordered Lists decimal 1,2,3,4 upper-alpha A,B,C,D lower-alpha a,b,c,d upper-roman I,II,III,IV lower-roman i,ii,iii,iv Examples ul li {list-style-type:circle;} ol li {list-style-type:lower-roman;} Correction to text: unless you specify context (ol or ul) style for li will apply both ordered and unordered lists

Choosing Where to start List Numbering You can modify the numbering of your lists To start on a number other than one <ol start=“3”> To change number “mid-stream” <li value=“5”>

Using Custom markers You can use any image as a marker Should be less than 15X15 pixels Create a style rule li {list-style-image:url(image.gif);} Use absolute URL for image Can use with list-style-type property Overrides list-style-type property

Controlling Where Markers Hang By default markers are indent from left and list item indent a bit further Can be modified by style rule li{list-style-postion:inside} Cause text for the item list to indent at same level as marker on subsequent lines Default is outside

Outside Inside

Setting All List Properties at Once li{list-style: image then position then type} li{list-style:url(arrow.gif) inside square;} Any item not set is set to default setting type default is disc image default is none position default is outside

Creating a definition list Type <dl> Type <dt> and word or phrase to be fined followed by </dt> Type <dd> and definition for word or phrase followed by </dd> Type </dl>

Styling Nested Lists ol li{rules} Second level Using nested lists and style rules you can create “outlines” just like on your word processor First level Style rules ol li{rules} Second level ol ol li{rules} Third level ol ol ol li{rules} Forth level ol ol ol ol li{rules}

Rest of Class is help session Get started on assignment 6 and/or assignment 7