wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Website Development

Total questions: 14

Worksheet time: 36mins

Name
Class
Date
1.

How would you declare a Document Type of HTML

a)

<html>

b)

<!DOCTYPE html>

c)

<body>

d)

<style>

2.

How would you refer to an ID in CSS

a)

#id

b)

.id

c)

id

d)

@id

3.

What is the tag for JS

a)

<script>

b)

<style>

c)

<JS>

d)

<Jquery>

4.

How do you make a object go to the top right?

a)

.object {

float: left;

}

b)

.object {

text-align: top-right;

}

c)

.object {

float-right;

}

d)

.object {

float: right;

}

5.

How would you connect a database with php (using mysql)?

a)

$conn = mysqli(databasename)(username)(password)

b)

$conn = new mysqli($databasename, $username, $password)

c)

conn = new($variable(databasename, username, password)

d)

conn = mysqli($databasename, username, password)

6.

What is the tag to call CSS in html?

a)

<script>

b)

<CSS>

c)

<style>

d)

<Jquery>

7.

How do you tag php?

a)

<php>

b)

<ph>

c)

<?php

d)

<p>

8.

What are some of the common languages in website development?

a)

Html, css, javascript, php

b)

Html, c++, c#, javascript, php

c)

Wordpress

d)

Html, css, javascript, c#

9.

What is the language used to write in most sql databases?

a)

php

b)

sql script

c)

Wordpress

d)

phpmyadmin

10.

How do you call a hyperlink in html?

a)

<a href="link">name</a>

b)

<a link="link">name</a>

c)

<li href="big">name</a>

d)

<ul href="big">name</a>

11.

How do you make your cursor a pointing hand when hovering?

a)

#button:hover {

cursor: pointer;

}

b)

#button.hover {

cursor: pointer;

}

c)

#button:hov {

cursor: point;

}

d)

I don't know css

12.

In javascript, how do you make a redirecter?

a)

document.getElementById("redirectbutton").onclick = function () {

location.href = "link"

};

b)

document.getElementById("redirectbutton").onclick = function () {

location.href = "link";

};

c)

document.getElementById("redirectbutton").click = function () {

location.href = "link";

};

d)

i dont know js

13.

Congrats! You have some of the basics of web development down. Good job! (select both ok's for correct)

a)

ok

b)

ok

14.

You should go try out my C and C++ basics tutorial. (might not be up yet and select both ok's for correct)

a)

ok

b)

ok