Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

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

Lab 4 CSS CISC1600, Spring 2012

Create a cool image gallery using CSS visibility and positioning property

CMPT 165 Advanced XHTML & CSS Part 3

Implementing a chat button on TECHNICAL PAPER

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

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

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

Cascading Style Sheets (CSS)

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

CSS.

Fundamentals: Client/Server

CIS 228 (Fall 2011) Exam 2, 11/3/11

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

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

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

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Getting Started with CSS Sculptor 3

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

Creating and Building Websites

CSS: The Basics CISC 282 September 20, 2014

Using Dreamweaver CC. 6 Styles in Websites. Exercise 1 Linked Styles vs Embedded Styles

HTML. HTML Evolution

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

CS134 Web Site Design & Development. Quiz1

Web Publishing Intermediate 2

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

Outline. Link HTML With Style Sheets &6&7XWRULDO &66 ;+70/ (GZDUG;LD

Introduction to WEB PROGRAMMING

HTML & CSS November 19, 2014

CSS: Cascading Style Sheets

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

HyperText Markup Language (HTML)

Using Dreamweaver CS6

XHTML & CSS CASCADING STYLE SHEETS

How the Internet Works

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

CSS Cascading Style Sheets

Title: Dec 11 3:40 PM (1 of 11)

Lab Introduction to Cascading Style Sheets

Tips from Bryan. (past student)

ICT IGCSE Practical Revision Presentation Web Authoring

CE419 Web Programming. Session 3: HTML (contd.), CSS

Dreamweaver: Portfolio Site

Before you begin, make sure you have the images for these exercises saved in the location where you intend to create the Nuklear Family Website.

CSS: Cascading Style Sheets

KillTest *KIJGT 3WCNKV[ $GVVGT 5GTXKEG Q&A NZZV ]]] QORRZKYZ IUS =K ULLKX LXKK [VJGZK YKX\OIK LUX UTK _KGX

CIS 228 (Fall 2011) Exam 1, 9/27/11

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

Adding CSS to your HTML

Website Development with HTML5, CSS and Bootstrap

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

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

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

3. Each of these mark examples contains an error. a. <input name= country value= Your country here. /> b. <checkbox name= color value= teal />

Basic Web Pages with XHTML (and a bit of CSS) CSE 190 M (Web Programming), Spring 2008 University of Washington Reading: Chapter 1, sections

Web Publishing Basics I

Micronet International College

HTML/XML. HTML Continued Introduction to CSS

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

Wireframe :: tistory wireframe tistory.

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

CSS Styles Quick Reference Guide

CSS stands for Cascading Style Sheets Styles define how to display HTML elements

Co. Louth VEC & Co. Monaghan VEC. Programme Module for. Web Authoring. leading to. Level 5 FETAC. Web Authoring 5N1910

ICT IGCSE Practical Revision Presentation Web Authoring

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Shane Gellerman 10/17/11 LIS488 Assignment 3

Vebra Search Integration Guide

CIS 228 (Fall, 2012) Exam 2, 11/20/12

CSCI 1100L: Topics in Computing Spring 2018 Web Page Project 50 points

Creating HTML files using Notepad

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

Dreamweaver CS3 Lab 2

Perfect Student Midterm Exam March 20, 2007 Student ID: 9999 Exam: 7434 CS-081/Vickery Page 1 of 5

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

Deccansoft Software Services

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

Introduction to using HTML to design webpages

Document Object Model. Overview

HTML and CSS COURSE SYLLABUS

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

CS193X: Web Programming Fundamentals

Ministry of Higher Education and Scientific Research

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

Inline Elements Karl Kasischke WCC INP 150 Winter

c122jan2714.notebook January 27, 2014

Using Dreamweaver CS6

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

Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d a1830b60ab13ddec9a2ff6

Reading 2.2 Cascading Style Sheets

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc

Html basics Course Outline

HTML & CSS. Rupayan Neogy

Programmazione Web a.a. 2017/2018 HTML5

Midterm 1 Review Sheet CSS 305 Sp 06

ANSWER KEY Exam I (Yellow Version) CIS 228: The Internet Prof. St. John Lehman College City University of New York 26 February 2009

Transcription:

CS-101 Fall 2008 Section 4 Practice Final v1.0m Name: Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points) XHTML/CSS Reference: Entities: Copyright symbol Less-than sign Greater-than sign Space Quotation marks CSS Properties: font-family font-size padding padding-left padding-right padding-top padding-bottom background-color color border-width border-style border-color margin margin-left margin-right margin-top margin-bottom border-collapse top left right position width height Pseudo-classes: a:link a:visited a:focus a:hover a:active < > "

Multiple Choice, True/False, Short Answer (3 points each 75 points total) 1) T/F: The following line of markup is valid in XHTML 1.0 strict. <form method=get action=http://www.google.com/search> 2) T/F: The following markup is valid in XHTML 1.0 strict. <div> <img src="mypic.jpg" width="200" height="200" alt="photo of me"> </div> 3) T/F: The head and body elements both belong nested inside the html element. 4) T/F: To get an img element to validate as XHTML 1.0 strict, an alt attribute is required. 5) Which of the following is not an element used in a table? a) td b) th c) tb d) tr 6) T/F: A web page must be on a web server in order to be "on the Internet". 7) T/F: A relative URL is preferable to an absolute URL when linking to files on your own website. 8) On your friend's computer you see that a website folder has both.html and.css files in it. Before getting any further information, you have already determined that the website (1) using external CSS and (2) using embedded CSS. Fill in the blanks. a) (1) is likely to be, (2) is not b) (1) must be, (2) is not c) (1) must be, (2) might be d) (1) is likely to be, (2) might be 9) Which of the following is not a valid value for the type attribute of an input element? a) get b) text c) hidden d) submit 10) What term below describes how many times a particular webpage has been requested? a) Pings b) Page views c) Site visits d) Uploads

11) Given the following form, what will the resulting URL look like if the user enters "merge" in the text box labeled "Sort Technique", leaves everything else as is, and clicks the submit button? <form method="get" action="http://cs.nmu.edu/~mkowalcz/sort.php"> <div> <label for="a">sort Technique</label> <input type="text" id="a" name="algorithm" value="quicksort"></input> <label for="s">input size</label> <input type="text" id="s" name="size" value="55"></input> <input type="submit"></input> </div> </form> a) http://cs.nmu.edu/~mkowalcz/sort.php?algorithm=quicksort&size=merge b) http://cs.nmu.edu/~mkowalcz/sort.php?algorithm=merge&size=55 c) http://cs.nmu.edu/~mkowalcz/sort.php?algorithm=merge&size= d) http://cs.nmu.edu/~mkowalcz/sort.php?a=merge&s=55 12) Given the CSS rule below, which of the following elements would have the color applied to it?.p { color: #ff0000; a) <p>some text</p> b) <div class="p">some text</div> c) <div id="p">some text</div> d) All of the above 13) Given the CSS rule below, which of the following elements would have the color applied to it? #div { color: #ff0000; a) <div>some text</div> b) <p class="div">some text</p> c) <p id="div">some text</p> d) None of the above 14) Given the CSS rule below, which of the following elements would have the color applied to it? div { color: #0000ff; a) <div>some text</div> b) <p class="div">some text</p> c) <p id="div">some text</p> d) None of the above

15) What does the following CSS rule apply to? div p { background-color: #555555; a) All div elements that are nested inside a p element b) All p elements that have id="div" c) All p elements and all div elements d) All p elements that are nested inside a div element 16) Given the following CSS and XHTML fragments, what color is hello and goodbye? CSS Fragment: div { color: blue; p { color: red; span { color: green; XHTML Fragment <div> <p>hello</p> </div> <p> <span>goodbye</span> </p> a) Hello is red, goodbye is green b) Hello is blue, goodbye is red c) Hello is red, goodbye is red d) Hello is blue, goodbye is green 17) What is the primary intended purpose of the p element? a) To change the font. b) To markup a paragraph of text (and inline elements). c) To show off one's "HTML skills". d) The p element has no real purpose.

18) Suppose you made modifications to your webpage but you don't see any changes in the browser. Name a possible cause of the problem. 19) Why do we use elements such as em and strong when we could get the same visual effect via CSS? 20) What is the purpose of the style element? 21) Someone says they have "commented out some of their markup". Specifically, what are they talking about? 22) Name one advantage and one disadvantage of using.png instead of.jpg 23) In terms of accessibility, name at least one physical and one technology-based limitation that may effect a user's experience when visiting a website. 24) Convert the decimal number 171 into hexadecimal. 25) Convert the hexadecimal number 56 into decimal.

Write-the-page (25 points) Write this webpage by filling in XHTML and external CSS on the following pages of this exam. The Mantis Shrimp heading is in Baskerville old face font, with serif as a backup font. The body background is a very light blue color. The phrase UV and even polarized light has a yellow highlighter background effect. Both links appear as dark green in color. o o The first one links to http://en.wikipedia.org/wiki/mantis_shrimp The second one links to a file called gallery.html, in the same directory as the web page below. The border of the box at the right is red, and the background is a very light green color. Note the extra space to the left and right of the content within. The image is a 400 by 400 pixel image called mantis.jpg, and is in a subdirectory called images, but it is displayed on the page as 200 by 200 pixels. The image acts as a thumbnail; clicking on it goes to the actual 400 by 400 pixel image.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>mantis Shrimp</title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="style1.css" type="text/css" /> </head> <body> </body> </html>

/* This side of the page is the style1.css file */