Introduction to Computer Science Web Development
|
|
- Arthur Chandler
- 5 years ago
- Views:
Transcription
1 Introduction to Computer Science Web Development Flavio Esposito Lecture 6
2 Review from last lecture
3 A collection of CSS rules is called a Style Sheet Styles Sheet p { color: red; font- size: 20px; width: 200px; h1 { color: black; font- size: 36px; text- align: center; Zero or more declarations Are allowed per selector
4 3 Ways of using CSS are possible <p style="color: red">text</p> <p style="color: red">text</p> <p style="color: red">text</p> Inline: LEAST REUSABLE 3 paragraphs, specify 3 times same CSS code <head> <style> p { color:red; /*10,000 CSS rules */ </style></head> Internal: KIND OF REUSABLE 3 pages, specify 3 times the same code <link rel="stylesheet" href= style.css > External: MOST REUSABLE 3 pages, just 3 links to the same CSS file (least code duplication is desirable)
5 3 possible CSS Selectors p, h1, a, div { Element Selectors standard HTML tags:.classname { #idname{ Class Selectors Used to style groups of multiple objects ID Selector Used to style single named objects
6 This lecture covers Web Development Combining CSS Selectors (advanced CSS) Element with Class Selector Child Selector Descended Selectors Web Science Network Structure Connected graphs Connected components Induced Subgraphs
7 This lecture covers Web Development Combining CSS Selectors (advanced CSS) Element with Class Selector Child Selector Descended Selectors Web Science Network Structure Connected graphs Connected components Induced Subgraphs
8 HTML Document Object Model (DOM) Child of html object Children of body Children of head object Sibling objects
9 Combining CSS Selectors p.small { font- size: 10px; Change style of every p element that has class= small Example: <p class= small > </p> will be affected <div class= small > </div> will be unaffected
10 Combining CSS Selectors p.small { font- size: 10px; Change style of every p element that has class= small Example: <p class= small > </p> will be affected <div class= small > </div> will be unaffected Note the lack of space between element (p) and class definition (small) p small { would have a different meaning
11 Child Selectors change style of every p element that is a direct child of an article element article > p { color: green;
12 Child Selectors change style of every p element that is a direct child of an article element article > p { color: green; Examples: <article> <p> </p> will be affected (direct child) </article>
13 Child Selectors change style of every p element that is a direct child of an article element article > p { color: green; Examples: <article> <p> </p> will be affected (direct child) </article> <p> </p> unaffected text (no child)
14 Child Selectors change style of every p element that is a direct child of an article element article > p { color: green; Examples: <article> <p> </p> will be affected (direct child) </article> <p> </p> unaffected text (no child) <article> <div> <p> </p> </div> unaffected (no direct child) </article>
15 Descended Selectors change style of every p element that is inside AT ANY LEVEL Even not a direct child As long as is an ancestor article p { color: green; Examples: <article> <p> text here </p> will be affected (direct child) </article>
16 Descended Selectors change style of every p element that is inside AT ANY LEVEL Even not a direct child As long as is an ancestor article p { color: green; Examples: <article> <p> text here </p> will be affected (direct child) </article> <p> </p> unaffected text (no child in the DOM)
17 Descended Selectors change style of every p element that is inside AT ANY LEVEL Even not a direct child As long as is an ancestor article p { color: green; Examples: <article> <p> text here </p> will be affected (direct child) </article> <p> </p> unaffected text (no child in the DOM) <article> <div> <p> </p> </div> affected (ancestor) </article>
18 Descended and Child are not limited to Element selectors.colored p { color: green; article >.colored { color: green; change style of every p AT ANY LEVEL inside an element with class= colored change style of every element that is a direct child of an article element
19 Let s apply these new concepts on real CSS files advanced_css/element- with- class- before.html advanced_css/child- selector- before.html advanced_css/descendant- selector- before.html
20 Solutions advanced_css/element- with- class- after.html advanced_css/child- selector- after.html advanced_css/descendant- selector- after.html
21 Combining Selectors Summary p.small { Element with class selector (selector.class) article > p { Child (direct) selector (selector > selector) article p { Descendent selector (selector selector)
22 Know that they exist We will NOT cover (because complex and rare) Adjacent Sibling Selector (selector + selector) General Sibling Selector (selector ~ selector)
23 Example of Exam question <div> <p> I am feeling blue</p> </div> <section> <p>i just want to be left alone!</p> </section> Given the HTML code above, write the CSS rule to turn the text of the first <p> tag blue, but NOT the second <p> tag.
24 Hint (not given in exams): at least one of these four works <div> <p> I am feeling blue</p> </div> <section> <p>i just want to be left alone!</p> </section> Given the HTML code above, write the CSS rule to turn the text of the first <p> tag blue, but NOT the second <p> tag. div > p { color: blue; div.p { color: blue; div p { color: blue; p { color: blue;
25 Solution (both are correct) <div> <p> I am feeling blue</p> </div> <section> <p>i just want to be left alone!</p> </section> Given the HTML code above, write the CSS rule to turn the text of the first <p> tag blue, but NOT the second <p> tag. div > p { color: blue; div.p { color: blue; div p { color: blue; p { color: blue;
26 Another Example of Exam question <div> <div> <div class="makemered"> <p>i am feeling red</p> </div> </div> <section class="makemered"> <p>i just want to be left alone!</p> </section> </div> Write the CSS rule(s) that turns the text of the first <p> tag red, but NOT the second <p> tag.
27 Hint (not given in exams): at least one of these four works <div> <div> <div class="makemered"> <p>i am feeling red</p> </div> </div> <section class="makemered"> <p>i just want to be left alone!</p> </section> </div> Write the CSS rule(s) that turns the text of the first <p> tag red, but NOT the second <p> tag..makemered > p { color: red; div.makemered p { color: red; div > div > p { color: red; div p { color: blue;
28 Solution (both are correct) <div> <div> <div class="makemered"> <p>i am feeling red</p> </div> </div> <section class="makemered"> <p>i just want to be left alone!</p> </section> </div> Write the CSS rule(s) that turns the text of the first <p> tag red, but NOT the second <p> tag..makemered > p { color: red; div.makemered p { color: red; div > div > p { color: red; div p { color: blue;
29 Web Science: Net Structure Web Development Combining CSS Selectors (advanced CSS) Element with Class Selector Child Selector Descended Selectors Web Science Network Structure Connected graphs Connected components Induced Subgraphs
30 Review from lecture 4 (limited to notions useful today)
31 Graph defined using set theory Def: Graph G is an ordered pair G = (V,E) where: 1. V is a set of nodes (vertices) 2. E is a set of edges (links). 3. An edge is defined with a pair of vertices.
32 Adjacent and Incident Def: Two vertices are called adjacent if they share a common edge, in which case the common edge is said to join the two vertices. Def: An edge and a vertex on that edge are called incident.
33 Paths: a way to get from a node to another We write a path P as an ordered list of directed edges:
34 Web Science: Net Structure Web Development Combining CSS Selectors (advanced CSS) Element with Class Selector Child Selector Descended Selectors Web Science Network Structure Connected graphs Connected components Induced Subgraphs
35 Notion of Connected A path connects its origin and destination nodes Two nodes are connected if there is at least one path that connects them A graph is connected if each of its nodes is connected to all the others
36 Notion of Connected A path connects its origin and destination nodes connected graph Two nodes are connected if there is at least one path that connects them A graph is connected if each of its nodes is connected to all the others Non- connected graph
37 Common sloppy uses of connected Sometimes connected is used informally when another term would be more clear. For example, avoid using connected when one of these unambiguous words would apply: Joined Adjacent Incident
38 Induced Subgraphs It is often useful to consider only part of a graph. Induced subgraphs are one particularly convenient way to define a specific sub- part of a larger graph. Example: Original graph
39 Induced Subgraphs It is often useful to consider only part of a graph. Induced subgraphs are one particularly convenient way to define a specific sub- part of a larger graph. Example: Original graph subgraph induced by the subset of nodes
40 Induced Subgraph Defined Formally Given a graph G=(V,E), an induced subgraph is defined by a subset of vertices S, where The nodes of the subgraph induced by S are the nodes in S. The edges of the subgraph induced by S are i.e. all edges in E that have both endpoints in S. Formally, the induced subgraph is denoted as where is the set of edges defined above
41 Connected Graphs and Connected Components Def: A graph is said to be connected if it consists of a single connected component. Obs: If a graph is not connected, then it consists of two or more connected components.
42 Connected Graphs and Connected Components This graph is connected and therefore has 1 connected component:
43 Connected Graphs and Connected Components This graph is connected and therefore has 1 connected component: This graph has 2 connected components
44 Connected Graphs and Connected Components This graph is connected and therefore has 1 connected component: This graph has 2 connected components This graph has 3 connected components, that can be defined with 3 induced subgraphs: the subgraph induced by {1,2,5,6 the subgraph induced by {3,4 the subgraph induced by {7,8
45 Introduction to Computer Science Web Development Flavio Esposito Lecture 6
BIM222 Internet Programming
BIM222 Internet Programming Week 7 Cascading Style Sheets (CSS) Adding Style to your Pages Part II March 20, 2018 Review: What is CSS? CSS stands for Cascading Style Sheets CSS describes how HTML elements
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 8 Lecture Outline: Advanced CSS Pseudo-Classes CSS interacting with users CSS Cascading
More informationINTRODUCTION TO CSS. Mohammad Jawad Kadhim
INTRODUCTION TO CSS Mohammad Jawad Kadhim WHAT IS CSS Like HTML, CSS is an interpreted language. When a web page request is processed by a web server, the server s response can include style sheets,
More informationCSS. 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 informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 9 Lecture Outline Text Styling Some useful CSS properties The Box Model essential to
More informationCSS: 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 information2. Write style rules for how you d like certain elements to look.
CSS for presentation Cascading Style Sheet Orientation CSS Cascading Style Sheet is a language that allows the user to change the appearance or presentation of elements on the page: the size, style, and
More informationIntroduction to WEB PROGRAMMING
Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks
More informationAssignments (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 informationTo link to an external stylesheet, the link element is placed within the head of the html page:
CSS Basics An external style sheet is simply a text file (use BBEdit or Textwrangler) containing style rules, saved with the.css extension. It s best practice to keep style sheets for a site grouped within
More informationCS 441 Discrete Mathematics for CS Lecture 26. Graphs. CS 441 Discrete mathematics for CS. Final exam
CS 441 Discrete Mathematics for CS Lecture 26 Graphs Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Final exam Saturday, April 26, 2014 at 10:00-11:50am The same classroom as lectures The exam
More informationHTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources
HTML + CSS ScottyLabs WDW OVERVIEW What are HTML and CSS? How can I use them? WHAT ARE HTML AND CSS? HTML - HyperText Markup Language Specifies webpage content hierarchy Describes rough layout of content
More informationCascading Style Sheets Level 2
Cascading Style Sheets Level 2 Course Objectives, Session 1 Level 1 Quick Review Chapter 6 Revisit: Web Fonts Chapter 8: Adding Graphics to Web Pages Chapter 9: Sprucing Up Your Site s Navigation Begin
More informationChapter 3 Style Sheets: CSS
WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE JEFFREY C. JACKSON Chapter 3 Style Sheets: CSS 1 Motivation HTML markup can be used to represent Semantics: h1 means that an element is a top-level heading
More informationIntroduction to Cascading Style Sheet (CSS)
Introduction to Cascading Style Sheet (CSS) Digital Media Center 129 Herring Hall http://dmc.rice.edu/ dmc-info@rice.edu (713) 348-3635 Introduction to Cascading Style Sheets 1. Overview Cascading Style
More informationCSS Cascading Style Sheets
CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with
More informationWeb Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh
Web Programming and Design MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh Plan for the next 5 weeks: Introduction to HTML tags Recap on HTML and creating our template file Introduction
More informationCSS. 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 informationCREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1
CREATING A WEBSITE USING CSS Mrs. Procopio CTEC6 MYP1 HTML VS. CSS HTML Hypertext Markup Language CSS Cascading Style Sheet HTML VS. CSS HTML is used to define the structure and content of a webpage. CSS
More informationUnit 20 - Client Side Customisation of Web Pages. Week 2 Lesson 3 Introduction to CSS
Unit 20 - Client Side Customisation of Web Pages Week 2 Lesson 3 Introduction to CSS Last Time Looked at what CSS is Looked at why we will use it Used in-line CSS
More informationCSS 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 informationITNP43: HTML Lecture 4
ITNP43: HTML Lecture 4 Niederst, Part III (3rd edn) 1 Style versus Content HTML purists insist that style should be separate from content and structure HTML was only designed to specify the structure and
More informationWelcome 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 informationCascading 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 informationWEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:
WEBSITE PROJECT 2 PURPOSE: The purpose of this project is to begin incorporating color, graphics, and other visual elements in your webpages by implementing the HTML5 and CSS3 code discussed in chapters
More informationLab Introduction to Cascading Style Sheets
Lab Introduction to Cascading Style Sheets For this laboratory you will need a basic text editor and a browser. In the labs, winedt or Notepad++ is recommended along with Firefox/Chrome For this activity,
More informationWeb Site Design and Development Lecture 5
Web Site Design and Development Lecture 5 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM CSS CSS stands for Cascading Style Sheets. These style sheets define the look and layout of your HTML elements. A
More informationINTRODUCTION TO HTML5! CSS Styles!
INTRODUCTION TO HTML5! CSS Styles! Understanding Style Sheets HTML5 enables you to define many different types of content on a web page, including headings, paragraphs, lists, images, input fields, canvases,
More informationCSS: Cascading Style Sheets
CSS: Cascading Style Sheets Computer Science and Engineering College of Engineering The Ohio State University Lecture 13 Evolution of CSS MIME type: text/css CSS 1 ('96): early recognition of value CSS
More informationGraph and Digraph Glossary
1 of 15 31.1.2004 14:45 Graph and Digraph Glossary A B C D E F G H I-J K L M N O P-Q R S T U V W-Z Acyclic Graph A graph is acyclic if it contains no cycles. Adjacency Matrix A 0-1 square matrix whose
More informationADDING CSS TO YOUR HTML DOCUMENT. A FEW CSS VALUES (colour, size and the box model)
INTRO TO CSS RECAP HTML WHAT IS CSS ADDING CSS TO YOUR HTML DOCUMENT CSS IN THE DIRECTORY TREE CSS RULES A FEW CSS VALUES (colour, size and the box model) CSS SELECTORS SPECIFICITY WEEK 1 HTML In Week
More informationWeb 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 informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout
More informationCSS: Cascading Style Sheets
What are Style Sheets CSS: Cascading Style Sheets Representation and Management of Data on the Internet, CS Department, Hebrew University, 2007 A style sheet is a mechanism that allows to specify how HTML
More informationCreating and Building Websites
Creating and Building Websites Stanford University Continuing Studies CS 21 Mark Branom branom@alumni.stanford.edu Course Web Site: http://web.stanford.edu/group/csp/cs21 Week 6 Slide 1 of 28 Week 6 Agenda
More informationCOMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts
COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts Ullrich Hustadt Department of Computer Science School of Electrical Engineering, Electronics, and Computer Science University
More informationIntroduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.
An introduction to defining CSS style rules using tags, classes and ids. 1 The HTML file contains the raw content of a web page, and the css style sheet should control all the design and look of a web
More informationThree Ways to Use CSS:
Introduction to CSS CSS Defined: Short for "Cascading Style Sheets". Determines how the elements in our XHTML documents are displayed and formatted. Designed to separate the content of a web page from
More informationDocument Object Model. Overview
Overview The (DOM) is a programming interface for HTML or XML documents. Models document as a tree of nodes. Nodes can contain text and other nodes. Nodes can have attributes which include style and behavior
More informationStyles, Style Sheets, the Box Model and Liquid Layout
Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of
More informationChapter 7 BMIS335 Web Design & Development
Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating
More informationCSS Cascading Style Sheets
CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css charlie.jpg Linking to your HTML You need to link to your css in the of your HTML file.
More information.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {
.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in;.tube { color: #996600; height: 3in; width: 12in; position: fixed; What is CSS? Cascading Style Sheets CSS is responsible
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 12 Lecture Outline Background property and subproperties Position Elements by Floating
More informationClass 3 Page 1. Using DW tools to learn CSS. Intro to Web Design using Dreamweaver (VBUS 010) Instructor: Robert Lee
Class 3 Page 1 Using DW tools to learn CSS Dreaweaver provides a way for beginners to learn CSS. Here s how: After a page is set up, you might want to style the . Like setting up font-family, or
More informationBlock & Inline Elements
Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not
More informationData Visualization (CIS/DSC 468)
Data Visualization (CIS/DSC 468) Web Programming Dr. David Koop Definition of Visualization Computer-based visualization systems provide visual representations of datasets designed to help people carry
More informationWeb Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 3 Test Bank
Multiple Choice. Choose the best answer. 1. Cascading Style Sheet rules are comprised of: a. Selectors and Declarations b. Properties and Declarations c. Selectors and Attributes 2. When CSS is coded in
More informationDeccansoft Software Services
Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module
More informationCHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS
BASICS OF WEB DESIGN CHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS 1 LEARNING OUTCOMES Describe the purpose of Cascading Style Sheets List advantages of using Cascading Style Sheets Configure color
More informationFinal Exam Study Guide
Final Exam Study Guide 1. What does HTML stand for? 2. Which file extension is used with standard web pages? a..doc b..xhtml c..txt d..html 3. Which is not part of an XHTML element? a. Anchor b. Start
More informationCOMS 359: Interactive Media
COMS 359: Interactive Media Agenda Review CSS Preview Review Transparent GIF headline Review JPG buttons button1.jpg button.psd button2.jpg Review Next Step Tables CSS Introducing CSS What is CSS? Cascading
More informationCascading Style Sheets CSCI 311
Cascading Style Sheets CSCI 311 Learning Objectives Learn how to use CSS to style the page Learn to separate style from structure Styling with CSS Structure is separated from style in HTML5 CSS (Cascading
More informationGIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST
GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple
More informationHTML/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 informationWeb Information System Design No.4 Put Style to Web Documents. Tatsuya Hagino
Web Information System Design No.4 Put Style to Web Documents Tatsuya Hagino (hagino@sfc.keio.ac.jp) 1 Web Page Components Combine orthogonal technologies content style programming style JavaScript Programming
More informationStudy 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 informationWeb Development & Design Foundations with HTML5
Web Development & Design Foundations with HTML5 KEY CONCEPTS Copyright Terry Felke-Morris 1 Learning Outcomes In this chapter, you will learn how to... Describe the evolution of style sheets from print
More informationIntroduction 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 informationAIM. 10 September
AIM These two courses are aimed at introducing you to the World of Web Programming. These courses does NOT make you Master all the skills of a Web Programmer. You must learn and work MORE in this area
More informationReading 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 informationCSS 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 informationCSC309 Winter Lecture 2. Larry Zhang
CSC309 Winter 2016 Lecture 2 Larry Zhang 1 Announcements Assignment 1 is out, due Jan 25, 10pm. Start Early! Work in groups of 2, make groups on MarkUs. Make sure you can login to MarkUs, if not let me
More informationLesson 5 Introduction to Cascading Style Sheets
Introduction to Cascading Style Sheets HTML and JavaScript BASICS, 4 th Edition 1 Objectives Create a Cascading Style Sheet. Control hyperlink behavior with CSS. Create style classes. Share style classes
More informationWEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5
WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 LEARNING OUTCOMES In this chapter, you will learn how to... Describe the evolution of style sheets from print media to the Web List
More informationWeb Development & Design Foundations with HTML5
1 Web Development & Design Foundations with HTML5 CHAPTER 3 CSS BASICS Copyright Terry Felke-Morris 2 Learning Outcomes In this chapter, you will learn how to... Describe the evolution of style sheets
More informationWhat is CSS? NAME: INSERT OPENING GRAPHIC HERE:
What is CSS? NAME: INSERT OPENING GRAPHIC HERE: Highlight VOCABULARY WORDS that you need defined. Put a? mark in any area that you need clarified. 1 What is CSS? CSS stands for Cascading Style Sheets Styles
More informationMinistry of Higher Education and Scientific Research
Morning Study Department of information technology Institute of Technical - Duhok. University of Polytechnic Duhok. Subject: Web Technology Course book for 2nd year. Lecturer s name: MSc. Ayman Nashwan
More informationData Visualization (DSC 530/CIS )
Data Visualization (DSC 530/CIS 602-01) HTML, CSS, & SVG Dr. David Koop Data Visualization What is it? How does it differ from computer graphics? What types of data can we visualize? What tasks can we
More informationWebsite Development with HTML5, CSS and Bootstrap
Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on
More informationHTML & 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 informationCascading 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 informationThe Benefits of CSS. Less work: Change look of the whole site with one edit
11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement
More informationIntroduction to Computer Science Web Development
Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 3 From Last time Introduction to Set Theory implicit and explicit set notation Jaccard
More informationChapter 4 CSS basics
Sungkyunkwan University Chapter 4 CSS basics Prepared by J. Lee and H. Choo Web Programming Copyright 2000-2018 Networking Laboratory 1/48 Copyright 2000-2012 Networking Laboratory Chapter 4 Outline 4.1
More informationCE419 Web Programming. Session 3: HTML (contd.), CSS
CE419 Web Programming Session 3: HTML (contd.), CSS 1 Forms 2 Forms Provides a way to interact with users. Not useful without a server-side counterpart. 3 From Elements
More informationHTML and CSS MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University
HTML and CSS MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University 2 HTML Quiz Date: 9/13/18 next Thursday HTML, CSS 14 steps, 25 points 1 hour 20 minutes Use class workstations
More informationCOMM 2555 Interactive Digital Communication LAB 4
COMM 2555 Interactive Digital Communication LAB 4 The goal of this lab is to practice HTML, especially lists and tables, and to continue exploring CSS. You will start with a blank HTML web page page and
More informationZen 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 informationCSS. Introduction to. Meganadha Reddy K. Technical Trainer NetCom Learning
Introduction to CSS Meganadha Reddy K. Technical Trainer NetCom Learning www.netcomlearning.com Advantages of Style Sheets Saves time Easy to change Keep consistency Give you more control over layout Make
More informationFirst Name Last Name CS-081 March 23, 2010 Midterm Exam
First Name Last Name CS-081 March 23, 2010 Midterm Exam Instructions: For multiple choice questions, circle the letter of the one best choice unless the question explicitly states that it might have multiple
More informationWeb Programming and Design. MPT Senior Cycle Tutor: Tamara Week 2
Web Programming and Design MPT Senior Cycle Tutor: Tamara Week 2 Plan for the next 4 weeks: Introduction to HTML tags, creating our template file Introduction to CSS and style Introduction to JavaScript
More informationCascading Style Sheet
Extra notes - Markup Languages Dr Nick Hayward CSS - Basics A brief introduction to the basics of CSS. Contents Intro CSS syntax rulesets comments display Display and elements inline block-level CSS selectors
More informationCSS: Beyond the Code. Karen Perone Rodman Public Library.
CSS: Beyond the Code Karen Perone Rodman Public Library peroneka@oplin.org HTML vs. CSS vs. Javascript HTML for content (text, images, sound) CSS for presentation (layout, color) Javascript for behavior
More informationMake 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 informationCSCB20 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 informationCSS
http://www.flickr.com/photos/baylorbear78/3406180116/ CSS 2 OVERVIEW OF CSS HTML is about content and structure (semantics) What is the content? How is the content related to other content? CSS is all
More informationGuidelines for doing the short exercises
1 Short exercises for Murach s HTML5 and CSS Guidelines for doing the short exercises Do the exercise steps in sequence. That way, you will work from the most important tasks to the least important. Feel
More informationCS193X: Web Programming Fundamentals
CS193X: Web Programming Fundamentals Spring 2017 Victoria Kirst (vrk@stanford.edu) Today's schedule Schedule: - HTML: Background and history - Complex selectors - Box model - Debugging with Chrome Inspector
More informationCSS. Location, Inheritance & the Cascade. Copyright DevelopIntelligence LLC
CSS Location, Inheritance & the Cascade 1 CSS: Location Where do these rules go? 3 places External CSS files, Embedded style sheets, Inline styles External style sheet place to put CSS one external style
More informationCSE 154 LECTURE 3: MORE CSS
CSE 154 LECTURE 3: MORE CSS Cascading Style Sheets (CSS): ... ... HTML CSS describes the appearance and layout of information
More informationCS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013
CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013 Part I. (50%) Multiple Guess Choice. 1. What does CSS stand for? a. Creative Style Sheets b. Computer Style Sheets c. Cascading Style
More informationScripting for Multimedia LECTURE 5: INTRODUCING CSS3
Scripting for Multimedia LECTURE 5: INTRODUCING CSS3 CSS introduction CSS Level 1 --> CSS Level 2 --> CSS Level 3 (in modules) More than 50 modules are published Cascading style sheets (CSS) defines how
More informationTo Ponder. Which one wins? .draft div.warning li { }.draft div #main li {!important; } div #main ul li { }.draft.warning ul li { }
To Ponder Which one wins?.draft div.warning li { }.draft div #main li {!important; } div #main ul li { }.draft.warning ul li { } CSS Cont'd: Cascading Style Sheets Computer Science and Engineering College
More informationDAY 4. Coding External Style Sheets
DAY 4 Coding External Style Sheets LESSON LEARNING TARGETS I can code and apply an embedded style sheet to a Web page. I can code and apply an external style sheet to multiple Web pages. I can code and
More informationCascading style sheets, HTML, DOM and Javascript
CSS Dynamic HTML Cascading style sheets, HTML, DOM and Javascript DHTML Collection of technologies forming dynamic clients HTML (content content) DOM (data structure) JavaScript (behaviour) Cascading Style
More informationCascading Style Sheet. Styles as Tag Attributes. Syntax. <h1>: what font type/size is used? STYLE = SELECTOR {RULES} Attributes such as bgcolor
Styles? Cascading Style Sheet http://www.eie.polyu.edu.hk/~nflaw/biclustering/index.html Request string: GET /~nflaw/biclustering/index.html HTTP/1.1 Host: www.eie.polyu.edu.hk 1 Response string: HTTP/1.1
More informationWhat is the Box Model?
CSS Box Model What is the Box Model? The box model is a tool we use to understand how our content will be displayed on a web page. Each HTML element appearing on our page takes up a "box" or "container"
More informationDiploma in Mobile App Development Part I
Diploma in Mobile App Development Part I Lesson 3 Intro to HTML & CSS MAD Educator: Tadhg Deeney @ShawMobileApp Webinar Interaction Any questions? - Our support team are here to help Chat box - Comment
More information