NEW
Font size
WorksheetsHTML Assessment 1
Total questions: 10
Worksheet time: 5mins
What does HTML stands for ?
Hyper Text Markup Language
Hyper Tool Markup Language
Hyperlink Text Markup Language
Hypertext Transfer Markup Language
Which of the following is not a Header Tag in HTML ?
<h1>
<h7>
<h3>
<h6>
Which attribute is used to write an inline CSS style in HTML?
Use the CSS attribute
Use the style attribute
Use the inline element
None of these
Which HTML Tag is used to connect to an external CSS file ?
<connect>
<link>
<head>
<html>
Select the correct syntax for styling the body tag with background color as red?
body {
background-color = red ;
}
body {
background-color : red ;
}
body {
color: red ;
}
body {
color = red :
}
Which of the following is true about the "id attribute" in a CSS file?
The id attribute specifies a unique id for an HTML element.
The syntax for id attribute is written using a hash character (#), followed by an id name.
You cannot have more than one element with the same id in an HTML document.
All of these
What do you understand by the following values:
"2px" , " solid", "black" in the following line of code for adding border to any HTML element ?
border 2px solid black ;
border-height, border-style, border-color
border-width, border-style, border-color
border-margin, border-style, border-color
border-width, border-style, background-color
Which of the following clearly spot the difference between CSS property "padding" and "margin" ?
Margin is said to be the outer space of an element, while Padding is said to be the inner space of an element
Padding provides the space outside the border, while Margin provides the space within the border.
Padding is said to be the outer space of an element, while is Margin said to be the inner space of an element
None of these
Which of the following tag defines a hyperlink, which is used to link from one page to another?
<head>
<nav>
<link>
<a>
How many rows and columns does the table shown in the code snippet contain?
2 rows with 6 columns each
3 rows with 2 columns each.
2 rows with 3 columns each.
3 rows with 3 columns each.
