Font size
WorksheetsHTML CSS Final Quiz
Total questions: 100
Worksheet time: 51mins
1) HTML stands for -
HighText Machine Language
HyperText and links Markup Language
HyperText Markup Language
None of these
Which of the following element is responsible for making the text bold in HTML?
<pre>
<a>
<b>
<br>
Which of the following tag is used for inserting the largest heading in HTML?
<h3>
<h1>
<h5>
<h6>
Which character is used to represent the closing of a tag in HTML?
<\ >
<! >
</ >
<. >
How to create a hyperlink in HTML?
<a href = "www.javatpoint.com"> javaTpoint.com </a>
<a url = "www.javatpoint.com" javaTpoint.com /a>
<a link = "www.javatpoint.com"> javaTpoint.com </a>
<a> www.javatpoint.com <javaTpoint.com /a>
Which of the following element is responsible for making the text italic in HTML?
<i>
<italic>
<pre>
<it>
How to insert an image in HTML?
<img href = "jtp.png" />
<img url = "jtp.png" />
<img link = "jtp.png" />
<img src = "jtp.png" />
Which of the following tag is used to make the underlined text?
<i>
<pre>
<ul>
<u>
Which of the following is the paragraph tag in HTML?
<p>
<b>
<pre>
None of the above
An HTML program is saved by using the ____ extension.
.ht
.html
.hml
None of the above
A program in HTML can be displayed and read by -
Web browser
Server
Interpreter
None of the above
The tags in HTML are -
case-sensitive
in upper case
not case sensitive
in lowercase
Which computer language structures all webpages on the internet?
Java
HTML
CSS
JS
Challenge yourself
Code a paragraph that displays Hello HTML
<p> Hello HTML </p>
P = Hello HTML
Which one of these tags creates a heading?
<p>
<h1>
<img>
Challenge yourself
Code a heading that displays Hello World
<h1>Hello World</h1>
h1= Hello World
<h1>Hello World<h1>
<img> is a ............. tag
insert image
Paragraph
Header
Which of the following element is responsible for making new line in HTML?
<br>
<a>
<b>
<pre>
Which of the following tag is used for inserting the smallest heading in HTML?
<h3>
<h1>
<h5>
<h6>
Challenge yourself
Code a title inside the head section .....
<title> .... </title>
<header> </header>
<h1>........<h1>
creates a header for the document
<Head>
<H2>
<Title>
<Header>
starts a new paragraph
<P>
<Paragraph>
<B>
</P>
Identifies the document as a web page
<HTML>
<WEB>
</HTML>
<PAGE>
HTML tags are element names surrounded by __________.
<angle brackets>
(round brackets)
[square brackets]
(round brackets) and [square brackets]
The start tag is also called the ____________, and the end tag the closing tag.
start tag
beginning tag
new tag
opening tag
The correct sequence of HTML tags for starting a webpage is
A.Head, Title, HTML, body
B. HTML, Body, Title, Head
C. HTML, Head, Title, Body
D. HTML, Head, Title, Body
An HTML program is saved by using the ____ extension.
A. .ht
B. .html
C. .hml
D. None of the above
A program in HTML can be rendered and read by
A. Web browser
B. Server
C. Interpreter
D. None of the above
To create HTML page, you need
A. Web browser
B. Text editor
C. Both A & B
D. None of the above
Which symbol identifies a closing tag?
<>
/
()
\
What is this tag <head> used for ?
Used for declaring the title
Name of the document
What will be the output for the following program?
<html>
<body>
<p>Hello SJPS</p>
</body>
</html>
<Hello SJPS>
Hello SJPS
both are correct
Which set contains all of the DEFAULT tags needed to create a webpage?
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
</html>
<html>
<head>
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
</html>
<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body>
Web pages starts with which of the following tag?
<form>
<HTML>
<body>
<Title>
Choose the correct HTML element for the largest heading:
<head>
<h1>
<heading>
<h6>
HTML controls the _________ of a webpage.
feel
precision
structure
style
<p> is the opening tag for a _____________
page
paragraph
preorder
period
What defines the beginning and ending of the visible part of a webpage?
<head> main part of the document </body>
<body> main part of the document </html>
d) </body> main part of the document <html>
<body> main part of the document </body>
What is the correct syntax for defining a hyperlink in HTML?
<a href=”url”> Link text </a>
<a href=”url”> Link text <a>
<a=”url”> Link text <a>
<ref=”url”> Link text <a>
Which character is used to indicate an end tag?
!
#
/
\
How can you make a list that has no particular order?
<ol> </ol>
<ul> </ul>
<ol> <li>
<li> </ul
Which of the following is the proper format for an HTML tag?
>h1<Content Affected by Tag >/h1<
<h1>Content Affected by Tag<h1>
<h1 Content Affected by Tag />
<h1>Content Affected by Tag</h1>
Change the border size of the body or image
border-style
border-width
border-color
width
To create a dotted border around the page
border-style
border-width
border-color
width
Set the color of the border
border-style
border-width
border-color
width
sets the element to one side of the page
margin
width
float
height
sets the color of words in a paragraph
h1 {
color: pink;
}
img {
color: pink;
}
body {
color: pink;
}
p {
color: pink;
}
What does a class do?
adds color to words
adds style to specific elements
adds style to a whole page
adds a lot more work
Select the rule set to make all the text in your web page blue and centered.
p {
color: blue;
}
body {
text-align: left;
color: blue;
}
p {
text-align: center;
color: blue;
}
body {
text-align: center;
color: blue;
}
Which selector will change the font of the text?
font-size
text-align
font-famiy
text-decoration
What will this rule set create?
h1 {
text-decoration: underline overline dotted red;
}
red waves under the heading
red dots over and under the heading
red waves over and under the heading
red dots over the heading
Which rule set would change the font size to 24?
font-size: 24
size: 24;
font-size: 24;
font size: 24;
This is a picture of a ____.
CSS Rule
HTML Rule
Tags
Coding
The blue is called an _____________
Declaration
Selector
Property
Value
The blue is called an _____________
Declaration
Selector
Property
Value
The blue is called an _____________
Declaration
Selector
Property
Value
The blue is called an _____________
Declaration
Selector
Property
Value
What color will this element be?
Green
Blue
Red
No color
Looking at the picture below, based on those 3 important rules to remember, what will the color of the text be?
Red
Blue
No color
White
The color this element will be________
Blue
Red
Blue
No color
The tag #blue-text is written twice. Due to the "Order of Precedence" the text that will appear when you run the code will be what color?
Red
Blue
Green
Purple
CSS is the...
language for designing web pages
longitudinal compass for directions
way we send information to each computer
way we set up each tag
p {color: red;}
border./* This is a multi-line comment */
You used a grid-based layout and resize-able images, which is another RWD technique that you can use in responsive design?
p {color: red;}
placed within his webpage?
What is wrong with this code?
The style sheet <link> statement belongs between <head> and </head>
The style sheet <link> statement belongs between <title> and </title>
The style sheet <link> statement belongs between </head> and <body>
The style sheet <link> statement belongs immediately after the DOCTYPE statement
What is the correct syntax to change the background color with css?
background-color: purple;
background-color = "purple";
backgroundcolor=orange
change-background-color: purple
What is the correct code for a paragraph in CSS?
P
<p> </p>
.p
p{
}
This is a picture of a ____.
CSS Rule
HTML Rule
Tags
Coding
The blue is called an _____________
Declaration
Selector
Property
Value
Which of the following is the correct CSS link tag?
<link rel="styles" href="stylesheet.css">
<link href="stylesheet">
<link rel="stylesheet" src="styles.css">
<link rel="stylesheet" href="styles.css">
Which tag is used to add an image?
<image>
<img>
<<img>>
</image>
Signifies the size of the heading
<H2>
<HR size=2>
<H SIZE =2>
<H=2>
creates a header for the document
<Head>
<H2>
<Title>
<Header>
Choose the code that correct the error
<HEAD><TITLE>Unicorn land </HEAD>
<HEAD><TITLE>Unicorn land </TITLE></HEAD>
<HEAD><TITLE>Unicorn land <TITLE></HEAD>
<HEAD><TITLE>Unicorn land </TITLE><HEAD>
<HEAD><TITLE>Unicorn land <TITLE><HEAD>
