Font size
WorksheetsHTML CSS FINAL 2
Total questions: 126
Worksheet time: 2hrs 35mins
1) HTML stands for -
HighText Machine Language
HyperText and links Markup Language
HyperText Markup Language
None of these
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>
places the text in the middle of the page
<Center>
<C>
<M>
<Middle>
Identifies the document as a web page
<HTML>
<WEB>
</HTML>
<PAGE>
Insert a horizontal line of a particular size
<HR size=2>
<H1>
<HR>
<LINE>
starts a new line
<BR>
<L>
<HR>
<LINE>
Signifies the size of the heading
<H2>
<HR size=2>
<H SIZE =2>
<H=2>
places text at the top of the browser window
<Title>
</Title>
<Head>
<Header>
Choose the code that correct the error
<IMG SRC=”tiger.jg” ALT=”picture of a tiger”>
<IMG SRC=”tiger.jpg” ALT=”picture of a tiger”>
<IMG SRC=tiger.jpg ALT=”picture of a tiger”>
<IMG SRC”tiger.jpg” ALT=picture of a tiger>
<IMG =”tiger.jpg” ALT=”picture of a tiger”>
Choose the code that correct the error
<AHREF="http://www.google.com"> This link goes to the Google search page.</A>
<A HREF="http://www.google.com"> This link goes to the Google search page.</A>
<A HREF=http://www.google.com> This link goes to the Google search page.</A>
<A ><HREF=http://www.google.com> This link goes to the Google search page.</A>
<A HREF="http://www.google.com> This link goes to the Google search page.</A>
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>
Choose the code that correct the error
<A HREF=”http://disney.go.com”><IMG SRC”mickeymouse.jpg”></A>
<A HREF=”http://disney.go.com”><IMG SRC=”mickeymouse.jpg”></A>
<AHREF=”http://disney.go.com”><IMG SRC=”mickeymouse.jpg”></A>
<A HREF=http://disney.go.com><IMG SRC=mickeymouse.jpg></A>
<A HREF=”http://disney.go.com”><IMG SRC=”mickeymouse.jg”></A>
Choose the code that correct the error
</BODY><HTML>
</BODY></HTML>
</BODY>/HTML>
BODY></HTML>
</BODY>
Applies changes to everything
Different options for each tag
Allows for no changes to the site
Gives structure and text
src attribute and then displays it.the main heading in a web document?
What symbol should you use to target a class name in css?
#
()
.
class
TRUE OR FALSE: HTML is used to style web pages.
True
False
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 */
p {color: red;}
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
-Applied inline to individual HTML elements on an HTML page.
-Embedded within an HTML page to affect all specified elements on that page.
-Collected in an external file that is linked to multiple HTML pages.
What is a CSS selector?
The value in a markup tag you want to change with a CSS style
Any element to which designated styles are applied
A format instruction in a CSS file
The property in a markup tag to which designated styles are applied
