Font size
WorksheetsHtml css training
Total questions: 30
Worksheet time: 19mins
Which of the following is the correct way to add an attribute?
<src>
classes:ids
id="title"
<id>
Which tag is used to add an image?
<image>
<img>
<<img>>
</image>
What symbol should you use to target an id in css?
.
+
id
#
What symbol should you use to target a class name in css?
#
()
.
class
Which of the below options is correct to change the background color to blue in CSS?
body {
background-colour: lightblue;
}
body {
background-color: lightblue;
}
body {
background:color: lightblue;
}
None of the above
How many heading tags are there in HTML5?
2
5
7
6
In CSS, how do you select an element with the class "btn1"?
#btn1
.btn1
{btn1}
=btn1
The <title> element must be located inside
How to make a text italic?
<em>Some text.</em>
<italic>Some text.</italic>
<i>Some text.</i>
What is the HTML form input used to send information of the form to the server?
<input type="server">
<input type="submit">
<input type="send">
<input type="del">
Select block-level tags.
<div>
<p>
<span>
<i>
Select inline elements.
<span>
<i>
<p>
<div>
What does HTML stand for?
What is called an element that does not have a closing tag?
The <br> tag is used to add
Which HTML tag is used to create a clickable hyperlink?
<a>
<link>
<href>
<web>
