ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.

Slides:



Advertisements
Similar presentations
Cascading Style Sheets
Advertisements

/k/k 1212 Cascading Style Sheets Part one Marko Boon
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
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.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
Cascading Style Sheet CSS CS1520 Ali Alanjawi. 2 TA Information Ali Alanjawi Homepage: Office:
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} //
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Introduction to Cascading Style Sheets (CSS) Module 2: HTML Basics LESSON 4.
1 CSS Styling with Fonts and Colors. 2 CSS Cascading Style Sheets and fonts CSS provides Style or Presentation options for our html pages CSS properties.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Using Cascading Style Sheets CSS Structure. Goals Understand how contextual, class and ID selectors work Understand how contextual, class and ID selectors.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Cascaded Style Sheets Implementing web pages using only html/xhtml is tedious and awkward With CSS, you can design a component to be used in a web page.
HTML - Quiz #2 Attendance CODE:
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Today’s objectives  Complete web page  Using xhtml & CSS  Adding CSS to documents Embed url(File);  CSS.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
(CSS) More Details Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty of IT.
To Proudly supported by ferrycake.com. We will be printing Cash for your Community tokens every week in the Carmarthen Journal and Llanelli Star. The.
HTML, Third Edition--Illustrated Introductory 1 HTML, Third Edition Illustrated Introductory Unit E Formatting with Cascading Style Sheets.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
Using Cascading Style Sheet As you create more web pages, you may wish to impose a consistent look for all of your web pages or for group of related pages.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
XHTML/CSS Week 3. This Week  Quiz to revise last week (XHTML and DW)  CSS - Part 2  Using HTML Tables.
Cascading Style Sheets Chapter Four. What are they? A set of style rules that tell the web browser how to present a web page or document. Cascading Style.
CO1552 – Web Application Development Cascading Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Cascading Style Sheets (css) HTML and css 2012 Brian Davison.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
Cascading Style Sheets Class 2, Lecture 2 Rachel A Ober
HTML - Quiz #2 Attendance CODE:
Web Design and Development for Business Lecture 4 Cascading Style Sheet (CSS)
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
Cascading Style Sheets Robin Burke ECT 270. Outline Midterm The Layout Debate CSS properties Fonts Alignment Color CSS selection selectors pseudo-classes.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
OV Copyright © 2008 Element K Content LLC. All rights reserved.  Format Text  Format Lists  Format Images  Modify Page Background Applying Styles.
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.
CSS Hadas Kahsay. Overview  What is CSS  Basic syntax of CSS Rules  How to link CSS style to html documents  Browsers and CSS  Advantages of CSS.
Cascading Style Sheets Primary readings Presentations Explain & review projects with class mates.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
CSS Cascading Style Sheets *referenced from
Creating Layouts with CSS. Span tag Here is some underlined text. Here is some blinking text. Here's some bold text.
JavaScript and Ajax (JavaScript Dynamic HTML (DHTML)) Week 7 Web site:
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 3 Introducing Cascading Style Sheets.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
CSS Cascading Style Sheets. Session Checklist ► Learn why style sheets are needed and their advantages and disadvantages ► Learn the format of a style.
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 Robin Burke ECT 270. Outline CSS properties Fonts Alignment Color CSS selection selectors.
1 Cascading Style Sheets
CONFIGURING COLOR AND TEXT WITH CSS Chapter 3. Cascading Style Sheets (CSS) Used to configure text, color, and page layout. Launched in 1996 Developed.
WebD Introduction to CSS By Manik Rastogi.
CS3220 Web and Internet Programming CSS Basics
The Internet 10/11/11 Fonts and Colors
IS333: MULTI-TIER APPLICATION DEVELOPMENT
The Internet 10/13/11 The Box Model
CSS Style Sheets: Intro
Cascading Style Sheets Color and Font Properties
Tutorial 3 Working with Cascading Style Sheets
CS3220 Web and Internet Programming CSS Basics
CS3220 Web and Internet Programming CSS Basics
Presentation transcript:

ALBERT WAVERING BOBBY SENG

Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements

HTML User Input Elements  Checkboxes   Radio buttons   Text fields   Buttons  Go  Can be grouped into a ‘form’

HTML User Input: Forms First name: Last name: Password: Male Female Bike Car Submit

More HTML stuff  Headings ,,,,,  Used by search engines, etc to index page (use properly)  Horizontal rule (line)  

More HTML stuff  Anchors   Already saw use as links  Anchor certain places on a page: Contents …. Go to Contents

HTML Tables  table tag table row table cell … …

HTML Colors  Hexadecimal notation  #red green blue  Each color is expressed as a combination of its red, green, and blue components  Each component has a value from (o to FF in hexadecimal)  Black = #000000, White = #FFFFFF  Pure red = #FF0000, Pure green = #00FF00, Pure blue = #0000FF

HTML Colors  RGB notation  rgb(red,green,blue)  Integer values of components   Red = rgb(255,0,0), Blue = rgb(0,255,0)  Text notation  Blue, red, green, etc

Introduction to CSS  Cascading Style Sheets  CSS provides a way to apply formatting to certain HTML elements  Class- or element-based  A CSS file can be included on any HTML page  CSS lets you make changes to an entire site by editing just one file

Linking CSS to HTML  I have a file named style.css  To use this style sheet in my webpage:  That’s it! Your CSS will be applied to the elements in your page

Writing CSS  Plaintext  CSS applies properties to elements  Color  Alignment  Font styling (bold, underline, strikethrough)  Font family (Arial, etc)  Image size and location  Many other attributes!

CSS Usage  Selector  Declarations p{ color: red; text-align: center; }

CSS Usage [element] and/or [.class] or [#id]{ property: value; } (without the [ or ] characters)

CSS Usage  Selector nesting #navigation a{ style… }

Backgrounds and CSS  Common CSS background properties:  background-color:#  background-image:url('flowers.jpg')  Many different properties; check resources online to learn specifics body{ background-color:# }

Formatting Text with CSS  Commonly used properties:  color: (red, #0000FF, rgb(1,2,3)  text-decoration: (none, overline, underline)  text-align: (center, right, justify)  Fonts  Generic family: similar-looking fonts (Serif, Sans- serif, Monospace)  Font family: (Verdana, Times New Roman, etc)  font-family: “Times New Roman”  font-style: (normal, italic, oblique)

Formatting Text with CSS  Font size  font-size: (12px, 20px, 36px)  NOT INTERNET EXPLORER (yay standards)  For Internet Explorer:  ‘em’ unit equal to default text size  font-size:2em would be equal to double the normal text size

Formatting Links with CSS  Properties  linkunvisisted link  visistedvisited link  hovermouse over link  activeselected link  Can use text decoration, colors to assign values to these properties

Assignment  Edit your previous week’s homework!  Include at least three new elements discussed today  Write a separate style sheet file and include it in your HTML file to style your page  Use at least three CSS selectors to style your page  by midnight next Wednesday to