wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

MAWD Unit 4

Total questions: 65

Worksheet time: 33mins

Name
Class
Date
1.

Which is the proper way to code an inline style attribute?

a)

color=blue

b)

color blue

c)

"color:blue"

d)

color=(blue)

2.

Tiffany is creating a multiple page website and wants consistency in appearance. Which CSS method permits her to update the appearance of all pages by changing one file?

a)

External style sheet

b)

Inline styles

c)

Internal style sheet

d)

CSS selectors

3.

Which item refers to the start tag, the end tag and everything in between?

a)

HTML tag

b)

HTML attribute

c)

HTML element

d)

CSS

4.

What section of a web page contains the author of the document, copyright information, links to the terms of the use, contact information, etc.

a)

Header

b)

Footer

c)

Nav

d)

Div

5.

A designer would use which tag to create a web page with sections of specific styles?

a)

<Header>

b)

<Footer>

c)

<Nav>

d)

<Div>

6.

Which CSS inline style results in the text size of a web page paragraph displaying at 14px?

a)

<p style=“font:14px”>

b)

<p style=“size:14px”>

c)

<p font=“size:14pt”>

d)

<p style=“font-size:14px”>

7.

What is the difference between an HTML tag and an HTML element?

a)

An HTML tag is case sensitive and an HTML element is not case sensitive.An HTML tag defines content and an HTML element gives additional meaning and content.

b)

An HTML Tag defines content and an HTML element includes the opening and closing tags and everything in between.

c)

An HTML tag is always paired and an HTML element is an “empty” tag.

8.

The World Wide Web Consortium (W3C) plays which role in the web development standards?

a)

It creates websites accessible to everyone.

b)

It develops the standards for HTML and CSS.

c)

It develops web browsers.

d)

It is the agency that controls the World Wide Web.

9.

What type of CSS is coded in line 14?


1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

Inline CSS

b)

Internal CSS

c)

External CSS

d)

CSS declarations

10.

Which tag will create a line break in a web document?

a)

<br />

b)

<hr />

c)

<h1 />

d)

<li />

11.

What will display for lines 24 through 27 in the code below?


1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>HTML Introduction</title>

5 </head>

6 <body>

7 <h1>Things I know about HTML</h1>

8 <hr>

9 <h2>3 Facts about HTML</h2>

10 <ul>

11 <li>HTML stands for Hypertext Markup Language.</li>

12 <li>The w3c makes recommendations that become Web standards.</li>

13 <li>The current HTML standard is html 5</li>

14 </ul>

15 <img src="http://www.w3.org/html/logo/img/html5-display.png">

16 <br>

17 <a href="http://www.w3.org/">World Wide Web Consortium<a>

18 <br>

19 <video width="320" height="240" controls>

20 <source src="movie.mp4" type="video/mp4">

21 Your browser does not support this video tag

22 </video>

23 <br>

24 <audio controls>

25 <source src="horse.mp3" type="audio/mpeg">

26 Your browser does not support this video tag

27 </audio>

28 </body>

29 </html>

a)

Numbered list

b)

Bulleted list

c)

Hyperlink

d)

Audio

12.

John wants the name of his book to appear in Google's search results. In which tag should this information be placed within in his web page?

a)

<meta>

b)

<head>

c)

<body>

d)

<nav>

13.

What is the proper code to insert an image named “frog.jpg” into a web page?

a)

<img src=“frog” width=“104” height=“142”>

b)

<img src=“frog.jpg” width=“104” height=“142”>

c)

<img=“frog.jpg” width=“104” height=“142”>

d)

<img =“frog” width=“104” height“142”>

14.

In the code below, how will the paragraph in lines 24 and 25 display when viewed in a web browser?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

Verdana, white text, 30 pixels

b)

Verdana, #CCCCCC text color, center aligned

c)

Verdana, white text, 18 pixels

d)

Times New Roman, black text, 16 pixels

15.

What tag defines the beginning of a web page?

a)

<h1>

b)

<p>

c)

<html>

d)

<title>

16.

Sarah wants to create a web page displaying text in the Arial typeface. Which CSS inline style should be used?

a)

<body style=“font:Arial”>

b)

<body font=“style:Arial”>

c)

<body style=“font-family:Arial”>

d)

<body family=“face:Arial”>

17.

When using a text editor, what file extension(s) must be used when saving as a web document?

a)

.txt

b)

.html or .htm

c)

.doc

d)

.css

18.

Which item interprets the source code in a web document?

a)

Web browser

b)

Text editor

c)

HTML editor

d)

Web server

19.

A properly coded HTML tag will always be found between which two symbols?

a)

( )

b)

{ }

c)

[ ]

d)

<>

20.

John wants to insert a CSS comment identifying himself as the author. Which line of code correctly inserts a CSS comment?

a)

<--Written by John Doe-->

b)

/*Written by John Doe*/

c)

/!--WrittenbyJohnDoe"/

d)

<Writtenby="JohnDoe">

21.

Between which paired tags would the visible content of a web page be displayed?

a)

<html></html>

b)

<head></head>

c)

<title></title>

d)

<body></body>

22.

Which tag defines the set of navigation links?

a)

<Header>

b)

<Footer>

c)

<Nav>

d)

<Div>

23.

What is line 17 in the code below?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>HTML Introduction</title>

5 </head>

6 <body>

7 <h1>Things I know about HTML</h1>

8 <hr>

9 <h2>3 Facts about HTML</h2>

10 <ul>

11 <li>HTML stands for Hypertext Markup Language.</li>

12 <li>The w3c makes recommendations that become Web standards.</li>

13 <li>The current HTML standard is html 5</li>

14 </ul>

15 <img src="http://www.w3.org/html/logo/img/html5-display.png">

16 <br>

17 <a href="http://www.w3.org/">World Wide Web Consortium<a>

18 <br>

19 <video width="320" height="240" controls>

20 <source src="movie.mp4" type="video/mp4">

21 Your browser does not support this video tag

22 </video>

23 <br>

24 <audio controls>

25 <source src="horse.mp3" type="audio/mpeg">

26 Your browser does not support this video tag

27 </audio>

28 </body>

29 </html>

a)

Absolute reference

b)

Relative reference

c)

Nav

d)

Div

24.

Which line of code correctly creates a link to Amazon’s website?

a)

<a ref=“http://www.amazon.com”>Amazon</a>

b)

<href=http://www.amazon.com>Amazon<a>

c)

<a href=“http://www.amazon.com”>Amazon

d)

<a href=“http://www.amazon.com”>Amazon</a>

25.

Which is an example of using an inline CSS style in a web page?

a)

<p style=“color:blue”>

b)

p {style=color;blue>}

c)

<p style=color;blue>

d)

p {style=“color:blue”}

26.

In the code below, which line of code will display the web document’s title in a web browser?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

Line 4

b)

Line 15

c)

Line 16

d)

Line 25

27.

What will display for lines 10 through 14 in the code below?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>HTML Introduction</title>

5 </head>

6 <body>

7 <h1>Things I know about HTML</h1>

8 <hr>

9 <h2>3 Facts about HTML</h2>

10 <ul>

11 <li>HTML stands for Hypertext Markup Language.</li>

12 <li>The w3c makes recommendations that become Web standards.</li>

13 <li>The current HTML standard is html 5</li>

14 </ul>

15 <img src="http://www.w3.org/html/logo/img/html5-display.png">

16 <br>

17 <a href="http://www.w3.org/">World Wide Web Consortium<a>

18 <br>

19 <video width="320" height="240" controls>

20 <source src="movie.mp4" type="video/mp4">

21 Your browser does not support this video tag

22 </video>

23 <br>

24 <audio controls>

25 <source src="horse.mp3" type="audio/mpeg">

26 Your browser does not support this video tag

27 </audio>

28 </body>

29 </html>

a)

Numbered list

b)

Bulleted list

c)

Hyperlink

d)

Audio

28.

What will display for lines 10 through 14 in the code below?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>HTML Introduction</title>

5 </head>

6 <body>

7 <h1>Things I know about HTML</h1>

8 <hr>

9 <h2>3 Facts about HTML</h2>

10 <ul>

11 <li>HTML stands for Hypertext Markup Language.</li>

12 <li>The w3c makes recommendations that become Web standards.</li>

13 <li>The current HTML standard is html 5</li>

14 </ul>

15 <img src="http://www.w3.org/html/logo/img/html5-display.png">

16 <br>

17 <a href="http://www.w3.org/">World Wide Web Consortium<a>

18 <br>

19 <video width="320" height="240" controls>

20 <source src="movie.mp4" type="video/mp4">

21 Your browser does not support this video tag

22 </video>

23 <br>

24 <audio controls>

25 <source src="horse.mp3" type="audio/mpeg">

26 Your browser does not support this video tag

27 </audio>

28 </body>

29 </html>

a)

Numbered list

b)

Bulleted list

c)

Hyperlink

d)

Audio

29.

Which tag defines the visible content of a web document?

a)

<body>

b)

<head>

c)

<meta>

d)

<title>

30.

Which item shows proper syntax for an HTML comment?

a)

<!Comment: "Created by Joe"!>

b)

!Created by Joe!

c)

<!--Created by Joe-->

d)

<Created by Joe>

31.

Which hyperlink shows an absolute link?

a)

href=“www.nytimes.com”>NYTimes</a>

b)

<a href=“page1.html”>Page One</a>

c)

<a href=“http://www.target.com”>Target</a>

d)

<a href=“offers.jpg”>Offers</a>

32.

Anthony is creating a web page on seals. To ensure that his page can be found through Google, Anthony must include pertinent information in which tag section?

a)

<meta>

b)

<head>

c)

<body>

d)

<nav>

33.

Which line of code correctly places a GIF image named “tiger” into a web page?

a)

<img src=“tiger” alt=“BengalTiger”>

b)

<img gif=tiger alt=“BengalTiger”>

c)

<img src=“tiger.gif” alt=“BengalTiger”>

d)

<image source=“tiger.gif” alt=“BengalTiger”>

34.

For line 17 in the code below, how will "World Wide Web Consortium" display on the web page?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>HTML Introduction</title>

5 </head>

6 <body>

7 <h1>Things I know about HTML</h1>

8 <hr>

9 <h2>3 Facts about HTML</h2>

10 <ul>

11 <li>HTML stands for Hypertext Markup Language.</li>

12 <li>The w3c makes recommendations that become Web standards.</li>

13 <li>The current HTML standard is html 5</li>

14 </ul>

15 <img src="http://www.w3.org/html/logo/img/html5-display.png">

16 <br>

17 <a href="http://www.w3.org/">World Wide Web Consortium<a>

18 <br>

19 <video width="320" height="240" controls>

20 <source src="movie.mp4" type="video/mp4">

21 Your browser does not support this video tag

22 </video>

23 <br>

24 <audio controls>

25 <source src="horse.mp3" type="audio/mpeg">

26 Your browser does not support this video tag

27 </audio>

28 </body>

29 </html>

a)

Numbered list

b)

Bulleted list

c)

Hyperlink

d)

Audio

35.

Annie wants the name of her product to be the main heading at the top of her web page. Which code would be used to define the main heading for the product in a web page?

a)

<h1>Product</h1>

b)

<h3>Product</h3>

c)

<h5>Product</h5>

d)

<h6>Product</h6>

36.

In the code below, how will lines 18 through 22 display in a web browser?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

Bulleted list

b)

Numbered list

c)

Definition list

d)

Table

37.

Which is the correct code to insert a horizontal line in a web page?

a)

<br>

b)

<h1>

c)

<hr>

d)

<li>

38.

In the code below, which line indicates the beginning of the visible content of the web page?

1 <html>

2 <head>

3 <title>Document title</title>

4 </head>

5 <body>

6 <p>This is Content</p>

7 </body>

8 </html>

a)

Line 1

b)

Line 2

c)

Line 3

d)

Line 5

39.

What document or section information contains introductory content or a set of navigational links for the web page?

a)

Header

b)

Footer

c)

Nav

d)

Div

40.

In the code below, which line indicates the end of an HTML document?

1 <html>

2 <head>

3 <title>Document title</title>

4 </head>

5 <body>

6 <p>This is content</p>

7 </body>

8 </html>

a)

Line 4

b)

Line 6

c)

Line 7

d)

Line 8

41.

In the code below, what color will the heading, Welcome to My Web Page, display when viewed in a web browser?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

#3D5C99

b)

#E6E6E6

c)

#CCCCCC

d)

#25375C

42.

In the code below, what color will the heading “3 Facts About Me” display when viewed in a web browser?

1 <!DOCTYPE html>

2 <html>

3 <head>

4 <title>My Personal Web Page</title>

5 <style>

6 body {background-color:#3D5C99; color:white; font-family:Verdana; margin:10px;)

7 h1 {font-family:Verdana; color:#E6E6E6; text-align:center;}

8 h2 {font-family:Verdana; color:#CCCCCC;}

9 p {font-family:Verdana; color:white; font-size:18px:}

10 img {margin:8px; padding 4px;}

11 </style>

12 </head>

13 <body>

14 <div style="background-color:#25375C">

15 <img src="banner.png" alt="web banner">

16 <h1>Welcome to My Web Page</h1>

17 <h2>3 Facts About Me</h2>

18 <ol>

19 <li>I have one brother.</li>

20 <li>I have a dog named Skip.</li>

21 <li>I have a cat named Taz.</li>

22 </ol>

23 <img src="school.png" alt="my school" style="float:left" width="100" height="100">

24 <p>I attend Maple High School. My favorite course is Multimedia and Web Page Design.

25 I am learning to code HTML. I think it is fun to make web pages.</p>

26 </div>

27 <footer style="background-color:#121C2E; color:#C3C3C3; ext-align:center">

28 Your Name Here--Date

29 </footer>

30 </body>

31 </html>

a)

White

b)

#3D5C99

c)

#E6E6E6

d)

#CCCCCC

43.

Which tag provides information about a website?

a)

<body>

b)

<html>

c)

<meta>

d)

<title>

44.

Karen wants to begin a new line within a paragraph of text on a web page. Which code should she use?

a)

<br />

b)

<hr />

c)

<h1></h1>

d)

<li></li>

45.

Jerry wants to insert a line break into his web page. Which code should he use?

a)

<h1>

b)

<li>

c)

<br>

d)

<ul>

46.

Nate has subscribed to the U.S. Weather Service storm alert for Halifax County. He receives a message about potential bad weather in his area. This is an example of:

a)

portability.

b)

location awareness.

c)

being always connected.

d)

one-handed operation.

47.

Tim requires corrective lenses to see properly. What mobile web challenge is he facing?

a)

Screen size

b)

Input

c)

Bandwith

d)

Cost

48.

The web developer wants to group the school’s spring activities together on a web page and apply a particular style to that section. What layout tag would help her to group these elements together?

a)

<div>

b)

<nav>

c)

<header>

d)

<footer>

49.

Where would Will put the contact information and links to terms of use for his website?

a)

<div>

b)

<table>

c)

<header>

d)

<footer>

50.

Jennifer is vision impaired. She is able to view a website due to a W3C mobile web initiative called:

a)

viewport.

b)

resolution.

c)

mobile accessibility.

d)

responsive design.

51.

Jennifer has been asked by her boss to create a website that can be viewed by the deaf. What W3C guidelines will she be using?

a)

Viewport

b)

Screen size

c)

Mobile accessibility

d)

Responsive design

52.

Georgia’s smartphone has a screen size of 480 pixels by 320 pixels. This is an example of:

a)

fluid layout.

b)

resolution.

c)

wrapper.

d)

fixed layout.

53.

Jed is compiling weather information on a website for local farmers. To organize the data, Jed should use which type of tag?

a)

<nav>

b)

<table>

c)

<header>

d)

<footer>

54.

Jan has a mobile device that has a width of 480 pixels. Any components of a web page need to be displayed within the width of the device. This is an example of:

a)

fixed layout.

b)

resolution.

c)

a wrapper.

d)

screen size.

55.

Mary is adding introductory content to her web page. What layout tag would help add this to the page?

a)

<footer>

b)

<nav>

c)

<table>

d)

<header>

56.

Glenn is designing a website that will adjust to the user’s set up and distribute content evenly. What design consideration is being used?

a)

Fixed layout

b)

Resolution

c)

Wrapper

d)

Fluid layout

57.

Sara has a disability which makes using small keyboards difficult. What mobile web challenge is she facing?

a)

Screen size

b)

Input

c)

Bandwith

d)

Cost

58.

Kathryn is able to view a website on her computer, tablet, and phone. The website is not altered across each device due to:

a)

viewport.

b)

resolution.

c)

mobile accessibility.

d)

responsive design.

59.

Jenny has created a footer section for her store website. What information should be included within the tag?

a)

Store name

b)

Store hours

c)

Copyright information

d)

Store e-mail address

60.

Which measurement unit is used for screens?

a)

Pixels

b)

Points

c)

Picas

d)

Inches

61.

David had an older laptop from 2004. He recently purchased a new one. He noticed that his new computer screen seemed much clearer. What would make his screen clearer?

a)

Lower pixel density

b)

An increase in screen resolution

c)

Smaller screen size

d)

Fewer pixels per inch

62.

Dennis has difficulty opening a spreadsheet that Deborah has sent to him on his phone. Dennis is experiencing which type of mobile web challenge?

a)

Screen size

b)

Input

c)

Bandwidth

d)

Device limitations

63.

Jules is placing an image on her website. She has a picture that is 48 pixels wide. How many ems does this picture convert to in a web browser?

a)

2

b)

3

c)

4

d)

5

64.

A web designer is creating a website and wants each browser to resize the text size to look the same in each device. What measurement unit would the designer use in the CSS code?

a)

@ media rule

b)

SVG

c)

W3C

d)

Ems

65.

When Ben is video conferencing, he notices that there is a delay in transmission. What mobile web challenge is he facing?

a)

Screen size

b)

Input

c)

Bandwidth

d)

Cost