wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Front End Forge Final

Total questions: 25

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following HTML markup uses semantic HTML to create a top-level (large and important) heading?

a)
  1. <h1>This Heading is Important</h1>

b)
  1. <p >This Heading Sure Looks Important</p>

c)
  1. <h4>No, This Heading is More Important</h4>

d)
  1. There is no way to do this.

2.

Choose the correct HTML element to define important text

a)

<important>

b)

<b>

c)

<i>

d)

<strong>

3.

Which character is used to indicate an end tag?

a)

;

b)

\

c)

/

d)

!

4.

How can you open a link in a new tab/browser window?

a)

<a href="url" target="new"> 

b)

<a href="url" target="_blank">  

c)

<a href="url" new>

5.

Which of these elements are all <table> elements?

a)

<table><tr><td>

b)

<table><tr><tt>

c)

<thead><body><tr>

d)

<table><head><tfoot>

6.

Inline elements are normally displayed without starting a new line.

a)

True

b)

False

7.

How can you make a numbered list?

a)

<ul>

b)

<li>

c)

<ol>

d)

<num>

8.

Which tag is used to create a hyperlink?

a)

<link>

b)

<lb>

c)

<href>

d)

<a>

9.

Which of the following answer options is not an HTML attribute?

a)

alt

b)

id

c)

class

d)

fontSize

10.

What is the HTML form input used to send information of the form to the server?

a)

<input type="server">

b)

<input type="submit">

c)

<input type="send">

d)

  • <input type="mail">

11.

How do you select all paragraphs in CSS?

a)

p

b)

#paragraph

c)

.paragraph

d)

*

12.

What is the purpose of the CSS float property?

a)

It makes text bold.

b)

It specifies the alignment of an element.

c)

It positions an element to the left or right of its container.

d)

It changes the font family of an element.

13.

How do you include an external CSS file in an HTML document?

a)

<style src="styles.css">

b)

<link rel="stylesheet" href="styles.css">

c)

<script type="text/css" src="styles.css"></script>

d)

<css src="styles.css">

14.

How can we change the background color of an element?

a)

background-color

b)

color

c)

background

d)

None of the above

15.

How can we change the text color of an element?

a)

background-color

b)

color

c)

text-color

d)

None of the above

16.

In how many ways can CSS be written in?

a)

1

b)

2

c)

3

d)

4

17.


How can we select an element with a specific ID in CSS?

a)

#id

b)

.id

c)

*id

d)

None

18.

In the below code snippet, in what order will the margins be added?

p { margin: 25px 50px 75px 100px; }

a)

Top,Left, Bottom,Right

b)

Top,Bottom,Right,Left

c)

Left,Right,Top,Bottom

d)

Top,Right,Bottom,Left

19.

The CSS property used to specify the transparency of an element is?


a)

opacity

b)

visibility

c)

filter

d)

hidden

20.


How can we specify the spacing between each letter in a text in CSS?

a)

white-space

b)

character-spacing

c)

letter-spacing

d)

alpha-spacing

21.

Javascript is an _______ language?

a)

Object-Oriented

b)

Object-Based

c)

Procedural

d)

None

22.

Which of the following is used to create a variable in JavaScript

a)

var

b)

let

c)

Both var & let

d)

None

23.

Which of the following methods is used to access HTML elements using Javascript?

a)

getElemetByClassName()

b)

getElementById()

c)

Both getElemetByClassName() & getElementById()

d)

document.write()

24.

How can a datatype be declared to be a constant type?

a)

let

b)

const

c)

var

d)

constant

25.

Which of the following is a JavaScript Library/Framework

a)

DJango

b)

Both Vue & React

c)

Vue

d)

React