wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

HTML CSS

Total questions: 41

Worksheet time: 20mins

Name
Class
Date
1.
Which item refers to the start tag, the end tag and everything in between?
a)
HTML Element
b)
HTML Tag
c)
HTML Attribute
d)
CSS
2.
Annie wants the name of her product to be the main heading at the top of her webpage. Which tag defines
the main heading in a web document?
a)
<h3>Product</h3>
b)
<h5>Product</h5>
c)
<h1>Product</h1>
d)
<h6>Product</h6>
3.
Which tag defines the visible content of a web document?
a)
<head>
b)
<meta>
c)
<title>
d)
<body>
4.
_____is a text file that contains CSS formatting instructions to define the font, color and position of elements used on any markup page(s) to which you attach the style sheet.
a)
<DOCTYPE!>
b)
<main>
c)
An external CSS file, or style sheet
d)
HTML
5.
Which is the most current version of CSS?
a)
CSS1
b)
CSS2
c)
CSS3
d)
CSS4
6.
Name an element which doesn't have a closing tag.
a)
<img>
b)
<head>
c)
<body>
d)
<p>
7.
Which of the following is the largest heading? 
a)
H2
b)
H3
c)
H4
d)
H6
8.
<!DOCTYPE> 
a)
Defines the document type
b)
Defines a comment
c)
Defines the document's body
d)
Defines information about the document
9.
If you want to have more than one property for a CSS selector, what character separates them?
a)
comma (,)
b)
semi-colon (;)
c)
colon (:)
d)
dash (-)
10.
Which is correct CSS syntax? 
a)
{ body; color=black;}
b)
body: color= black
c)
body {color:black;}
d)
(body color is black) 
11.
Select the code below that uses CSS to configure a background color of #000000 for a web page.
a)
body { background-color: #000000; }
b)
body { bgcolor: #000000; }
c)
document { background­-page: #000000; }
d)
None of these
12.
What symbols go around the properties for each CSS selector?
a)
< >
b)
[ ]
c)
{ }
d)
( )
13.
Which CSS code is incorrect?
a)
a {color: blue;}
b)
p {font-size: 10px;}
c)
body {background-color="red";}
d)
img {width: 100%;}
14.
The code for the comment tag in CSS is
a)
<!-- comment -->
b)
<!-- comment >
c)
/* comment /*
d)
/* comment */
15.
A selector (ex: h1{ } ) can only have 1 property
a)
true
b)
false
16.
What unit of measurement does CSS use for size?
a)
px
b)
em
c)
%
d)
All work
17.
Which of the following is the proper way to code an inline style attribute?
a)
color=blue
b)
color="blue"
c)
color blue
d)
color=(blue)
18.
What is the purpose of HTML
a)
To make a formatted document
b)
To make a webpage
c)
To edit photos
d)
To make a creative slide
19.

What symbol should you use to target a class name in css?

a)

#

b)

()

c)

.

d)

class

20.

TRUE OR FALSE: HTML is used to style web pages.

a)

True

b)

False

21.

¿Cuál es el lenguaje estándar específico para aplicar estilos de presentación a nuestras páginas web?

a)

CSS

b)

HTML

c)

CMS

d)

HTTP

22.

¿Cuál es la mejor manera de aplicar estilos a una página web?

a)

Interna

b)

Externa

c)

En línea

d)

Ninguna de las anteriores

23.

La etiqueta <tag> que debo introducir en la estructura de la página para colocar un título en la pestaña del navegador es:

a)

<head></head>

b)

<img>

c)

<title></title>

d)

<h1></h1>

24.

Es un software utilizado básicamente para la realización de operaciones matemáticas, lógicas, estadísticas y la inserción de gráficos.

a)

DreamWeaver CS6

b)

Microsoft Office Excel

c)

Microsoft Office Word

d)

Font Page

25.

¿Qué significan las siglas HTML?

a)

Hyper Text Markup Lenguage

b)

Home Tool Markup Lenguage

c)

Hyperlinks Text Markup Lenguage

26.

Etiqueta que debemos introducir para hacer un texto de encabezado

a)

<heading>

b)

<h1></h1>

c)

<head></head>

d)

<encabezadeishong>

27.

¿Cual es la etiqueta para cada elemento de una lista?

a)

<ol>

b)

<li>

c)

<ul>

d)

<p>

28.

¿Como se debe llamar el archivo "home" de un sitio?

a)

home.html

b)

html

c)

index.html

d)

ejercicio.html

29.

¿Cual es la parte de una pagina que es visible al usuario?

a)

entre <body> y </html>

b)

entre <header> y </header>

c)

entre <html> y </html>

d)

entre <body> y </body>

30.

¿Cual es la manera mas optima para establecer un color a una fuente o elemento?

a)

por Hexadecimal (#FF0000)

b)

por Nombre (Green, red)

c)

por codigo RGB (rgb(255,0,0))

d)

por porcentaje de colores (color(2.0, 3.0, 1))

31.

Dentro de estas etiquetas están los elementos generales de la página Web y no son visibles con el navegador Web.

a)

<html> y </html>

b)

<body> y </body>

c)

<title> y </title>

d)

<head> y </head>

32.

Una etiqueta HTML puede estar dentro de otra etiqueta HTML

a)

Verdadero

b)

Falso

33.

Los atributos HTML deben escribirse...

a)

Entre la etiqueta de apertura y de cierre

b)

En la etiqueta de apertura

c)

En la etiqueta de cierre

34.

La propiedad que define el color de fondo en CSS es:

a)

Color

b)

Background-color

c)

List-Style

35.

¿Qué etiqueta se usa para escribir un párrafo de texto?

a)

<p>texto</p>

b)

<paragraph>texto</paragraph>

c)

<ptext>texto</ptext>

d)

<br>texto</br>

36.

¿Cómo se hace referencia a un documento css externo?

a)

<link rel="stylesheet" href="archivo.css"></link>

b)

<link type="stylesheet" src="archivo.css"></link>

c)

<link rel="stylesheet" href="archivo.css" />

d)

<link type="stylesheet" src="archivo.css" />

37.

¿Cuál de los siguientes encabezamientos mostrará un texto de mayor tamaño por defecto?

a)

<h2>

b)

<h3>

c)

<h5>

d)

<h1>

38.

Para insertar una imagen se utilizan las etiquetas

a)

<img src="miimagen.jpg" />

b)

<i alt="miimagen.jpg" />

c)

<img link="miimagen.jpg" />

d)

<image url="miimagen.jpg" />

39.

¿Entre qué etiquetas debe añadirse el contenido de la página?

a)

<head></head>

b)

<footer></footer>

c)

<body></body>

d)

<text></text>

40.

¿Qué atributo HTML se usa para definir estilos en línea?

a)

style

b)

class

c)

font

d)

styles

41.

¿Cuál es la sintaxis CSS correcta para agregar color de texto a la etiqueta body?

a)

body {color: black;}

b)

{body:color=black;}

c)

{body;color:black;}

d)

body:color=black;