Class two: HTML comments, tables and lists, outline elements, intro to CSS, backgrounds and font formatting.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Class one: intro to HTML, HTML page structure, text, images, and links.
Cascading Style Sheets
CSS Digital Media: Communication and design 2007.
Cascading Style Sheets
HTML Overview - Cascading Style Sheets (CSS). Before We Begin Make a copy of one of your HTML file you have previously created Make a copy of one of your.
Introducing CSS CIS 133 mashup Javascript, jQuery and XML 1.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
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.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา 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.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
CS428 Web Engineering Lecture 06 Introduction (Cascading Style Sheet) 1.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
CSS Basics LIS Webteam April 8, Why CSS? What’s wrong with HTML? Structure vs Style Early web design used hacks to style webpages with HTML – like.
The.htm/.html Mystery When saving the template files in Internet Explorer, they will be named.htm by default. To be consistent with how the code was written.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
CM143 Week 4 Introducing CSS. Cascading Style Sheets A definition for the style in which an element of the webpage will be displayed Border width, colour,
CSS Style Rules Guang Tong, Zhan L;lo’p[ Css Style Rule Guang Tong Zhan Three ways to insert CSS 1 External style sheet 2 Internal style sheet 3 Inline.
Cascading Style Sheets (CSS) 1.  What is CSS?  Why CSS?  How to write a CSS? 2.
Week 4.  Three ways to apply CSS: Inline CSS Internal style sheets ( header style information) External style sheets.
The Characteristics of CSS
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Web Foundations TUESDAY, OCTOBER 1, 2013 LECTURE 4: HTML COLOR CODES, INTRO TO CSS STYLES.
Css. Definition Cascading style sheet (CSS) Cascading Style Sheets (CSS) is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
INTRODUCTION TO CSS. OBJECTIVES: D EFINE WHAT CSS IS. K NOW THE HISTORY OF CSS. K NOW THE REASON WHY CSS IS USED. CSS SYNTAX. CSS ID AND CLASS.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
CSS Basic (cascading style sheets)
Cascading Style Sheets (CSS). CSS: A New Philosophy Separate content from presentation! Title Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
WRT235: Writing in Electronic Environments Basic CSS.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
Cascade Style Sheet Introduction. What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles were added.
Css. Definition Cascading style sheet (CSS)  It is a simple mechanism for adding style (e.g. fonts, colors, spacing) to Web documents.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
DIV, Span, CSS.
Cascading Style Sheets Level 2. Course Objectives, Session 1 Level 1 Quick Review Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your.
Cascading Style Sheets
Cascading Style Sheets CSS. Source W3Schools
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
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.
Designing Web Pages The case for CSS. The Power of CSS css Zen Garden
Intro to CSS Christy. What is CSS?  Cascading Style Sheets  Separates content from presentation  Defines how to display HTML elements  Provides control.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
Css lectures. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
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.
WEB FOUNDATIONS CSS Overview. Outline  What is CSS  What does it do  Where are styles stored  Why use them  What is the cascade effect  CSS Syntax.
Introduction to CSS: Selectors
Cascading Style Sheet.
Getting Started with CSS
4.01 Cascading Style Sheets
>> Introduction to CSS
Cascading Style Sheets
Intro to CSS CS 1150 Fall 2016.
CASCADING STYLE SHEET CSS.
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Website Design 3
Cascading Style Sheets - Building a stylesheet
Intro to CSS CS 1150 Spring 2017.
Intro to CSS Mr. Singh.
Cascading Style Sheets (Introduction)
Cascading Style Sheets (Introduction)
What are Cascading Stylesheets (CSS)?
Cascading Style Sheets - Building a stylesheet
4.01 Cascading Style Sheets
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

class two: HTML comments, tables and lists, outline elements, intro to CSS, backgrounds and font formatting

Hours Monday 5 PM – 9 PM Tuesday 6 AM – 9 PM …….etc…….. NOTE: You can add the border attribute to see the lines of the table.

Hours Monday 5 PM – 9 PM

Home About Us Menu Directions

There are three ways to make reservations: Call us at (000) Reserve online through Opentable Send a messenger pigeon

The definitions of these terms are: Astronaut: someone who goes to space. Ice Cream: a delicious food made of cream and sugar. Puppies: tiny dogs.

Home About Us Menu Directions

Sam & Sally's Cafe ©2012 Sam &Sally's Cafe | Home | About Us | Menu | Directions

Great food & great times This is a paragraph welcoming the visitor to come check out the cafe. Lorem ipsum …. felis pulvinar ligula gravida sodales.

Used when content could stand alone – like in a blog. The Latest News Our Summer menu is in full swing Sam & was started in 2012 with one purpose…. In sodales felis pulvinar ligula gravida sodales. Sam & Sally's named Best of Denver! Lorem ipsum dolor sit amet, …eu quando pertinax reprimique est. Try out our new patio Et accumsan constituam eos, sea albucius percipit.

Welcome to Sam & Sally's Cafe!

 Cascading Style Sheets  Deals with formatting only – content is HTML Writing HTML becomes simpler Updating multiple pages becomes much easier

 Each statement is called a rule.  A rule consists of a selector and a declaration.  A declaration consists of a property and a value. So you get: selector {property: value;}

 A specific element: make CSS selector same as HTML element name (p, body, etc.)  One item: use HTML attribute id and CSS #selector  A group of elements: use HTML attribute class and CSS.selector  Can list more than one selector for a rule, separated by commas (h1, h2, h3)  A nested element (nav ul li a)

Inline: Use style attribute in an element, within HTML document: This is a paragraph.

Internal Style Sheet Use element in element of HTML document: hr {color:sienna;} p {margin-left:20px;} body {background- image:url("images/back40.gif");}

External Style Sheet Attach CSS file using element in element of HTML document

browser default  external style sheet  internal style sheet  inline style Whatever is more specific will win.

background-color  Name (red)  RGB (rgb(255,0,0))  Hex (#ff0000) try it: body { background-color: #F1F2E4; }