NEW
Font size
WorksheetsHTML and CSS
Total questions: 30
Worksheet time: 30mins
What does the acronym HTML mean?
Hyper Text Mask Language
Hard Text Markup Language
Hyper Text Markup Language
Hard Text Mask Language
Which label is correct to indicate a line break?
<br>
<br/>
<hr>
<breakLine>
What is the correct way to write a comment in HTML?
/* comment */
<!– comment –>
ctrl + Ç
<¡– comment –>
What is the correct way to write a link in HTML?
<link href=”#”>…<link>
<a title=”#”>…</>
<a src=”#”>…</a>
<a href=”#”>…</a>
What tag is used to write an unordered list?
<ol>
<ul>
<li>
<list>
What tag is used to name each row in an html list?
<ol>
<ul>
<li>
<list>
The following instructions are accompanied by an attribute. Which one is correct?
<img src=”foto.jpg” alt=”text”>
<img src=”foto.jpg” value=”text”>
<img src=”foto.jpg” text=”text”>
<img src=”foto.jpg” desc=”text”>
Which of the tags below has a direct impact on the search results page that Google offers for a particular website?
<h1>
<a href=”#” rel=”nofollow”>anchor</a>
<title>
<strong>
How would you make the link open in the same tab where we are?
<link href=”#” target=”_blank”>…</link>
<link href=”#” target=”_self”>…</link>
<a href=”#” target=”_blank”>…</a>
<a href=”#” target=”_self”>…</a>
What is the most efficient way to apply CSS styles to an HTML document?
In line
Embedded in the header
External style sheets
Using PHP
Which of the following declarations are properties or attributes?
h1
background-color
italic
span
Which of the following statements is a selector?
p
font-family
50px
red
How do you define a background color for all "p" tags in CSS?
p.all {background-color:red;}
-p {background-color:red;}
#p {background-color:red;}
p {background-color:red;}
With what property is defined the space between the border of an element and the elements that surround it?
border
margin
padding
No answer is correct
How do you change the value of the right margin of an element?
text-right
right-magin
margin-right
marginright
What does CSS mean?
Cascading Style Sheets
Center Style Steels
Calibre Style Sheet
No answer is correct
How do you indicate that the text color is red?
color: red
color: #FF0000
color: RGB(255, 0, 0)
All the answers are correct
How do you indicate that all "span" elements have bold text?
span {text-color:bold}
span {text-weight:bold}
span {font-style:bold}
span {font-weight:bold}
What property is used to change the font of an element?
text-type
font-type
font-family
text-family
What is HTML?
A kind of website editor
A markup language for creating web pages
A browser
A style sheet
Where is the <title> tag displayed?
In the content of the page, it will be the largest heading
In the browser tab that displays the document
Not displayed because it is an element of <head>
Its use in HTML5 is discouraged
What is the correct order of the opening tags for a basic web structure?
<body>, <head>, <html>
<html>, <body>, <head>
<html>, <head>, <body>
<head>, <body>, <html>
What is the pseudo-class used to detect when the mouse passes over an element?
:first-child
:link
:sobre
:hover
What elements are, by default, of block?
<p>, <h3> y <div>
<p>, <strong> and <div>
<p>, <h3> and <span>
<strong>, <ul> and <span>
What does it mean that Google is based on “mobile first”.
That the design of the layout begins with the mobile size and is adapted to the largest devices
What is a type of programming that is only used for mobiles
What cannot be used on mobiles
That is designed first for large screens and then the design for mobile phones is changed
If we have defined the property "text-shadow: 3px 4px 2px #fff;"
3px: is the size of the shadow that is applied to the right of the text
4px: is the size of the shadow that is applied to the right of the text
2px: is the size of the shadow that is applied to the right of the text
The direction of the shadow is not defined
If we have defined the property "text-shadow: 3px 4px 2px #fff;"
3px: is the amount of blur that is applied
4px: is the amount of blur that is applied
2px: is the amount of blur that is applied
The amount of shadow blur is undefined
Gradients are defined...
On the property "background"
On the property "image"
On the property "gradient"
On the property "border"
What would you do to select all the images and all the links that are inside the "section" tag
section img section a {...}
section img, section a {...}
section img a {...}
section, img a {...}
What kind of animation is uniform throughout the tour?
ease
ease-in
ease-out
linear
