Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In a filename like index.htm, what is the htm part called? The HTML attribute. T

ID: 3812533 • Letter: I

Question

In a filename like index.htm, what is the htm part called?

The HTML attribute.

The containing folder.

The filename extension.

The URL.

What does HTML stand for?

Headings Tables Markup Language.

Hypertext Markup Language.

Heuristic Modal Language.

Hyperactive Turmoil Molecular Linguistics.

What does CSS stands for?

Corrective Symbolic Styling.

Collective Styling Syntax.

Cosmic Styling Symposium.

Cascading Style Sheets.

Which HTML attribute is used to start a CSS inline style?

href=.

alt=.

style=.

title=.

Which part of a style rule defines the elements to which the style rule applies?

Value.

Selector.

Semicolon.

Property.

Style rules in an external style sheet apply to what?

Any page that's in the same folder as the style sheet.

The home page of your website only.

Every page on the World Wide Web.

Pages that link to the style sheet.

The color hex code #fff is short for what longer hex code?

#ffffff.

#f0f0f0.

#0ff0.

#0f0f0f.

Which of the following is the correct syntax for CSS background-image property?

Background:Image-URL(path);

background-image:path;

background-image:url(path);

backgroundimage:url(path);

Suppose you have a logo image that has a transparent background. You'd like to use it as a background image. But you'd also like the logo to show against a yellow background color. Which CSS property descriptor below would provide the correct coding for the background color?

color:yellow;

background-repeat:yellow;

background-color:yellow;

background-image:yellow;

Which characters should you use to surround an HTML comment?

" and "

<!-- and -->

/ and /

/* and */

Which CSS property would you use to create visible borders around an element?

The border-radius property.

The box-shadow property.

The background-color property.

The border property.

What CSS property allows you to define a background shadow?

The border-shading property.

The border-radius property.

The box-shadow property.

The background-image property.

Paragraphs, headings (h1 through h6), and lists are all examples of which kind of HTML element?

Inline elements.

Monospace elements.

Deprecated elements.

Block elements.

Which type of font puts a little curlicue on each letter, making text easier to read at smaller sizes?

Proportional fonts.

Sans-serif.

Serif.

Monospace.

Which type of text alignment produces smooth left and right sides on multi-line text blocks like paragraphs?

Right.

Center.

Left.

Justify.

Suppose you want to center a picture horizontally on a page. You put the image inside a pair of div tags so it starts on a new line. What else must you do to center the image?

Add text-align:justify to the img tag (or style rule).

Add alt="center" to the img tag.

Add text-align:center to the div's opening tag (or style rule).

Put float:center in the img tag.

Which CSS property allows you to clear a float so that a new element starts on a new line below a floating element, rather than next to the floating element?

The float: property.

The background-repeat: property.

The clear: property.

The height: property.

You can use either CSS properties or HTML attributes to size images. If you wanted to use a CSS inline style rather than an HTML attribute to set the width of an image to 100 pixels, what would be the correct code?

width:style="100px"

width="100"

makeme="100px wide"

style="width:100px"

If you create a style class with .raised as the selector, which of the following would be the correct code for applying that class to an element?

class="RAISED"

class="raised"

CLASS=".Raised"

ID=raised

Which of the following defines the style of links when the mouse pointer is on the link?

a:hover.

a:link.

A:visited.

a:mouseover.

Which HTML attribute allows you to define tooltip text for links and other elements?

hover=

title=

img=

alt=

Which option at YouTube's website allows you to show a YouTube video right on a page in your site without the user having to click a link to go to YouTube's site?

Embed.

Link.

Email.

Flag.

Which three video formats are best used with the HTML5 <video> tag?

WMV, MOV, and AVI.

QT, RM, 8MM.

3GP, 3G2, and Flash.

MPEG4, OGG, and WEBM.

Which of the following are the preferred audio formats for the HTML5 <audio> tag?

AIFF, VOX.

MIDI, AAC.

MP3, OGG.

WAV, WMA.

Which tags mark the beginning and end of a single table row in a table?

<tr>...</tr>

<td>...</td>

<th>...</th>

<table>...</table>

Which CSS selector shows the correct syntax for applying a light blue background color to odd-numbered table rows in a table?

tr:nth-child(odd)

tr:Nth child("EVEN")

tr:Nth child("ODD")

tr:nth-child(even)

Which CSS property lets you define the appearance of the mouse pointer?

cursor:

padding:

outline:

border:

What do the p (paragraph) and heading (h1 through h6) elements have in common?

They can't be styled using CSS.

They're all block elements.

They're all new elements, which didn't exist prior to HTML5.

They're all inline elements.

What do we call the empty space that's just inside the borders of an element (between the border and the text that's inside the border)?

Margins.

Height.

Width.

Padding.

Suppose you set the width of a wrapper div to 80% so it scales to the width of the browser window. But you want to limit how wide it can go to 1440 pixels because your design doesn't look good beyond that. What CSS property:value pair would limit the element's width to 1440 pixels?

max-height:1,440%.

max-width:1440px.

max-width:1440%.

max-height:1440pixels.

What is the key advantage to using modern layout tags like <header>, <footer>, <nav>, and so forth over older, more generic tags like <div>?

You don't have to put any content inside any of the tags because the content just magically appears by itself in the browser.

They have complex default styling with colors and fonts, so you can use them as-is without doing any styling of your own with CSS.

You can put the tags any place in the page or style sheet, and the elements they define show up in the correct place in the Web browser automatically.

The new layout tags provide specific, recognizable, unambiguous information to non-visual user agents.

In HTML5, which tags would be best for identifying the footer section at the bottom of a page?

<aside>...</aside>

<footer>...</footer>

<div id="footer">...</div>

<article>...</article>

Which of the following best describes to which element a style rule with the selector footer table{} applies?

Any table that has id="footer" in its opening <table> tag.

Any table in the footer section of the page.

All footer sections, and all tables, anywhere on the page.

Any footer section that happens to be inside a table on the page.

In HTML5, which tags would you most likely use to define a sidebar column?

<sidebar>…</sidebar>

<aside>…</aside>

<td>…</td>

<div>…</div>

Which of the following best describes the default height of a layout element, such as an aside that you define with <aside>…</aside> tags?

100% of the height of the containing element.

10 pixels.

Undefined, or however tall it needs to be to contain its content.

The same height as whatever element is next to it.

Which CSS property:value pair allows you to treat an inline element, such as a link, like a block element, so you can apply block properties like margin: and width:?

visible:hidden

text-decoration:none;

display:block

outline:none

This condition may lids Test your Quantitative Ability Refer to figure 7.9bto answer the following questions: 16. What is the PR interval in this ECG? 17. What is the cardiac rate in this ECG?

Explanation / Answer

Answers:

In a filename like index.htm, what is the htm part called?

The HTML attribute.
The containing folder.
The filename extension.
The URL.

It is called the file name extension.

What does HTML stand for?
Headings Tables Markup Language.
Hypertext Markup Language.
Heuristic Modal Language.
Hyperactive Turmoil Molecular Linguistics.

HTML stands for Hypertext Markup Language.

What does CSS stands for?
Corrective Symbolic Styling.
Collective Styling Syntax.
Cosmic Styling Symposium.
Cascading Style Sheets.

CSS stand for Cascading Style Sheets.

Which HTML attribute is used to start a CSS inline style?
href=.
alt=.
style=.
title=.

style=. HTML attribute is used to start a CSS inline style

Which part of a style rule defines the elements to which the style rule applies?
Value.
Selector.
Semicolon.
Property.

Selector. part of a style rule defines the elements to which the style rule applies

Style rules in an external style sheet apply to what?
Any page that's in the same folder as the style sheet.
The home page of your website only.
Every page on the World Wide Web.
Pages that link to the style sheet.

Pages that link to the style sheet.

The color hex code #fff is short for what longer hex code?
#ffffff.
#f0f0f0.
#0ff0.
#0f0f0f.

#ffffff.

Which of the following is the correct syntax for CSS background-image property?
Background:Image-URL(path);
background-image:path;
background-image:url(path);
backgroundimage:url(path);

background-image:url(path);

Suppose you have a logo image that has a transparent background. You'd like to use it as a background image. But you'd also like the logo to show against a yellow background color. Which CSS property descriptor below would provide the correct coding for the background color?

color:yellow;
background-repeat:yellow;
background-color:yellow;
background-image:yellow;

background-image:yellow;

Which characters should you use to surround an HTML comment?
" and "
<!-- and -->
/ and /
/* and */


<!-- and -->

Which CSS property would you use to create visible borders around an element?
The border-radius property.
The box-shadow property.
The background-color property.
The border property.

The border property.

What CSS property allows you to define a background shadow?
The border-shading property.
The border-radius property.
The box-shadow property.
The background-image property.

The box-shadow property.

Paragraphs, headings (h1 through h6), and lists are all examples of which kind of HTML element?
Inline elements.
Monospace elements.
Deprecated elements.
Block elements.

Block elements.

Which type of font puts a little curlicue on each letter, making text easier to read at smaller sizes?
Proportional fonts.
Sans-serif.
Serif.
Monospace.

Monospace.

Which type of text alignment produces smooth left and right sides on multi-line text blocks like paragraphs?
Right.
Center.
Left.
Justify.

Justify.

Suppose you want to center a picture horizontally on a page. You put the image inside a pair of div tags so it starts on a new line. What else must you do to center the image?
Add text-align:justify to the img tag (or style rule).
Add alt="center" to the img tag.
Add text-align:center to the div's opening tag (or style rule).
Put float:center in the img tag.

Put float:center in the img tag.

Which CSS property allows you to clear a float so that a new element starts on a new line below a floating element, rather than next to the floating element?
The float: property.
The background-repeat: property.
The clear: property.
The height: property.

The clear: property.

You can use either CSS properties or HTML attributes to size images. If you wanted to use a CSS inline style rather than an HTML attribute to set the width of an image to 100 pixels, what would be the correct code?
width:style="100px"
width="100"
makeme="100px wide"

style="width:100px"

If you create a style class with .raised as the selector, which of the following would be the correct code for applying that class to an element?
class="RAISED"
class="raised"
CLASS=".Raised"
ID=raised

CLASS=".Raised"

Which of the following defines the style of links when the mouse pointer is on the link?
a:hover.
a:link.
A:visited.
a:mouseover.

a:hover.

Which HTML attribute allows you to define tooltip text for links and other elements?
hover=
title=
img=
alt=

title=


Which option at YouTube's website allows you to show a YouTube video right on a page in your site without the user having to click a link to go to YouTube's site?
Embed.
Link.
Email.
Flag.

Embed.

Which three video formats are best used with the HTML5 <video> tag?
WMV, MOV, and AVI.
QT, RM, 8MM.
3GP, 3G2, and Flash.
MPEG4, OGG, and WEBM.

MPEG4, OGG, and WEBM.

Which of the following are the preferred audio formats for the HTML5 <audio> tag?
AIFF, VOX.
MIDI, AAC.
MP3, OGG.
WAV, WMA.

MP3, OGG.

Which tags mark the beginning and end of a single table row in a table?
<tr>...</tr>
<td>...</td>
<th>...</th>
<table>...</table>

<tr>...</tr>

Which CSS selector shows the correct syntax for applying a light blue background color to odd-numbered table rows in a table?
tr:nth-child(odd)
tr:Nth child("EVEN")
tr:Nth child("ODD")
tr:nth-child(even)

tr:nth-child(odd)

Which CSS property lets you define the appearance of the mouse pointer?
cursor:
padding:
outline:
border:

cursor:

What do the p (paragraph) and heading (h1 through h6) elements have in common?
They can't be styled using CSS.
They're all block elements.
They're all new elements, which didn't exist prior to HTML5.
They're all inline elements.

They're all block elements.

What do we call the empty space that's just inside the borders of an element (between the border and the text that's inside the border)?
Margins.
Height.
Width.
Padding.

Padding.

Suppose you set the width of a wrapper div to 80% so it scales to the width of the browser window. But you want to limit how wide it can go to 1440 pixels because your design doesn't look good beyond that. What CSS property:value pair would limit the element's width to 1440 pixels?
max-height:1,440%.
max-width:1440px.
max-width:1440%.
max-height:1440pixels.

max-width:1440px.


What is the key advantage to using modern layout tags like <header>, <footer>, <nav>, and so forth over older, more generic tags like <div>?
You don't have to put any content inside any of the tags because the content just magically appears by itself in the browser.
They have complex default styling with colors and fonts, so you can use them as-is without doing any styling of your own with CSS.
You can put the tags any place in the page or style sheet, and the elements they define show up in the correct place in the Web browser automatically.
The new layout tags provide specific, recognizable, unambiguous information to non-visual user agents.

You can put the tags any place in the page or style sheet, and the elements they define show up in the correct place in the Web browser automatically.

In HTML5, which tags would be best for identifying the footer section at the bottom of a page?
<aside>...</aside>
<footer>...</footer>
<div id="footer">...</div>
<article>...</article>

<footer>...</footer>

Which of the following best describes to which element a style rule with the selector footer table{} applies?
Any table that has id="footer" in its opening <table> tag.
Any table in the footer section of the page.
All footer sections, and all tables, anywhere on the page.
Any footer section that happens to be inside a table on the page.

Any table in the footer section of the page.

In HTML5, which tags would you most likely use to define a sidebar column?
<sidebar>…</sidebar>
<aside>…</aside>
<td>…</td>
<div>…</div>

<td>…</td>

Which of the following best describes the default height of a layout element, such as an aside that you define with <aside>…</aside> tags?
100% of the height of the containing element.
10 pixels.
Undefined, or however tall it needs to be to contain its content.
The same height as whatever element is next to it.

100% of the height of the containing element.

Which CSS property:value pair allows you to treat an inline element, such as a link, like a block element, so you can apply block properties like margin: and width:?
visible:hidden
text-decoration:none;
display:block
outline:none

outline:none

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote