Font size
WorksheetsHTML Lesson 2A Review
Total questions: 42
Worksheet time: 22mins
Use the HTML image attributes to set the size of the image to 250 pixels wide and 400 pixels tall.
<img src="scream.png" width="250" height="400">
<image source="scream.html">
src - Specifies the path to the image
True
False
alt - Specifies an alternate image for the image
True
False
The HTML <img> tag is used to embed an image in a web page.
True
False
The <img> tag is empty, it contains attributes only, and does not have a closing tag.
True
False
<img>
add an image
make text italic
link to Internet<
<br>
change background color
insert a browser link
insert a line break
<!DOCTYPE HTML>
places the HTML heading on a web page
tells the web browser the file is an HTML document
last line in an HTML document used to end the file
Which is the proper way to write an h1 tag
<h1>Hello</h1>
<h1>"Hello
{h1}Hello{/h1}
<h1>Hello<h1>
<p> is
punctuation tag
closing paragraph tag
closing punctuation tag
paragraph tag
Which of the following is the largest heading?
H2
H3
H4
H6
<body>
Body tag
Paragraph tag
Closing body tag
Header tag
</body>
Body tag
Paragraph tag
Closing body tag
Header tag
Does <ul> tag go on the HTML page or the CSS page?
HTML
CSS
TRUE OR FALSE: CSS is used to style web pages
True
False
What symbols go around the properties for each HTML tag?
< >
[ ]
{ }
( )
The correct way of placing our html tags like the paragraph and the list is inside the html body <body> </body>
true
false
<img> tag finds;
finds the image located at the a URL and the src attribute and then displays it.
finds the image located at the SRC in the URL attribute and then displays it.
Adds a cool picture
Does not work in HTML coding
What attribute of an <img> element is a meaningful description of the image.
Alt
src
JPEG
GIF
What is the attribute for how you specify the location of the image file.
Alt
JPEG
W3C
src
These are the three formats for images that are widely supported by web browsers.
JPEG
PNG
GIF
BMP
What is the current HTML standard.
HTML2
HTML3
HTML4
HTML5
Define your character set in the Meta tag in the HEAD tags.
!doctype html
html lang="en"
meta charset="utf-8"
Which statement is basically correct?
CSS and HTML are both responsible for site presentation.
CSS and HTML are both responsible for site structure.
CSS is responsible for site presentation, and HTML is responsible for site structure.
CSS is responsible for site structure, and HTML is responsible for site presentation.
Which target attribute in an anchor tag specifies that a hyperlink will open in a new window or tab?
_blank
_new
_open
_self
Xavier wants to help his audience find certain topics that he has listed in his website. He used larger headings for his main topics and normal text for his general information. This helps his audience know what is important. Which best describes what Xavier did to his website?
maintaining consistency
separating content from design
using standard fonts
using visual hierarchy
Creates a bulleted list (Unordered List)
<ul>
<li>
<li>
</ul>
<ol>
<li>
<li>
</ol>
<li>
</li>
<p>
<li>
<li>
</p>
What is 'html' used for?
to search websites
to spellcheck web pages
to create webpages
to destroy viruses
Which is the correct spelling?
hypolink
hyprelink
hippolink
hyperlink
Comments in coding is used to help
the programmer
anyone viewing the website
the editor of the code
the reader of the code
I type my code inbetween the body tags
True
False
What do we call the information between the tags?
(a)
How many different heading tags are there?
1
2
12
6
If I wanted to recreate this on my web page:
Smallest would be an <h1>
Smallest would be an <h6>
Smallest would be an <h3>
If I wanted to recreate this on my web page:
Biggest would be an <h1>
Biggest would be an <h3>
Biggest would be an <h6>
If I have an <h1> I have to ALSO have an </h1>. Why?
because you do
so that the computer knows where to stop
because it makes the code more interesting to look at
it makes my life more difficult
What do the tags <p> and </p> tell the computer?
(a)
What makes the closing tag DIFFERENT than the opening tag?
the slash telling the computer to stop
nothing, they're the same
the angled brackets
What is the red boxed area called?
opening tag
content
HTML
angled bracket
What is the WHOLE THING called?
HTML element
HTML tag
HTML
content
The 7th grade students want to make a list of the winners of a race using numbers They would use which HTML tag?
<ul></ul>
<ol></ol>
<list></list>
Everything visible on a web page goes between these two tags.
<body> </body>
<title> </title>
<header> </header>
None of the Above
