<head> <meta http-equiv= Content-Type content= text/html; charset=utf-8 /> <title>caprese Salad</title> </head>

Size: px
Start display at page:

Download "<head> <meta http-equiv= Content-Type content= text/html; charset=utf-8 /> <title>caprese Salad</title> </head>"

Transcription

1 HTML basics HTML source code HTML page in browser (without CSS styles) HTML describes the structure of pages. The pieces that make up that structure are called HTML elements. Most elements are defined with opening and closing tags. Some elements define the role text plays on the page. For example the <h1> tag is the most important introduction to a page s content. Subheaders are defined with the <h2>, <h3> tag, where the numbers refer to their hirarchy. Another tag identifiying a paragraph is <p>. Each element has an opening and a closing tag, for example <p> for the opening and </p> for the closing tag. In between the tags is the actual, visible content you see in a browser. Tags can be nested as in the list example on the right. The list is defined be the tag <ul> ( unordered list ) and the list item tags (<li>) are nested inside. There are generic tags such as the <div> tag which has no effect on the appearance of text or layout unless they are being styled with CSS. It s often used to style certain parts or divisions of the layout such as header, main content and footer areas. A CSS file is usually a separte, linked document that contains style definitions (rules) for those HTML elements. <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN ><html xmlns= w3.org/1999/xhtml > <head> <meta http-equiv= Content-Type content= text/html; charset=utf-8 /> <title>caprese Salad</title> </head> <h1>caprese Salad</h1> <p>ready in: 15 Min</p> <h2>ingredients</h2> <ul> <li>2 large ripe tomatoes, peeled and sliced 1/4-inch thick</li> <li>8 ounces fresh mozzarella, sliced 1/4-inch thick</li> <li>1/4 teaspoon salt</li> <li>1/4 teaspoon freshly ground black pepper</li> <li>2 tablespoons extra-virgin olive oil</li> <li>8 fresh basil leaves</li> </ul> <h2>directions</h2> <p>arrange the tomato and mozzarella slices on a platter or individual salad plates, overlapping the slices and fanning them out like a deck of cards.</p> <p>sprinkle with the salt and pepper.</p> <p>drizzle with the oil.</p> <p>garnish with the basil: Cut it into very thin slices or tear into bits and sprinkle on top or leave the leaves whole and tuck them here and there between the mozzarella and tomato slices. Serve immediately.</p> <h3>restaurant Recipe</h3> <p>this recipe was provided by professional chefs and has been scaled down from a bulk recipe provided by a restaurant. The Food Network Kitchens chefs have not tested this recipe, in the proportions indicated, and therefore, we cannot make any representation as to the results.</p> </html> Caprese Salad Ready in: 15 Min Ingredients 2 large ripe tomatoes, peeled and sliced 1/4-inch thick 8 ounces fresh mozzarella, sliced 1/4-inch thick 1/4 teaspoon salt 1/4 teaspoon freshly ground black pepper 2 tablespoons extra-virgin olive oil 8 fresh basil leaves Directions Arrange the tomato and mozzarella slices on a platter or individual salad plates, overlapping the slices and fanning them out like a deck of cards. Sprinkle with the salt and pepper. Drizzle with the oil. Garnish with the basil: Cut it into very thin slices or tear into bits and sprinkle on top or leave the leaves whole and tuck them here and there between the mozzarella and tomato slices. Serve immediately. Restaurant Recipe This recipe was provided by professional chefs and has been scaled down from a bulk recipe provided by a restaurant. The Food Network Kitchens chefs have not tested this recipe, in the proportions indicated, and therefore, we cannot make any representation as to the results.

2 HTML and CSS HTML in browser (without CSS) HTML Code CSS HTML in browser (with applied CSS) Element (opening tag) closing tag Selector Property Value h1 { Caprese Salad <h1>caprese Salad</h1> color: #FF0000; font-size: 32px; CAPRESE SALAD text-transform: uppercase; content CSS rule Declaration Declaration Box Element: The atomic pieces of the document. For example, h1, h2, p, ul They always start with an opening and closing tag. These Elements can be styled with CSS. Selector: Defines the elements of a document that have declarations applied to them Property: Describes an aspect of an element/tag s presentation such as color, fontsize or borders. Value: Is a descriptor defining a specific appearance, such as coilor name or color. Declaration: Is a property-value pair. Declaraton Block: Is a set of declarations grouped together Rule: Is a pairing of a selector and a declaration block. Style Sheet: Is a collection of rules that will be applied to an HTML document

3 styling HTML tags/elements with CSS HTML in browser (without CSS) HTML Code CSS HTML in browser (with CSS styles) Ingredients 2 large ripe tomatoes, peeled and sliced 8 ounces fresh mozzarella, sliced 1/4 teaspoon salt 1/4 teaspoon freshly ground black pepper 2 tablespoons extra-virgin olive oil 8 fresh basil leaves <div id=ingredients> <h2>ingredients</h2> <ul > <li>2 large ripe <span class=red>tomatoes</span>, peeled and sliced</li> <li>8 ounces fresh mozzarella, sliced</li> <li>1/4 teaspoon salt</li> <li>1/4 teaspoon freshly ground black pepper</li> <li>2 tablespoons extra-virgin olive oil</li> <li>8 fresh basil leaves</li> <li></li> </ul> Tag Selectors: Page -wide Styling. Sometimes also called Element Selectors. For body, h1, h2, ul, li, p The div tag defines a division of the page. If there s no other tag selector in the HTML to style use div or span tags. body { background: #CCC; #ingredients { width: 230px; heigh: 500px; color: #999; background: #FFF; margin: 5px 10px 10px 10px; padding: 50px 0px 20px 10px; h2 { font-size: 25px; text-transform: lowercase; padding-bottom: 25px; ul { list-style: none; padding: 0; li { border-top: 1px solid #000; border-bottom: none; margin: 5px 0px 5px 0px; padding: 5px 0px 0px 0px;.red { color: red; ingredients 2 large ripe tomatoes, peeled and sliced 8 ounces fresh mozzarella, sliced 1/4 teaspoon salt 1/4 teaspoon freshly ground black pepper 2 tablespoons extra-virgin olive oil 8 fresh basil leaves The span tag is useful for styling pieces nested insite other tags (one word in a paragraph, for example). Tag Selectors: predefined names such as body, h1, h2 match corresponding tag inside HTML code Class Selectors: Pinpoint Control. Used to style one or more elements that are different from related tags. Unlike the id selector, the class selector is most often used on several elements ID Selectors: Specific Page Sections. Used to identifiy a unique part of a page. Class Selectors: start with a period inside the CSS style sheet. You need to give them a name. ID Selectors: start with a pound symbol inside the CSS style sheet. You can give them a name of your choice. Used to identify unique page elements.

4 CSS Dimension and Positioning CSS Box Model Width and Height of an Element Margin Border Padding Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Important: When you specify the width and height properties of an element with CSS, you are just setting the width and height of the content area. To know the full size of the element, you must also add the padding, border and margin. The total width of an element should always be calculated like this: Total element width = width + left padding + right padding + left border + right border + left margin + right margin The total height of an element should always be calculated like this: Total element height = height + top padding + bottom padding + top border + bottom border + top margin + bottom margin : The total width of the paragraph element in the example below is 300px: p { width:250px; padding:10px; border:5px solid gray; margin:10px; Let s do the math: 250px (width) + 20px (left and right padding) + 10px (left and right border) + 20px (left and right margin) = 300px Styled element/tag. For example a div or p tag. Padding Properties: Margin Properties: All HTML elements can be considered as boxes. In CSS, the term box model is used when talking about design and layout. Margin - Clears an area around the border. The margin does not have a background color, and it is completely transparent padding-top padding-bottom padding-right padding-left margin-top margin-bottom margin-right margin-left The CSS box model is essentially a box that wraps around HTML elements, and it consists of: margins, borders, padding, and the actual content. The box model allows us to place a border around elements and space elements in relation to other elements. If left and right margin of an element is set to auto content will be centered. Border - A border that lies around the padding and content. The border is affected by the background color of the box Padding - Clears an area around the content. The padding is affected by the background color of the box Content - The content of the box, where text and images appear To shorten the code, it s possible to combine properties. This is called a shorthand property. For padding-top:25px; padding-right:50px; padding-bottom:25px; padding-left:50px; Shorthand property (top, right, bottom, left): padding: 25px 50px 25px 50px; Border Properties: border-top border-right border-bottom border-left border-color border-style (values are for none, hidden, dotted, dashed, solid)

5 CSS font and text properties CSS Font Properties CSS Text Properties Property Description Values Property Description Values font Sets all the font properties in one declaration font-family font-size font-weight font-style font-variant font-family Specifies the font family for text family-name generic-family font-size Specifies the font size of text px % xx-small x-small small medium large x-large xx-large smaller larger font-style Specifies the font style for text normal italic oblique font-variant Specifies whether or not a text should be normal displayed in a small-caps font small-caps font-weight Specifies the weight of a font normal bold bolder lighter Generic family Font family Description Serif Times New Roman Serif fonts Georgia Sans-serif Arial Sans-serif fonts Verdana Monospace Courier New All monospace Lucida Console characters have the same wtdth color Sets the color of a text color direction Sets the text direction ltr rtl line-height Sets the distance between lines normal number % letter-spacing Increase or decrease the space between characters normal text-align Aligns the text in an element left right center justify text-decoration Adds decoration to text none underline overline line-through blink text-indent Indents the first line of text in an element % text-transform Controls the letters in an element none capitalize uppercase lowercase vertical-align Sets the vertical alignment of an element baseline sub super top text-top middle bottom text-bottom % word-spacing Increase or decrease the space between words normal

6 Some usful CSS properties for the first assigment Simple CSS Properties ( for a complete list with explanations go to positioning Properties: border properties: color and background color properties: text properties padding padding-top padding-right padding-bottom padding-left shorthand: padding: top right bottom left; padding: 10px 20px 10px 20ox; border-style (this property has to be set to make the border visible. Values are for none, hidden, dotted, dashed, solid) border-top border-right border-bottom border-left border-color color The color property will give the content of the element a color such as text, for example color: red: or color: #FF0000; or color: rgb(255,255,255): font-family fonts have to be installed on the computer of the person visiting a website. So you are restricted to only a few fonts that most likely are installed on a computer. For now stick with the options Dreamweaver gives you when typing in the font-family property in your CSS file. examples: font-family: Arial, Helvetica, sans-serif; margin margin-top margin-right margin-bottom margin-left same shorthand as above. Just replace padding with margin. border-width border-top-style border-right-style border-bottom-style border-left-style shorthand border: 5px solid #C30; background-color this property will basically color the element itself background-color: red: or background -color: #FF0000; font-family: Times New Roman, Times, serif; font-size For the values there are plenty of sizing units to choose from: keywords, ems, exs, pixels, percentages, picas, points, inches, centimeters, millimeters. Let s only use the pixel unit for the first assignment. also experiment with negative values. margin-left: -200px; float float: left flloat: right clear (to clear floats) clear: left clear: right cleat: both or if you only want a top border to appear: border-top: 5px solid #C30; When using the border property, the order of the values are: * border-width * border-style * border-color It does not matter if one of the values above are missing (although, border-style is required), as long as the rest are in the specified order. font-size: 24px; text-transform (values are uppercase, lowercase) text-decoration (values are underline, overline, line-through) line-height (specify values in pixels for now) letter-spacing (specify values in pixels for now) letter-spacing (specify values in pixels for now) word-spacing (specify values in pixels for now)

7 CSS Color and Background Color CSS Floats Background Property CSS Floats CSS background properties are used to define the background effects of an element. CSS properties used for background effects: background-color background-image background-repeat background-attachment background-position For the first assignment we won t use images yet and focus only on the first propety, the background-color. The background color can be specified by: * name - a color name, like red * RGB - an RGB value, like rgb(255,0,0) * Hex - a hex value, like #ff0000 The background color of a page is defined in the body selector: body { background-color:#999999; Difference between the color and the background-color property: In the example below the text of the paragraph is blue and the background color is yellow. So the color property defines the contents of the element the backgroundcolor property it s background. Lorem ipsum dolor sit amet The CSS code would be: p { color: blue; background-color: yellow; With CSS float, an element can be pushed to the left or right, allowing other elements to wrap around it. Float is very often used for images, but it is also useful when working with layouts. How Elements Float Elements are floated horizontally, this means that an element can only be floated left or right, not up or down. A floated element will move as far to the left or right as it can. Usually this means all the way to the left or right of the containing element. The elements after the floating element will flow around it. The elements before the floating element will not be affected. Float values: left, right, both, none, inherit Floating Elements Next to Each Other If you place several floating elements after each other, they will float next to each other if there is room. Turning off Float - Using Clear Elements after the floating element will flow around it. To avoid this, use the clear property. The clear property specifies which sides of an element other floating elements are not allowed. Clear values: left, right, both, none, inherit Here an example of how to define a rule for a layout with 3 columns (CSS = blue, HTML = green):.column { float: left; margin: 20px; By the way: It doesn t really matter how you write your CSS rules. The example on top could also be written the following way: p {color: blue; background-color: yellow; The space after the p is important as well as the colons and semi-colons after the properties and the values. How you organize the rule is up to your preference. If you have many rules in one style sheet file the example on top is probably the better one since the individual declarations are easier to visually separate from each other. <div class= column ><p>lorem ipsum dolor.</p> <div class= column ><p>consectetuer diam</p> <div class= column ><p>sed diam nonummy</p>

8 Multi Column Layout using floated elements In the example below floats are applied to 4 elements defined by div tags: The title, ingredients, directions and the cooking time. When floating elements side by side you have to pay attention to the measurements since margin and paddings are added to the widths of the elements. Each floated column is set to 200px width with a left and right margin of 10px and a left and right padding of 20px. In order to avoid having the red column drop below the first two make sure the total width doesn t exceed our limit of 780px (add margin, padding and border width to the total!). Here is the math: = HTML order of elements: When you work with floats, the order of the HTML code is important. The HTML for the floated element must appear before the element that wraps around it. In our simple example the HTML order is: wrapper title ingredients directions cooking time footnote Title, ingredients and directions are floated to the left, the cooking time div is floated to the right. A footnote is usually something that should appear all the way at the bottom of a page. In order to avoid this element to wrap around any other element the clear property can be applied to this element (see code on the right: clear: both;). HTML (simplified) <div id=wrapper> <div id=title> <div id=title> <div id=directions> <div id=time> <div id=footnote> CSS (simplified) #title { float: left; margin: 10px 10px 10px 10px; padding: 50px 20px 0px 20px; #ingredients { float: left; margin: 10px 10px 10px 10px; padding: 50px 20px 0px 20px; #directions { float: left; margin: 10px 10px 10px 10px; padding: 50px 20px 0px 20px; #time { float: right; margin: 10px 10px 10px 10px; padding: 10px 20px 10px 20px; #footnote { clear: both; margin: 10px 10px 10px 0px; padding: 10px 20px 0px 0px; border-top: 1px solid #999;

9 Positioning Elements Positoning Block Elements A block element is an element that takes up the full width available, and has a line break before and after it. s of block elements: <h1>, <p>, <div> Center Aligning Using the margin Property Block elements can be aligned by setting the left and right margins to auto. Note: Using margin:auto will not work in Internet Explorer, unless a!doctype is declared. Setting the left and right margins to auto specifies that they should split the available margin equally. The result is a centered element (CSS = blue, HTML = green):.center { margin-left:auto; margin-right:auto; width:600px; <div class= center > margin left div element margin right = auto width = 600px = auto Left and Right Aligning Using the position Property One method of aligning elements is to use absolute positioning:.right { position:absolute; right:0px; width:300px; <div class= right > The CSS position properties may be more difficult to understand and to control than positioning elements with margin and padding properties. General rule for now: Use position properties if you can t achieve it with margins, paddings and floats. Left and Right Aligning Using the float Property One method of aligning elements is to use the float property:.right { float:right; width:300px; background-color:#b0e0e6; <div class= right > Positioning The CSS positioning properties allow you to position an element. It can also place an element behind another, and specify what should happen when an element s content is too big. Elements can be positioned using the top, bottom, left, and right properties. However, these properties will not work unless the position property is set first. They also work differently depending on the positioning method. There are four different positioning methods. Static Positioning HTML elements are positioned static by default. A static positioned element is always positioned according to the normal flow of the page. Static positioned elements are not affected by the top, bottom, left, and right properties. Fixed Positioning An element with fixed position is positioned relative to the browser window. It will not move even if the window is scrolled: p.pos_fixed { position:fixed; top:30px; right:5px; Relative Positioning A relative positioned element is positioned relative to its normal position. h2.pos_left { position:relative; left:-20px; Relatively positioned element are often used as container blocks for absolutely positioned elements. Absolute Positioning An absolute position element is positioned relative to the first parent element that has a position other than static. If no such element is found, the containing block is <html>: h2 { position:absolute; left:100px; top:150px; Absolutely positioned elements are removed from the normal flow. The document and other elements behave like the absolutely positioned element does not exist. Absolutely positioned elements can overlap other elements. The z-index property specifies the stack order of an element (which element should be placed in front of, or behind, the others). An element can have a positive or negative stack order

2005 WebGUI Users Conference

2005 WebGUI Users Conference Cascading Style Sheets 2005 WebGUI Users Conference Style Sheet Types 3 Options Inline Embedded Linked Inline Use an inline style sheet to modify a single element one time in a page.

More information

Appendix D CSS Properties and Values

Appendix D CSS Properties and Values HTML Appendix D CSS Properties and Values This appendix provides a brief review of Cascading Style Sheets (CSS) concepts and terminology, and lists CSS level 1 and 2 properties and values supported by

More information

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model Last Time Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External

More information

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model

Unit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 4 The Box Model Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 4 The Box Model So far Looked at what CSS is Looked at why we will use it Used CSS In-line Embedded (internal style-sheet) External

More information

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100

Introduction to Multimedia. MMP100 Spring 2016 thiserichagan.com/mmp100 Introduction to Multimedia MMP100 Spring 2016 profehagan@gmail.com thiserichagan.com/mmp100 Troubleshooting Check your tags! Do you have a start AND end tags? Does everything match? Check your syntax!

More information

12/9/2012. CSS Layout

12/9/2012. CSS Layout Dynamic HTML CSS Layout CSS Layout This lecture aims to teach you the following subjects: CSS Grouping and nesting Selectors. CSS Dimension. CSS Display.. CSS Floating. CSS Align. 1 CSS Grouping and nesting

More information

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2)

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) Learning Objectives (2 of 2) Web Development & Design Foundations with HTML5 Ninth Edition Chapter 3 Configuring Color and Text with CSS Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

More information

Parashar Technologies HTML Lecture Notes-4

Parashar Technologies HTML Lecture Notes-4 CSS Links Links can be styled in different ways. HTML Lecture Notes-4 Styling Links Links can be styled with any CSS property (e.g. color, font-family, background, etc.). a { color: #FF0000; In addition,

More information

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:

More information

TITLE EXAMPLE. Sub - title

TITLE EXAMPLE. Sub - title TITLE EXAMPLE Sub - title SUMMARY 1 TOPIC Relevant text 2 TOPIC Relevant text 3 TOPIC Relevant text 4 TOPIC Relevant text TIMELINE Euismod tincidunt ut laoreet dolore magna aliquam erat volutpat Title

More information

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference Inline Style Syntax: Introduction to Web Design CSS Reference Example: text Internal Style Sheet Syntax: selector {property: value; Example:

More information

COSC 2206 Internet Tools. CSS Cascading Style Sheets

COSC 2206 Internet Tools. CSS Cascading Style Sheets COSC 2206 Internet Tools CSS Cascading Style Sheets 1 W3C CSS Reference The official reference is here www.w3.org/style/css/ 2 W3C CSS Validator You can upload a CSS file and the validator will check it

More information

Reading 2.2 Cascading Style Sheets

Reading 2.2 Cascading Style Sheets Reading 2.2 Cascading Style Sheets By Multiple authors, see citation after each section What is Cascading Style Sheets (CSS)? Cascading Style Sheets (CSS) is a style sheet language used for describing

More information

Cascading Style Sheet Quick Reference

Cascading Style Sheet Quick Reference Computer Technology 8/9 Cascading Style Sheet Quick Reference Properties Properties are listed in alphabetical order. Each property has examples of possible values. Properties are not listed if they are

More information

Adding CSS to your HTML

Adding CSS to your HTML Adding CSS to your HTML Lecture 3 CGS 3066 Fall 2016 September 27, 2016 Making your document pretty CSS is used to add presentation to the HTML document. We have seen 3 ways of adding CSS. In this lecture,

More information

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets

3.1 Introduction. 3.2 Levels of Style Sheets. - The CSS1 specification was developed in There are three levels of style sheets 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations

- The CSS1 specification was developed in CSS2 was released in CSS2.1 reflects browser implementations 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS2.1 reflects browser implementations - CSS3 is partially finished and parts are implemented in current browsers

More information

SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE

SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE 4175 Route 71 Oswego, IL 60543 (630) 636-3080 WWW.SD308.ORG SCHOOL DISTRICT 308 VISUAL STANDARD GUIDE Table of contents Letter from the Superintendent of Schools...4

More information

SUMMARY OF DESIGN CHOICES

SUMMARY OF DESIGN CHOICES SUMMARY OF DESIGN CHOICES Company Name The name is a Hawaiian word that means to go, move. As a new start up application development company, the name fit as Tech designs applications for people on the

More information

- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents

- The CSS1 specification was developed in CSSs provide the means to control and change presentation of HTML documents 3.1 Introduction - The CSS1 specification was developed in 1996 - CSS2 was released in 1998 - CSS3 is on its way - CSSs provide the means to control and change presentation of HTML documents - CSS is not

More information

HTML/XML. HTML Continued Introduction to CSS

HTML/XML. HTML Continued Introduction to CSS HTML/XML HTML Continued Introduction to CSS Entities Special Characters Symbols such as +, -, %, and & are used frequently. Not all Web browsers display these symbols correctly. HTML uses a little computer

More information

CASCADING STYLESHEETS

CASCADING STYLESHEETS CASCADING STYLESHEETS Cascading StyleSheets (CSS) has been mainly created because HTML is just not the right tool for precision and flexibility. HTML is not a very effective for designing web pages. Most

More information

Web Site Design and Development Lecture 6

Web Site Design and Development Lecture 6 Web Site Design and Development Lecture 6 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Inheritance Before we talk about font properties, it needs to be known that font properties are inherited by the descendants

More information

Chapter 3 CSS for Layout

Chapter 3 CSS for Layout Chapter 3 CSS for Layout Chapter two introduced how CSS is used to manage the style of a webpage, this chapter explores how CSS manages the layout of a webpage. Generally a webpage will consist of many

More information

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB Unit 3 Cascading Style Sheets (CSS) Slides based on course material SFU Icons their respective owners 1 Learning Objectives In this unit you

More information

Cascade Stylesheets (CSS)

Cascade Stylesheets (CSS) Previous versions: David Benavides and Amador Durán Toro (noviembre 2006) Last revision: Manuel Resinas (october 2007) Tiempo: 2h escuela técnica superior de ingeniería informática Departamento de Lenguajes

More information

INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations

INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations Hun Myoung Park (1/26/2019) Cascading Style Sheets: 1 INTERNATIONAL UNIVERSITY OF JAPAN Public Management and Policy Analysis Program Graduate School of International Relations ADC5030401 (2 Credits) Introduction

More information

CSS. Text & Font Properties. Copyright DevelopIntelligence LLC

CSS. Text & Font Properties. Copyright DevelopIntelligence LLC CSS Text & Font Properties 1 text-indent - sets amount of indentation for first line of text value: length measurement inherit default: 0 applies to: block-level elements and table cells inherits: yes

More information

CSS Selectors. element selectors. .class selectors. #id selectors

CSS Selectors. element selectors. .class selectors. #id selectors CSS Selectors Patterns used to select elements to style. CSS selectors refer either to a class, an id, an HTML element, or some combination thereof, followed by a list of styling declarations. Selectors

More information

CSS: The Basics CISC 282 September 20, 2014

CSS: The Basics CISC 282 September 20, 2014 CSS: The Basics CISC 282 September 20, 2014 Style Sheets System for defining a document's style Used in many contexts Desktop publishing Markup languages Cascading Style Sheets (CSS) Style sheets for HTML

More information

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets

3.1 Introduction. 3.2 Levels of Style Sheets. - HTML is primarily concerned with content, rather than style. - There are three levels of style sheets 3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student Welcome Please sit on alternating rows powered by lucid & no.dots.nl/student HTML && CSS Workshop Day Day two, November January 276 powered by lucid & no.dots.nl/student About the Workshop Day two: CSS

More information

Web Authoring and Design. Benjamin Kenwright

Web Authoring and Design. Benjamin Kenwright CSS Div Layouts Web Authoring and Design Benjamin Kenwright Outline Review Why use Div Layout instead of Tables? How do we use the Div Tag? How to create layouts using the CSS Div Tag? Summary Review/Discussion

More information

CMPT 165: More CSS Basics

CMPT 165: More CSS Basics CMPT 165: More CSS Basics Tamara Smyth, tamaras@cs.sfu.ca School of Computing Science, Simon Fraser University October 14, 2011 1 The Favorites Icon The favorites icon (favicon) is the small icon you see

More information

CSS Styles Quick Reference Guide

CSS Styles Quick Reference Guide Table 1: CSS Font and Text Properties Font & Text Properties Example(s) font-family Font or typeface font-family: Tahoma font-size Size of the font font-size: 12pt font-weight Normal or bold font-weight:

More information

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values

- HTML is primarily concerned with content, rather than style. - However, tags have presentation properties, for which browsers have default values 3.1 Introduction - HTML is primarily concerned with content, rather than style - However, tags have presentation properties, for which browsers have default values - The CSS1 cascading style sheet specification

More information

q u e s t i o n s? contact or

q u e s t i o n s? contact or Chocolate Grail offers gourmet and artisanal chocolatiers different advertising options listed below. Two options are free: the basic listing and reviews. listings home page features quick pick fix reviews

More information

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em> Introduction to CSS Review Question 1 Which tag is used to create a link to another page? 1. 2. 3. 4. Review Question 1 Which tag is used to create a link to another page? 1. 2.

More information

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations). WDI Fundamentals Unit 4 CSS Cheat Sheet Rule The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations). Declaration A declaration is made

More information

MichPA Content Guide. Table of Contents. Website Section Overview. Global Banner & Navigation. Content Area Client editable

MichPA Content Guide. Table of Contents. Website Section Overview. Global Banner & Navigation. Content Area Client editable Table of Contents Website Section Overview MichPA Content Guide Website Section Overview...1 FAQ...2 Content Area Styles...3 Client-side Right Navigation Styles...4 Font Index...5 Color Index...5 Rotating

More information

Schrödinger's Website

Schrödinger's Website Schrödinger's Website or: How we built websites of indeterminate design for Adobe Portfolio a talk by Jackie Balzer (@jackiebackwards) https://en.wikipedia.org/wiki/file:schrodinger_cat_in_box.jpg Web

More information

Web Design and Development Tutorial 03

Web Design and Development Tutorial 03 Table of Contents Web Design & Development - Tutorial 03... 2 Using and Applying CSS to XHTML... 2 Conventions... 2 What you need for this tutorial... 2 Common Terminology... 3 Parent / Child Elements...

More information

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013

UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 UNIVERSITI TEKNOLOGI MALAYSIA TEST 1 SEMESTER II 2012/2013 SUBJECT CODE : SCSV1223 (Section 05) SUBJECT NAME : WEB PROGRAMMING YEAR/COURSE : 1SCSV TIME : 2.00 4.00 PM DATE : 18 APRIL 2013 VENUE : KPU 10

More information

Masthead. Masthead Subhead. Heading 1 spans two columns as a standard. What s Inside. Issue style Year Month Newsletter Website URL

Masthead. Masthead Subhead. Heading 1 spans two columns as a standard. What s Inside. Issue style Year Month Newsletter Website URL Masthead Masthead Subhead Issue style Year Month Newsletter Website URL. See last page for tips on inserting images. What s Inside TOC List Bullet. This text is set in a floating text box anchored in the

More information

CSS مفاهیم ساختار و اصول استفاده و به کارگیری

CSS مفاهیم ساختار و اصول استفاده و به کارگیری CSS مفاهیم ساختار و اصول استفاده و به کارگیری Cascading Style Sheets A Cascading Style Sheet (CSS) describes the appearance of an HTML page in a separate document : مسایای استفاده از CSS It lets you separate

More information

Zen Garden. CSS Zen Garden

Zen Garden. CSS Zen Garden CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS

More information

Module 2 (VII): CSS [Part 4]

Module 2 (VII): CSS [Part 4] INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (VII): CSS [Part 4] Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals

More information

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet.

**Method 3** By attaching a style sheet to your web page, and then placing all your styles in that new style sheet. CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look

More information

CSS. Lecture 16 COMPSCI 111/111G SS 2018

CSS. Lecture 16 COMPSCI 111/111G SS 2018 CSS Lecture 16 COMPSCI 111/111G SS 2018 No CSS Styles A style changes the way the HTML code is displayed Same page displayed using different styles http://csszengarden.com Same page with a style sheet

More information

CSS means Cascading Style Sheets. It is used to style HTML documents.

CSS means Cascading Style Sheets. It is used to style HTML documents. CSS CSS means Cascading Style Sheets. It is used to style HTML documents. Like we mentioned in the HTML tutorial, CSS can be embedded in the HTML document but it's better, easier and neater if you style

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. https://developer.mozilla.org/en-us/docs/web/css CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties

More information

Chapter 12: FORMATTING TEXT

Chapter 12: FORMATTING TEXT Disclaimer: All words, pictures are adopted from Learning Web Design (3 rd eds.) by Jennifer Niederst Robbins, published by O Reilly 2007. PART III: CSS FOR PRESENTATION Chapter 12: FORMATTING TEXT CSc2320

More information

CSS Lecture 16 COMPSCI 111/111G SS 2018

CSS Lecture 16 COMPSCI 111/111G SS 2018 No CSS CSS Lecture 16 COMPSCI 111/111G SS 2018 Styles Astyle changes the way the HTML code is displayed Same page displayed using different styles Same page with a style sheet body font-family: sans-serif;

More information

norwich university style guide

norwich university style guide norwich university style guide 06.22.05 table of contents i. logo Introduction Primary logo: Full-color application One-color applications Reverse applications: Two-color One-color With tagline With departmental

More information

What is the box model?

What is the box model? CSS BOX MODEL What is the box model? The CSS box model describes the rectangular boxes that are created for every element in the document tree. The box model components Source: Kindly provided by Hicks

More information

Assignments (4) Assessment as per Schedule (2)

Assignments (4) Assessment as per Schedule (2) Specification (6) Readability (4) Assignments (4) Assessment as per Schedule (2) Oral (4) Total (20) Sign of Faculty Assignment No. 02 Date of Performance:. Title: To apply various CSS properties like

More information

8a. Cascading Style Sheet

8a. Cascading Style Sheet INFS 2150 Introduction to Web Development 8a. Cascading Style Sheet 1 Objectives Concepts of cascading style sheets (CSS). 3 ways of using CSS: inline styles, embedded styles, and external style sheet.

More information

Brand Standards Manual. Copyright March 2007

Brand Standards Manual. Copyright March 2007 Brand Standards Manual Copyright March 2007 Primary Logo Primary Logo Full Color - Positive Primary logo is to be used when ever possible. Primary background color is white. Plum PMS 5185 Metallic Grey

More information

ALLASSO CORPORATE IDENTITY USER GUIDLINES

ALLASSO CORPORATE IDENTITY USER GUIDLINES ALLASSO CORPORATE IDENTITY USER GUIDLINES Your Partner in Network Security ALLASSO CORPORATE IDENTITY Your Partner in Network Security Already a success in the short time we've been around, our goal is

More information

Lecture 10. CSS Properties. Mr. Mubashir Ali Lecturer (Dept. of Computer Science)

Lecture 10. CSS Properties. Mr. Mubashir Ali Lecturer (Dept. of Computer Science) Lecture 10 CSS Properties Mr. Mubashir Ali Lecturer (Dept. of dr.mubashirali1@gmail.com 1 Summary of the previous lecture CSS basics CSS writing option CSS rules Id,s and Classes 2 Outline Font properties

More information

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a > > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any

More information

CSS: Formatting Text. CSS for text processing: font-family. Robert A. Fulkerson

CSS: Formatting Text. CSS for text processing: font-family. Robert A. Fulkerson CSS: Formatting Text Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for text processing: font-family

More information

Thinking inside the box

Thinking inside the box Intro to CSS Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside the box Thinking inside

More information

Introduction to Web Tech and Programming

Introduction to Web Tech and Programming Introduction to Web Tech and Programming Cascading Style Sheets Designed to facilitate separation of content and presentation from a document Allows easy modification of style for an entire page or an

More information

Creating Layouts Using CSS. Lesson 9

Creating Layouts Using CSS. Lesson 9 Creating Layouts Using CSS Lesson 9 CSS Page Layout Advantages Greater typography control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control

More information

ID1354 Internet Applications

ID1354 Internet Applications ID1354 Internet Applications CSS Leif Lindbäck, Nima Dokoohaki leifl@kth.se, nimad@kth.se SCS/ICT/KTH What is CSS? - Cascading Style Sheets, CSS provide the means to control and change presentation of

More information

February Pandera Labs Brand Guide

February Pandera Labs Brand Guide February 2017 Pandera Labs Brand Guide This brand style guide establishes the essence of who we are, what we stand for, and expresses our personality. The guide provides you with the tools you will need

More information

escuela técnica superior de ingeniería informática

escuela técnica superior de ingeniería informática Tiempo: 2h escuela técnica superior de ingeniería informática Previous versions: David Benavides and Amador Durán Toro (noviembre 2006) Manuel Resinas (october 2007) Last revision:pablo Fernandez, Cambios

More information

Web Design and Implementation

Web Design and Implementation Study Guide 3 - HTML and CSS - Chap. 13-15 Name: Alexia Bernardo Due: Start of class - first day of week 5 Your HTML files must be zipped and handed in to the Study Guide 3 dropbox. Chapter 13 - Boxes

More information

CSC 337. Cascading Style Sheets. Marty Stepp, Rick Mercer

CSC 337. Cascading Style Sheets. Marty Stepp, Rick Mercer CSC 337 Cascading Style Sheets Marty Stepp, Rick Mercer Preview of a style sheet /* The good way, with a preview of cascading style sheet (css) that has class mystyle */ body { background-color: grey;.mystyle

More information

Internet Programming 1 ITG 212 / A

Internet Programming 1 ITG 212 / A Internet Programming 1 ITG 212 / A Lecture 10: Cascading Style Sheets Page Layout Part 2 1 1 The CSS Box Model top margin top border top padding left margin left border left padding Content right padding

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

Cascading Style Sheets

Cascading Style Sheets 4 TVEZEWXYHMNR LSTVSKVEQY-RJSVQEXMOENITSHTSVSZ RETVSNIOXIQ RERGSZER Q^)ZVSTWO LSWSGM PR LSJSRHYEVS^TS XYLPEZR LSQ WXE4VEL] 4VELE)9-RZIWXYNIQIHSZE% FYHSYGRSWXM CSS Cascading Style Sheets Lukáš Bařinka barinkl@fel.cvut.cz

More information

First Diploma Unit 10 Client Side Web. Week 4 -The CSS Box model

First Diploma Unit 10 Client Side Web. Week 4 -The CSS Box model First Diploma Unit 10 Client Side Web Week 4 -The CSS Box model Last Session CSS Basics Fonts Real world site This Session CSS box model Concept of identity -id The CSS box model represents every element

More information

CSS exercise - Part 1

CSS exercise - Part 1 ITIY3 Introduction to Web Publishing 1 CSS exercise - Part 1 Adding text styles to an HTML document To start the exercise open the exercise file in the editor (Notepad++ or other). Inspect the element

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web Engineering CSS. By Assistant Prof Malik M Ali Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a

More information

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo Note: We skipped Study Guide 1. If you d like to review it, I place a copy here: https:// people.rit.edu/~nbbigm/studyguides/sg-1.docx

More information

Tutorial 3: Working with Cascading Style Sheets

Tutorial 3: Working with Cascading Style Sheets Tutorial 3: Working with Cascading Style Sheets College of Computing & Information Technology King Abdulaziz University CPCS-665 Internet Technology Objectives Review the history and concepts of CSS Explore

More information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 221. Web Design I. IDM 221: Web Authoring I 1 IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 6 IDM 221: Web Authoring I 2 The Box Model IDM 221: Web Authoring I 3 When a browser displays a web page, it places each HTML block element in a box.

More information

Reputation X Content Development and Promotion Checklist

Reputation X Content Development and Promotion Checklist Reputation X Content Development and Promotion Checklist reputation x look better online 2.7 million blog posts are published every day. How do we cut through the noise? Why does some content achieve higher

More information

Cascading Style Sheets (CSS)

Cascading Style Sheets (CSS) Cascading Style Sheets (CSS) Mendel Rosenblum 1 Driving problem behind CSS What font type and size does introduction generate? Answer: Some default from the browser (HTML tells what browser how)

More information

II. COLOR PALETTE Primary p. 18 Secondary p. 18. III. TYPOGRAPHY Primary typography p. 19 Secondary typography p. 20 Default typography p.

II. COLOR PALETTE Primary p. 18 Secondary p. 18. III. TYPOGRAPHY Primary typography p. 19 Secondary typography p. 20 Default typography p. STYLE GUIDE 2016 TABLE OF CONTENTS I. LOGO Introduction p. 3 Primary logo: Full-color application p. 4 One-color applications p. 5 Reverse applications: p. 6 Two-color p. 6 One-color p. 7 With tagline

More information

First Diploma Unit 10 Client Side Web. Week 4 CSS and Images

First Diploma Unit 10 Client Side Web. Week 4 CSS and Images First Diploma Unit 10 Client Side Web Week 4 CSS and Images Last Session CSS box model Concept of identity - id This Session External style sheets Using CSS in conjunction with images Introduction External

More information

Corporate Brand Standards

Corporate Brand Standards Corporate Brand Standards Welcome to the new brand standards guideline for the Altegra Health logo mark and brand. This new dynamic brand will help convey the messaging of Altegra Health while increasing

More information

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning

Page Layout. 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning Page Layout contents of this presentation are Copyright 2009 Marty Stepp and Jessica Miller 4.1 Styling Page Sections 4.2 Introduction to Layout 4.3 Floating Elements 4.4 Sizing and Positioning 2 1 4.1

More information

Creating A Website - Part 1: Web Design principles, HTML & CSS. CSS Color Values. Hexadecimal Colors. RGB Color

Creating A Website - Part 1: Web Design principles, HTML & CSS. CSS Color Values. Hexadecimal Colors. RGB Color Notes Week 3 By: Marisa Stoolmiller CSS Color Values With CSS, colors can be specified in different ways: Color names Hexadecimal values RGB values HSL values (CSS3) HWB values (CSS4) Hexadecimal Colors

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development Objectives INFS 2150 Introduction to Web Development 3. Page Layout Design Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information

ORIGINAL FAMOUS RAY S HELL BURGER

ORIGINAL FAMOUS RAY S HELL BURGER OUR SPECIAL COMBOS LITTLE DEVIL/ BIG DEVIL Bacon, Swiss Cheese, Sautéed Mushrooms, and Grilled Onions American Cheese, Beefsteak Tomato, Lettuce, Pickle, and Red Onion Au Poivre Burger, Aged Danish Bleu

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

1 of 7 11/12/2009 9:29 AM

1 of 7 11/12/2009 9:29 AM 1 of 7 11/12/2009 9:29 AM Home Beginner Tutorials First Website Guide HTML Tutorial CSS Tutorial XML Tutorial Web Host Guide SQL Tutorial Advanced Tutorials Javascript Tutorial PHP Tutorial MySQL Tutorial

More information

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options):

CSS Tutorial Part 1: Introduction: A. Adding Style to a Web Page (3 options): CSS Tutorial Part 1: Introduction: CSS adds style to tags in your html page. With HTML you told the browser what things were (e.g., this is a paragraph). Now you are telling the browser how things look

More information

Summary Lauren Light. Mobile development for a stable company.

Summary Lauren Light. Mobile development for a stable company. Summary Lauren Light Mobillo is positioned to be a leader in the global technology industrywith clean lines, sharp yet inviting colors and sleek typography. The look is modern without feeling trendy or

More information

B3: A first introduction to CSS 17/02/2006

B3: A first introduction to CSS 17/02/2006 ! " % % 1 & & ' ( 6 +,-.!! %! 5 7 % ) * +,-. /! ) (& & (& &! ' % 1 '!%!3! 4! % & (& & % % 55 %! " & Font Text Lists Color Background Border & Margin Positioning Visability Letter form, size, boldface,

More information

Fundamentals of Web Programming a

Fundamentals of Web Programming a Fundamentals of Web Programming a Cascading Style Sheets Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science a Copyright 2009 Teodor Rus. These slides have been developed

More information

Contents. Contact, 19. About our brand, 3 Key elements, 4. Design elements,13

Contents. Contact, 19. About our brand, 3 Key elements, 4. Design elements,13 The following identity and brand guideline for Bermondsey Pubs has been created to help you present the brand and all the elements that make up the company s visual identity in a consistent and recognizable

More information

CSCB20 Week 7. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2017

CSCB20 Week 7. Introduction to Database and Web Application Programming. Anna Bretscher Winter 2017 CSCB20 Week 7 Introduction to Database and Web Application Programming Anna Bretscher Winter 2017 Cascading Style Sheets (CSS) Examples of CSS CSS provides a powerful and stillevolving toolkit of style

More information

IMY 110 Theme 6 Cascading Style Sheets

IMY 110 Theme 6 Cascading Style Sheets IMY 110 Theme 6 Cascading Style Sheets 1. Cascading Style Sheets 1.1. Cascading Style Sheets Up to now we have done styling by using the style attribute. e.g. paragraph What

More information

Controlling Appearance the Old Way

Controlling Appearance the Old Way Webpages and Websites CSS Controlling Appearance the Old Way Older webpages use predefined tags - - italic text; - bold text attributes - Tables (and a few other elements) use specialized

More information