Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 3 Test Bank

Similar documents
CSS: The Basics CISC 282 September 20, 2014

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

Web Development & Design Foundations with HTML5

Cascading Style Sheets Level 2

Chapter 7 Typography, Style Sheets, and Color. Mrs. Johnson

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

ACSC 231 Internet Technologies

CS 350 Internet Applications I Name: Exam II (CSS) October 29, 2013

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

Three Ways to Use CSS:

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. Mohammad Jawad Kadhim

Html basics Course Outline

Cascading Style Sheet. Styles as Tag Attributes. Syntax. <h1>: what font type/size is used? STYLE = SELECTOR {RULES} Attributes such as bgcolor

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

CSS.

ITNP43: HTML Lecture 4

Activity 4.1: Creating a new Cascading Style Sheet

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

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

Multimedia for the Web: Creating Digital Excitement. Multimedia Element Text

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

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

Block & Inline Elements

Cascading Style Sheets (CSS)

CSS Cascading Style Sheets

CASCADING STYLE SHEETS (CSS) BY: RIHAM ALSMARI, PNU. Lab 4

By completing this practical, the students will learn how to accomplish the following tasks:

Introduction to WEB PROGRAMMING

CHAPTER 4 CASCADING STYLE SHEETS BASICS KEY CONCEPTS

CSS. Lecture 16 COMPSCI 111/111G SS 2018

To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Final Exam Study Guide

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

How to create and edit a CSS rule

CSS Lecture 16 COMPSCI 111/111G SS 2018

Zen Garden. CSS Zen Garden

Controlling Appearance the Old Way

CSE 154 LECTURE 3: MORE CSS

Web Design and Development Tutorial 03

Web Design and Development ACS-1809

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

CSS: formatting webpages

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

Faculty of Engineering Department of Computer Engineering. CSS Tutorial. Eng. Ahmed J. Alajrami

Introducing Cascading Style Sheets. Cascading Style Sheet Basics Creating Styles Using Styles Manipulating Styles Text Formatting with CSS

Introduction to HTML and CSS. Arts and Humanities in the Digital Age 2018 CHASE DTP Dr. Paul Gooding

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

Creating and Building Websites

Appendix D CSS Properties and Values

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

Step 1- Creating a new XHTML Website (2points)

How to use CSS text styles

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

In the early days of the Web, designers just had the original 91 HTML tags to work with.

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

RAVASMARTSOLUTIONS - TECH TIPS

CSS: Cascading Style Sheets

Cascading Style Sheets. Overview and Basic use of CSS

CISC1600-SummerII2012-Raphael-lec3 1

CSS. Introduction to. Meganadha Reddy K. Technical Trainer NetCom Learning

Introduction to Web Design CSS Reference

Introduction to Web Design CSS Reference

<body bgcolor=" " fgcolor=" " link=" " vlink=" " alink=" "> These body attributes have now been deprecated, and should not be used in XHTML.

Deccansoft Software Services

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Cascading style sheets, HTML, DOM and Javascript

INFORMATICA GENERALE 2014/2015 LINGUAGGI DI MARKUP CSS

To link to an external stylesheet, the link element is placed within the head of the html page:

Chapter 4 CSS basics

Web Recruitment Module Customisation

COSC 2206 Internet Tools. CSS Cascading Style Sheets

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

Using CSS in Web Site Design

HTML/XML. HTML Continued Introduction to CSS

CSS Cascading Style Sheets

Lab Introduction to Cascading Style Sheets

Lecture Notes 4b: CSS Classes. CSS class selectors. The HTML class attribute. CSE 190 M (Web Programming), Spring 2007 University of Washington

COMP519 Web Programming Autumn Cascading Style Sheets

COMSC-031 Web We S ite Site Development Development- Part 2 Part-Time Instructor: Joenil Mistal November 7, 2013

CSS 1: Introduction. Chapter 3

Introduction to CSS. Part 1: Simple Text Formatting. Source Files for this Exercise are available on the Course Website DW_CSS intro

2005 WebGUI Users Conference

PUBLISHER SPECIFIC CSS RULES

Tutorial 3: Working with Cascading Style Sheets

Introduction to Web Programming and Design

Web Structure and Style. MB2030 Section 2 Class 4

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

Module 2 (VII): CSS [Part 4]

Cascading Style Sheets (CSS) Part 1 of 3: Introduction and overview

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

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

Using Dreamweaver CS6

CSc 337 LECTURE 3: CSS

CSS Styles Quick Reference Guide

Transcription:

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 the body of the web page as an attribute of an HTML tag it is called. a. Embedded b. Inline c. External d Imported 3. Select the items below that can be used as a CSS Selector. a. an HTML element b. a class name c.an id name d. All of the above 4. The declaration property used to set the text color on a web page is: a. bgcolor b. text-color c. color Page 1

5. To apply a style to a certain group of elements on a web page, configure a CSS. a. group b. id c. class 6. Use the property to configure bold text using CSS a. bold b. font-style c. font-weight d. you cannot configure bold text with CSS 7. An external style sheet uses the file extension. a. ess b. css c. htm d. No file extension is necessary 8. Use the tag to associate a web page with an external style sheet. a. <target> b. <a> c. <include> d. <link> Page 2

9. Select the code below that uses CSS to configure a background color of #eaeaea for a web page. a. body {background-color:#eaeaea; } b. document {background-page:#eaeaea; } c. body {bgcolor:#eaeaea; } 10. Select the code below that uses CSS to configure a class called offer with blue text that uses the Arial or sans-serif font typeface. a. #offer { color:blue; font-family:arial,sans-serif;} b..offer { color:blue; font-family:arial,sans-serif;} c..offer { text:blue; font-family:arial,sans-serif;} d. #offer { color:blue; font-family:arial,sans-serif;} 11. Use the tag to configure a generic area on a web page that is embedded within a paragraph or other block display element. a. <div> </div> b. <span> </span> c. <title> </title> d. <meta> </meta> Page 3

12. Use the tag to code embedded styles on a web page. a. <link> b. <style>.. </style> c. <embed> d. none of the above 13. Select the code below that uses CSS to configure an id named example that configures small, italic text. a. #exampe{ font-size: small; font-weight: italic; } b..example { font-size: small; font-style: italic; } c..example { font-size: small; font-style: italic; } d. #example { font-size: small; font-style: italic; } 14. Use the tag to configure a section of a web page that is physically separated from others. a. <div> </div> b. <span> </span> c. <a> </a> d. <i> </i> Page 4

15. CSS was first proposed as a standard by the W3C in. a. 1996 b. 2002 c. 1992 d. none of the above 16. To associate an external style sheet with a web page, code: a. a link element in the body section of the web page b. a link element in the head section of the web page c. a style element in the body section of the web page d. a style element in the head section of the web page e. 17. Which CSS property configures the size of text? a. text-size b. font-size c. size d. font-weight 18. Which CSS property configures the color of text? a. text-color b. font-color c. color d. font-style Page 5

19. Which CSS property can be used to configure italic text? a. font-italic b. font-style c. font-weight d. font-type 20. Which CSS property configures the font typeface? a. font-face b. font-type c. font-family d. font-style e. 21. Which CSS property configures the capitalization of text? a. font-type b. text-transform c. text-decoration d. font-weight 22. The property configures a shadow effect on the text displayed within an element. a. font-weight b. shadow c. text-shadow d. font-style Page 6