wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

HTML

Total questions: 27

Worksheet time: 15mins

Name
Class
Date
1.

Set the size of the image to 150 pixels wide in the next HTML tag ...

<img src="w3schools.jpg" (a)   ="150">

2.

Make the element below into a link that goes to "https://www.w3schools.com".

<a (a)   ="https://www.w3schools.com">This is a link</a>

3.

Use the correct HTML tag to add a second heading with the text "Tuzla".


(a)  

4.

Fill in the blank that the color of the table will be red in HEX code ...

<table (a)   ="#ff0000">

5.
How many level of headings use HTML ?
a)

4

b)

5

c)

6

d)

7

6.
If I want to move the text to a new line, which tag do I use ?
a)

<br>

b)

<nl>

c)

<endl>

d)

<newline>

7.
If I want to use horizontal line the entire width of web page, you must use  tag ...
a)

<nl>

b)

<hl>

c)

<hr>

d)

<newline>

8.
Which img element attribute can you use to specify text that is shown instead of the image in HTML?
a)

src

b)

alt

c)

txt

d)

text

9.
A web page shows a cat toy image with a different border. How do you think you would create this border?
a)

style="dashed-border";

b)

style="border:dotted";

c)

style="border:double";

d)

style="border:dashed";

10.
One of the file types listed, _____ is not recommended for use on the web because it is not supported in all browsers.
a)

.jpg

b)

.png

c)

.gif

d)

.tiff

11.
The software that can be read and render HTML document is ________.
a)

browser

b)

server

c)

compiler

d)

interpreter

12.
What will the following HTML code do?

<a href='http://www.google.com' target='_blank'>Google</a>

a)

Displays a link which when clicked, goes to the Google.com website in same the window tab  without closing the current one

b)

Displays a link which when clicked, goes to the Google.com website in a new window tab

c)

Displays a link which when clicked, does nothing  as the target is blank

d)

Displays a link which when clicked, open the email editors for sending  an email to Google

13.
The <td> tag is used to create a
a)

table

b)

column

c)

heading

d)

row

14.

CSS is ...

a)

Computer Style Sheets

b)

Creative Style Sheets

c)

Colorful Style Sheets

d)

Cascading Style Sheets

15.
Which input controls are using for create multi-line text ?
a)

texting

b)

textarea

c)

text

d)

textarray

16.
Fill the blank if you want to pass tekst  to back-end process ?

<input type="____________" name="tekst">

a)

text

b)

textarea

c)

select

d)

password

17.
Which element is used if you want to create drop down list ?
a)

list

b)

dropdown

c)

select

d)

option

18.

Which attribute is used to give a name to the control which is sent to server?

<input type="text" (a)   ="polje">

19.
Which type of controls are used to create button ?

<input type="________" value="Send">

a)

command

b)

action

c)

submit

d)

button

20.
Which method is used to upload data ?
a)

GET

b)

PUT

c)

INPUT

d)

POST

21.
Which tag is used for creating HTML forms
a)

<format>

b)

<forms>

c)

<form>

d)

<formatting>

22.

Fill the blank if  you want to setup length of the field to 50 ?

<input type="password" name="sifra" (a)   ="50">

23.

Which element would you use to start paragraph in HTML ?

a)

<head>

b)

<body>

c)

<p>

d)

<pre>

24.

HTML stands for ...

(a)  

25.

Which of the following represents a secure website ?

a)

https

b)

http

c)

html

d)

html5

26.

Which element must be used when color coding in HTML?

a)

//

b)

<>

c)

$

d)

#

27.

Which HTML tag that identifies the beginning of the ordered list ?

a)

<ul>

b)

<ol>

c)

<url>

d)

<orl>