CS134 Web Site Design & Development. Quiz1



Similar documents
How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

Introduction to Web Development

CST 150 Web Design I CSS Review - In-Class Lab

Contents. Downloading the Data Files Centering Page Elements... 6

Essential HTML & CSS for WordPress. Mark Raymond Luminys, Inc mraymond@luminys.com

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

HTML and CSS. Elliot Davies. April 10th,

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Introduction to Web Technologies

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

HTML Fails: What No One Tells You About HTML

Coding Standards for Web Development

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

CIS 467/602-01: Data Visualization

JJY s Joomla 1.5 Template Design Tutorial:

WEB DEVELOPMENT IA & IB (893 & 894)

Introduction to web development and JavaScript

Web Development 1 A4 Project Description Web Architecture

Chapter 1 Introduction to web development and PHP

Web Development I & II*

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

ITNP43: HTML Lecture 4

Introduction to Web Design Curriculum Sample

The Web Web page Links 16-3

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Further web design: Cascading Style Sheets Practical workbook

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

Web Authoring CSS. Module Descriptor

We automatically generate the HTML for this as seen below. Provide the above components for the teaser.txt file.

Chapter 1. Introduction to web development

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Dreamweaver CS5. Module 1: Website Development

{color:blue; font-size: 12px;}

Microsoft Expression Web Quickstart Guide

Fast track to HTML & CSS 101 (Web Design)

ICE: HTML, CSS, and Validation

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Web Design for Programmers. Brian Hogan NAPCS Slides and content 2008 Brian P. Hogan Do not reproduce in any form without permission

IT3504: Web Development Techniques (Optional)

Using Adobe Dreamweaver CS4 (10.0)

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

Dreamweaver. Introduction to Editing Web Pages

Web Development CSE2WD Final Examination June (a) Which organisation is primarily responsible for HTML, CSS and DOM standards?

CREATING WEB PAGES USING HTML INTRODUCTION

How To Write A Web Page In Html

CSS 101. CSS CODE The code in a style sheet is made up of rules of the following types

WordPress and HTML Basics

Basic Website Maintenance Tutorial*

Cascading Style Sheets (CSS)

Learning Web Design. Third Edition. A Beginner's Guide to (X)HTML, Style Sheets, and Web Graphics. Jennifer Niederst Robbins

Creating a Resume Webpage with

Taking your HTML s to the Next Level. Presented by: Joey Trogdon, Asst. Director of Financial Aid & Veterans Affairs Randolph Community College

Web Developer Jr - Newbie Course

IT3503 Web Development Techniques (Optional)

IAS Web Development using Dreamweaver CS4

Web Design Revision. AQA AS-Level Computing COMP2. 39 minutes. 39 marks. Page 1 of 17

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Responsive Web Design: Media Types/Media Queries/Fluid Images

Introduction to XHTML. 2010, Robert K. Moniot 1

HTML, CSS, XML, and XSL

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Web design 1: Introduction to creating a website using Dreamweaver MX

How to Properly Compose HTML Code : 1

Course: CSC 224 Internet Technology I (2 credits Compulsory)

Getting Started with KompoZer

Short notes on webpage programming languages

Creating HTML authored webpages using a text editor

Welcome to CSE 330 Crea0ve Progamming and Rapid Prototyping. Course Informa0on

Web layout guidelines for daughter sites of Scotland s Environment

KOMPOZER Web Design Software

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

HTML5 & CSS3. ( What about SharePoint? ) presented

Web Authoring. Module Descriptor

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

How to code, test, and validate a web page

HTML Fundamentals IN THIS APPENDIX

Contents. Introduction Downloading the Data Files... 2

Using Style Sheets for Consistency

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Simply download Beepip from and run the file when it arrives at your computer.

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Agenda. 1. ZAPms Konzept. 2. Benutzer-Kontroller. 3. Laout-Aufbau. 4. Template-Aufbau. 6. Konfiguration. 7. Module.

Web Design I. Spring 2009 Kevin Cole Gallaudet University

Basic tutorial for Dreamweaver CS5

Introduction to Adobe Dreamweaver CC

ICT 6012: Web Programming

Chapter 16 Exercises and Answers

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

Website Login Integration

Fairsail PDF Template Generator: A Complete Guide

Learnem.com. Web Development Course Series. Quickly Learn. Web Design Using HTML. By: Siamak Sarmady

Web Portal User Guide. Version 6.0

<?xml version= 1.0?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

Dreamweaver CS5. Module 2: Website Modification

Transcription:

CS134 Web Site Design & Development Quiz1 Name: Score: Email: I Multiple Choice Questions (2 points each, total 20 points) 1. Which of the following is an example of an IP address? [Answer: d] a. www.whitehouse.gov b. http://www.whitehouse.gov/history/index.htm c..gov d. 216.43.187.162 2. When you are browsing the Web and viewing web pages, your computer is acting as a: [Answer: b] a. telent b. client c. server d. packet 3. On Internet, data is transmitted by using the Internet Protocol: [Answer: a] a. packet switching b. circuit switching c. virtual circuit switching d. combination of circuit switching and packet switching 4. Basic syntax for XHTML tags and attributes is: [Answer: d] a. <tag attribute=value> </tag> b. <tag attribute=value> <tag> c. <tag attribute= value > <tag> d. <tag attribute= value > </tag> 5. The XHTML code <a href= http://www.cs.pitt.edu/ >CS Department at Pitt</a> will create a to Pitt CS web page: [Answer: b] a. internal link b. external link c. anchor d. combination link

Questions 6 to 8 use the following example. Example 1..class1 {fontsize: 14px} p {text-indent:5%;}.imgleft{ position:relative; float:left; margin:20px 15px 20px 15px; padding:0px; border:5px solid silver; } 6. A style sheet consists of a set of rules. Each rule consists of one or more selectors and a declaration block. In the Example 1, there is/are [Answer: d] a. no rule b. 1 rule c. 2 rules d. 3 rules 7. In the Example 1,.class1 is a [Answer: a] a. selector b. rule c. declaration block d. attribute 8. In the Example 1, text-indent is a [Answer: b] a. attribute b. property c. stylesheet element d. value 9. In the example below <h1 style="color:white; background:orange; font-weight:bold;">this is my web page</h1> The attribute style is used to create: [Answer: c] a. an internal style sheet b. an external style sheet c. a local style sheet d. none of the above 10. Given that (33)16 = (51)10, (CC)16 = (204)10, (FF)16 = (255)10, the color value

rgb(51, 204, 255) in RGB format is equal to the color value in hexadecimal format [Answer: b] a. #51CCFF b. #33CCFF c. #FFCC33 d. #FFCC51 II True or false questions (T for true, F for false; 2 points each, total 16 points) 1. Domain Name System (DNS) is a mapping between the human-readable name (domain name) of a host and its IP address. [Answer: T] 2. A browser is a software program which interprets the HTML documents and displays it on the user s screen. [Answer: T] 3. A tag is an html code that is enclosed in angel brackets (<>), and it's used to lay out the web page. [Answer: T] 4. In XHTML, only lowercase tags are allowed. [Answer: T] 5. In XHTML, tags should appear in pairs, and no overlapping tags are allowed. [Answer: T] 6. The following XHTML code will display nothing on the screen: <!-- abcdefghijklmnopqrstuvwxyz--> [Answer: T] 7. The following is a legitimate XHTML code: [Answer: F] <em><h2>bold and italic</h2></em> 8. If we put the XHTML code <link href=./mystyle.css" rel="stylesheet" type="text/css" /> in between the <head> and </head> tags of a web page, then this will tell the web page to use the mystyle.css as external stylesheet. [Answer: T] III Fill in the blanks. (2 points each, total 28 points) 1. Explain the meaning of each part of the following URL: http://socrates.berkeley.edu/courses/history/hist181.html

http:// protocol socrates.berkeley.edu domain name /courses/history/hist181.html path of the document 2. <br /> tag is used for line break. 3. <h1> to <h6> tags are used for defining header text. 4. If a block of text is inserted between <em> and </em> tags, then that text will be displayed in italic ; if they re inserted between <strong> and </strong> tags, then that text will be displayed in bold. 5. In the following XHTML code, the text This paragraph introduces html attributes is displayed in the browser when mouse is over the text Welcome to my web page. <p title= This paragraph introduces html attributes >Welcome to my web page</p> 6. CSS is introduced in order to separate structure from content. 7. The XHTML tag we use to create unordered list is <ul>. 8. The XHTML tag we use to create table header in a table is <th>. 9. When we re inserting an image in a web page, we use <img> tag in the following format: <img src= value1 alt= value2 /> In the above format, value1 is the _alternative text_ of the image we want to insert, and value2 is the path of the image. IV Writing code (36points total) Write the XHTML source code for the web page in Picture 1. The following information is given to you: 20 pixel padding 6 pixel border with color #9DACBF

The XHTML code for the above web page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www/w3/org/tr/xhtml/11/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style> h1, h6{ text-align:center; margin: 0px;

padding: 20px; border: 6px solid #9DACBF; } } </style> </head> <body> <h1>mehmud Abliz</h1> <h2>welcome to my web page!</h2> <h3>about Me</h3> <p>my name is Mehmud Abliz, I am a graduate student at computer science department of University of Pittsburgh.</p> <h3>my Address</h3> <address>room 6150, Sennott Square<br /> University of Pittsburgh<br /> Pittsburgh, PA 15260 </address> <h3>my Favorite Songs</h3> <ul> <li>november Rain - Guns and Roses</li> <li>nothing Else Matters - Metallica</li> <li>come As You Are - Nirvana</li> </ul> <h3>my Courses</h3> <p>i'm taking <strong>visual Languages</strong>, <strong>network Security</strong>, and <strong>independent Study</strong> this semester.</p> <h6> 2007 Mehmud Abliz</h6> </body> </html>