wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

WEB DESIGN | Practice 6

Total questions: 40

Worksheet time: 23mins

Name
Class
Date
1.

What is a text editor?

a)

A computer program lets a user enter, change, store, and usually print text

b)

A software with sophisticated built-in capabilities and specific functionalities designed to ease and speed up the process of editing code

c)

A program designed specifically for editing source code of computer programs

d)

A software is designed specifically to help developers with coding

2.

What is a code editor?

a)

A computer program that lets a user enter, change, store, and usually print text

b)

A program is used by programmers and web developers to write and edit code

c)

A program is used to write and edit text

d)

A simple computer program allows users to create, change, or edit plain text files

3.

What is the Visual Studio Code used for?

a)

Coding in any programming languages

b)

Editing pictures and videos

c)

Creating and editing documents

d)

Listening to music

4.

Choose a software that is not a web editor

a)

Atom

b)

Notepad++

c)

Sublime

d)

IrfanView

e)

Adobe Dreamweaver

5.

Look at the picture of how popular developer types are in StackOverflow Survey 2021. People holding full-stack developer roles are the most prevalent. What is your dream job?

a)

Full-stack developer (who can develop both client and server software)

b)

Back-end developer (who builds and maintains the mechanisms that process data and perform actions on websites)

c)

Front-end developer (who creates websites and applications using web languages such as HTML, CSS, and JavaScript)

d)

Developer

e)

None of these

6.

Look at the picture of how popular programming, scripting, and markup languages are in StackOverflow Survey 2021. Choose your favourite languages?

a)

JavaScript

b)

HTML/CSS

c)

C++

d)

C#

e)

None of these

7.

Look at the picture of how popular code editors/IDEs are in StackOverflow Survey 2021. Choose your favourite softwares?

a)

Visual Studio Code

b)

Visual Studio

c)

Notepad++

d)

Sublime Text

e)

None of these

8.

_____is a software application that provides comprehensive facilities to computer programmers for software development. An _____ normally consists of at least a source code editor, build automation tools and a debugger.

a)

IDE

b)

Code editor

c)

Debugger

d)

Compiler

9.

______ is the software that is designed specifically to help developers in coding. These are actually the text editors with some additional functionalities to manage and edit code.

a)

Debugger

b)

Text editor

c)

Code editor

d)

IDE

10.
a)

A general term for various code editing features including: code completion, parameter info, quick info, and member lists.

b)

A software application helps programmers develop software code efficiently.

c)

Applications facilitate the development of other applications

d)

A product of Intel Company

11.

<ul>, <ol>, <li> are block-level elements (always starts on a new line). Look at the picture. Which CSS can transform a vertical list into a horizontal list?

a)

li { 

display: inline;

}

b)

li {

float: left;

}

c)

li {

display: block;

}

d)

ul {

display: inline;

}

e)

li {

display: inline-block;

}

12.

How to change background color when you mouse over an a tag?

a)

a:hover {

background-color: yellow;

}

b)

a::hover {

background-color: yellow;

}

c)

a.hover {

background-color: yellow;

}

d)

a#hover {

background-color: yellow;

}

13.

How to make the last item in the list right align?

<ul>

<li><a href="#home">Home</a></li> 

<li><a href="#news">News</a></li> 

<li><a href="#contact">Contact</a></li>

<li style=" (a)   "><a href="#about">About</a></li>

</ul>

14.

Given the CSS:

border: 1px solid #000;

Which of the following is the result?

a)
b)
c)
d)
15.

Given the CSS:

border: 1px solid #ccc;

border-radius: 16px;

Which of the following is the result?

a)
b)
c)
d)
16.

Look at the picture. How to make navigation bar stay at the top of the page?

a)

ul {

position: fixed; 

top: 0;

}

b)

ul {

position: fixed; 

bottom: 0;

}

c)

ul {

position: absolute

top: 0;

}

d)

ul {

position: sticky; 

}

e)

ul {

position: relative; 

}

17.

Which of the following is the correct CSS that makes the table look like the picture?

a)

table, th, td {

border: 1px solid black;

}

b)

table {

border: 1px solid black;

}

c)

th, td {

border: 1px solid black;

}

d)

table, td {

border: 1px solid black;

}

18.

Which of the following is the result of given HTML code (without any CSS)?

a)
b)
c)
d)
19.

Which of the following is the attribute to show an ordered list with uppercase roman numbers?

a)

type="I"

b)

type="1"

c)

type="A"

d)

type="i"

e)

type="l"

20.

Apart from <i> tag, which of the following tag is used to render a text in italics?

a)

<em>

b)

<strong>

c)

<b>

d)

None of these

21.

What are the types of unordered lists in HTML?

a)

Circle, square, disc

b)

Triangle, square, disc

c)

Triangle, circle, disc

d)

All of these

22.

<h10> is the largest header in HTML.

a)

True

b)

False

23.

Which of the following is the correct way to define a JavaScript function?

a)

function _abc { }

b)

function $abc { }

c)

function 1abc { }

d)

function #abc { }

24.

Which one is the Class selector in CSS ?

a)

*

b)

#

c)

.

d)

all of the above

25.

Which HTML tag pair is used to specify table headings?

a)

<td> </td>

b)

<th> </th>

c)

<head> </head>

d)

<tr> </tr>

26.

When we design a website, we make sure that users can view it on their mobile or tablet devices now that it is a commonly used tool. What principle is this in web design?

a)

Minimalism

b)

Mobile-Friendliness

c)

Display

d)

Color Scheme

27.

Look at the HTML code below and predict how the headings will be displayed.

<h3> Eggs </h3>

<h1> Bacon </h1>

<h6> Waffles </h6>

a)
b)
c)
d)
28.

The elements <DIV> and <SPAN> have the following characteristics

a)

Element <DIV> inherits properties defined for <SPAN> in a stylesheet

b)

<DIV> is used inside element <P>.

c)

<DIV> and <SPAN> are used as alternatives for the element <P>

d)

Elements <SPAN> and <DIV> define content to be inline or block-level

29.

What is the correct HTML for making a text input field?

a)

<textfield>

b)

<input type="textfield">

c)

<input type="text">

d)

<textinput type="text">

30.

What is the correct HTML for making a checkbox?

a)

<input type="check">

b)

<checkbox>

c)

<input type="checkbox">

31.

Part of a CSS rule-set that defines which HTML elements the style should be applied to

a)

CSS Selector

b)

CSS

c)

HTML

d)

CSS Class

32.

The web developer wants to make the "My Page" text larger. Which TWO of the following would work? (Click on image to make it larger)

a)

Use <h6> instead of <h3>

b)

Use <h1> instead of <h3>

c)

Put the "My Page" text inside the tags.

d)

Use CSS to set the font-size property of the h3 tag

e)

Put the code `style="larger"` inside the h3 tag.

33.

Consider the following for a specific paragraph: external style for <p> is green; internal style is blue; and inline style is red;

What will be color of the <p> content?

a)

green

b)

blue

c)

red

d)

black - default

34.

What code in the stylesheet could have made the text in p tag green?

a)
b)
c)
d)
35.
What code links your CSS to your HTML file?
a)
<link href="stylesheet.css"/>
b)
<link type="text/css" href="stylesheet.css"/>
c)
<link type="text/css" rel="stylesheet" href="stylesheet"/>
d)
<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
36.

Who focuses on look and feel of a website?

a)

A web developer

b)

A web designer

c)

A teacher

d)

A student

37.

My website is not very interesting, I will add good _______.

a)

CSS

b)

web development

c)

content

d)

usability

38.

Which is an example of an CSS Element Selector?

a)

#title

b)

.title

c)

h1

d)

h1.title

39.

Identify the CSS Selector Below

#crown {......}

a)

ID Selector

b)

Class Selector

c)

Element Selector

d)

Grouping Selector

40.

Which is an example of an CSS Element AND Class Selector?

a)

#title

b)

.title

c)

h1

d)

h1.title