CGS 3175: Internet Applications (In-class Practice) Page 1 © Mark Llewellyn CGS 3175: Internet Applications Fall 2008 CSS In-class Practice School of Electrical.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets Alternative to HTML tag style.
Advertisements

Copyright © 2003 Pearson Education, Inc. Slide 3-1 Created by Cheryl M. Hughes The Web Wizards Guide to XML by Cheryl M. Hughes.
Cascading Style Sheets
1 © Netskills Quality Internet Training, University of Newcastle Introducing Cascading Style Sheets © Netskills, Quality Internet.
HTML Introduction CS 1020 – Lego Robot Design. Building Websites HTML (HyperText Markup Language)  The dominate language of the internet  Describes.
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
MARIA MARAGOUDAKIS Part A-Planning Report.
CIS 4004: Web Based Information Technology Spring 2013
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
CSS Styling CSS Box Model & CS110: Computer Science and the Internet.
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Web Engineering 1 Ishaq Khan Shinwari MCS City University Peshawar.
Cascading Style Sheets
CSS The basics { }. CSS Cascading Style Sheets - language used to – describe html appearance & formatting Style Sheet - file that describes – how html.
Cascading Style Sheets (CSS) “Styles” for short. Pg. 418.
Cascading Style Sheets
Today CSS HTML A project.
CHAPTER 7 STYLING CONTENT WITH CASCADING STYLE SHEETS.
Part 2 Introduction to CSS. CSS Syntax – class selector 1 With the class selector you can define different styles for the same type of HTML element. You.
- Relative and Absolute URLs -HTML and CSS Validation -Caches -3 ways of adding style -Firebug CS110: Computer Science and the Internet.
Introduction to CSS.
CSS Link Styling. The Anchor Element: Link text between the opening and closing can be styled using CSS. Some of the properties that can be set are: font-family,
Session 4: CSS Positioning Fall 2006 LIS Web Team.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
Unit 20 - Client Side Customisation of Web Pages
CGS 3175: Internet Applications (CSS – Page Layout) Page 1 © Mark Llewellyn CGS 3175: Internet Applications Fall 2008 Cascading Style Sheets – Page Layout.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
XHTML and CSS Overview. Hypertext Markup Language A set of markup tags and associated syntax rules Unlike a programming language, you cannot describe.
Lecture 13. A Very Brief Introduction to HTML and XHTML, part II Instructor: Jie Yang Department of Computer Science University of Massachusetts Lowell.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
TECH2018 Multimedia and the Internet More about CSS and Page Layouts.
Web Design Dreamweaver Semester 2 ATBs. ATB #1 What is a web site?
Web Technologies COMP6115 Session 2: Planning, Designing, Constructing and Testing Static Web Sites Dr. Paul Walcott Department of Computer Science, Mathematics.
STYLING THE WEBSITE - EXTERNAL CSS BY JORGE MARTINEZ.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
XHTML/CSS Week 3. This Week  Quiz to revise last week (XHTML and DW)  CSS - Part 2  Using HTML Tables.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
CS134 Web Design & Development Cascading Style Sheets (CSS) Mehmud Abliz.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
Louisa Lambregts, Louisa Lambregts
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
Cascading Style Sheets I Embedded Style Sheets. Page Design ICSS 2Instructor: Sean Griffin What is a Style Sheet? A style sheet is a text file that contains.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Introduction To Computing Lab #8 Instructor: Kavya Venkatesh IT 104, Section: 203.
Cascading Style Sheets (CSS). Learning Objectives To develop an understanding of how CSS can enhance the design of a webpage To create and apply CSS styling.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
Cascading Style Sheets (CSS) Internal Style Sheets Classes
>> Introduction to CSS
CSS Box Model <span> & <div>
HTML Formatting.
Intro to CSS CS 1150 Fall 2016.
Web Authoring Task 8– Create the following Style Sheet:
Intro to CSS CS 1150 Spring 2017.
The Web Wizard’s Guide To DHTML and CSS
MLA Set Up Using Microsoft Word.
Computers and Scientific Thinking David Reed, Creighton University
Stylin’ with CSS.
Introduction to Cascading Style Sheets (CSS)
Align The Stars Continue.
CSS: Cascading Style Sheets
Web Design and Development
What Color is it?.
Lesson 2: Make a Quiz Unit 1: Formatting Lists,
Creating your own Styles
Stylin’ with CSS.
Stylin’ with CSS.
Presentation transcript:

CGS 3175: Internet Applications (In-class Practice) Page 1 © Mark Llewellyn CGS 3175: Internet Applications Fall 2008 CSS In-class Practice School of Electrical Engineering and Computer Science University of Central Florida Instructor : Dr. Mark Llewellyn HEC 236,

CGS 3175: Internet Applications (In-class Practice) Page 2 © Mark Llewellyn Web Page Layout Header – Level 1 Paragraph of text. Header – Level 2 Ordered list with 5 elements. Header – Level 2 Unordered list with 3 elements. Header – Level 2 Paragraph of text.

CGS 3175: Internet Applications (In-class Practice) Page 3 © Mark Llewellyn Web Page Layout With Desired Styles Header – Level 1 Paragraph of text. Header – Level 2 Ordered list with 5 elements. Header – Level 2 Unordered list with 3 elements. Header – Level 2 Paragraph of text. Blue text. Centered on page. font size 14 pt. Red text. Left justified. List elements in purple. 12pt font size List elements in green. Font size 12 pt. Orange text.

CGS 3175: Internet Applications (In-class Practice) Page 4 © Mark Llewellyn Initial XHTML – without any styling <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " CSS In-class Practice Problem 2008 Softball Season This is an Olympic year for softball, so the Beijing Games are dominating the international softball season. The US National Team is about to begin a national tour in which they will play many different training games around the country. They will play the UCF softball team on February 29th. Some Members of the 2008 US Women's National Softball Team Jeanne Finch Cat Osterman Jessica Mendosa Natasha Watley Stacey Neuvman Some Teams the National Team will play UCF Arizona DePaul Bound For Beijing Tour The Bound for Beijing Tour (B4B Tour) will canvas more than 25 states in the US. In June, the US team will meet both China and Mexico in training games in Oklahoma City. ESPN will televise several of these games.

CGS 3175: Internet Applications (In-class Practice) Page 5 © Mark Llewellyn Initial XHTML Rendering

CGS 3175: Internet Applications (In-class Practice) Page 6 © Mark Llewellyn Creating the CSS /* CSS for CSS In-class Practice */ /* define the h1 element */ h1 { color:blue; text-align: center; } /* define the h2 element */ h2 { color: red; text-align:left; } /* define paragraph element */ p { font-size: 14pt; } /* define list elements */ li {color:purple; font-size: 12pt; } Don’t forget to validate the CSS

CGS 3175: Internet Applications (In-class Practice) Page 7 © Mark Llewellyn Modify the Initial XHTML to include linked style sheet <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " CSS In-class Practice Problem 2008 Softball Season This is an Olympic year for softball, so the Beijing Games are dominating the international softball season. The US National Team is about to begin a national tour in which they will play many different training games around the country. They will play the UCF softball team on February 29th. Some Members of the 2008 US Women's National Softball Team Jeanne Finch Cat Osterman Jessica Mendosa Natasha Watley Stacey Neuvman Some Teams the National Team will play UCF Arizona DePaul Bound For Beijing Tour The Bound for Beijing Tour (B4B Tour) will canvas more than 25 states in the US. In June, the US team will meet both China and Mexico in training games in Oklahoma City. ESPN will televise several of these games. Add the link element for the linked style sheet.

CGS 3175: Internet Applications (In-class Practice) Page 8 © Mark Llewellyn Rendering Using CSS Is this what we wanted?

CGS 3175: Internet Applications (In-class Practice) Page 9 © Mark Llewellyn Modify the CSS /* CSS for CSS In-class Practice */ /* define the h1 element */ h1 { color:blue; text-align: center; } /* define the h2 element */ h2 { color: red; text-align:left; } /* define paragraph element */ p { font-size: 14pt; } /* define list elements */ li {color:purple; font-size: 12pt; } /* define class for green list elements */ li.green {color:green; font-size: 12pt; } /* define class for orange text */.orange {color:orange; } /* define 12 pt font class */.twelvept {font-size:12pt; }

CGS 3175: Internet Applications (In-class Practice) Page 10 © Mark Llewellyn Modify the XHTML to include style changes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " CSS In-class Practice Problem 2008 Softball Season This is an Olympic year for softball, so the Beijing Games are dominating the international softball season. The US National Team is about to begin a national tour in which they will play many different training games around the country. They will play the UCF softball team on February 29th. Some Members of the 2008 US Women's National Softball Team Jeanne Finch Cat Osterman Jessica Mendosa Natasha Watley Stacey Neuvman Some Teams the National Team will play UCF Arizona DePaul Bound For Beijing Tour The Bound for Beijing Tour (B4B Tour) will canvas more than 25 states in the US. In June, the US team will meet both China and Mexico in training games in Oklahoma City. ESPN will televise several of these games.

CGS 3175: Internet Applications (In-class Practice) Page 11 © Mark Llewellyn Final Rendering