html

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

If you wanted to make a sentence appear shown below, which of the following HTML elements should you use? The TRUTH is out there!

<p>The <em>TRUTH</em> is out there!</p>

An HTML radio button allows multiple values to be selected at the same time.

Never

To embed HTML code from another website usually the <iframe> element is used.

True

Considering the following snippet of HTML, what is the content:

Welcome.

An HTML form element usually contains which of the following attributes:

action, method

Considering the following style declaration, what would be the line style on the left border? border-style:solid dotted dashed double; Considering the following style declaration, what would be the line style on the bottom border? border-style:solid dotted dashed double; When styling a border using CSS, any line pattern applied, such as dotted, must be identical on all four sides. When styling a border using CSS, any color applied must be identical on all four sides. Considering the following style declaration, what would be the line style on the right border? border-style:solid dotted dashed double;

double dashed false false dotted

If a form input field does not include a name value, the information entered into the field will ____.

not be submitted.

A selector can be __________,

set using element, class, or ID names.

For an image to appear in an HTML document, it must include which of the following attributes?

src=""

To set the duration of a CSS animation, use the animation-duration declaration. The following animation contains how many keyframes? @keyframes movingbox {0% {transform: translate3d(-200%, 0, 0);} 50% {transform: translate3d(0, 0, 0);} 100% {transform: translate3d(-200%, 0, 0);}} The following animation contains how many keyframes? @keyframes movingbox { from {transform: translate3d(-200%, 0, 0);} to {transform: translate3d(0, 0, 0);}} To set the duration of a CSS animation, use the animation-name declaration. If a CSS declaration includes animation-name: disco; what would be the correct keyframes selector:

t 3 2 f @keyframes disco { ... }

To change the appearance of a bullet in an unordered list with my selfie (saved as selfie.jpg), I would likely use: ul {list-style-image: url('selfie.jpg');

true

For example, a CSS overlay allows you to add text on top of an image that only appears when a mouse is positioned over that image. A major drawback to using an overlay is that no styles can be applied to the original image if you plan to add styles for an overlay. Creating a CSS overlay that shades an image grey when moving the mouse over the image, requires you to create a regular and a greyscale version of the image using Photoshop. When creating an overlay for an image it is important to remember that many unique lines of CSS must be created for each image. Furthermore, lines of CSS describing an overlay cannot be used for more than one image on an HTML page. A CSS overlay could allow you to shade an image blue when a mouse is positioned over a particular image, but red shading will not be available until CSS4 is released.

true false false false false

To select all list items of an HTML document using CSS, you would use the li {} selector. To select all unordered list contained in an HTML document using CSS, you would use the ul {} selector. To change the background color of all list items contained in ordered lists to red, I would likely use: ol li {background-color:red; To select all ordered list contained in an HTML document using CSS, you would use the ol {} selector.

true true true true

CSS files contain a selector and a declaration. A CSS declaration consists of a property and a value. In CSS, the declaration is located inside two curly {} braces. In CSS, the selector is located inside two curly {} braces.

true true true false

When developing an HTML form, to group multiple input elements together in a single radio group they must have a ______.

type="radio" as well as identical name values

Which of the following HTML Image elements is most likely to be compliant and correct?

<img src="students.jpg" alt="Students walking to class.">

Which of the following snippets of HTML would most likely result in the following when viewed through a browser: The three critical elements of popular music are: - rhythm- melody- harmony

<p>The three critical elements of popular music are:</p><ul> <li>rhythm</li> <li>melody</li ><li>harmony</li> </ul>

In HTML, a <th> tag is usually found immediately after which of the following tags?

<tr>

If I wanted to change the background color to blue on devices with a viewport larger than 500px, I would use the following CSS Media Query:

@media screen and (min-width: 500px) { body { background-color: blue;}}

If I see an image with an alt attribute value of "100 cows in a pasture." What would I expect to see when opening the related image file?

A picture of 100 cows in a pasture.

What are two things necessary for an HTML link to function, beyond the <a> element?

Including an href attribute/value pair and adding something clickable. (e.g., <a href="page.html">Something Clickable</a>)

A CSS Media Query is commonly used to change the CSS layout of a page based on the viewport size/device resolution. A CSS Media Query is commonly used to detect if a Youtube or Vimeo file is being viewed. : Many web developers use three to five CSS Media Queries to ensure that website render correctly across various desktops, tablets, and mobile phones. A CSS Media Query is commonly used to change the CSS layout of a page based on the size of a video.

T f t f

When an HTML element is set to float left using CSS, subsequent elements will position themselves to the right of this element. A CSS Flexbox layout allows elements to be positioned in columns and rows. A CSS Flexbox layout allows elements to be displayed in a grid. The primary purpose of the CSS Box Model concept is to add attractive colors (e.g., purple and yellow) to your CSS. Borders, margins, and padding are important components of the CSS Box Model.

True true true false true

To make all text within the element that uses the bold ID appear as 32 pixels in height, I would use the following CSS:

#bold { font-size:32px;}

Which of the following is an example of an HTML entity:

&nbsp;

To add a selector for when a mouse is hovering over an element with the animate class, you would use the following: To add a selector for when a mouse is hovering over an element with an ID of hover, you would likely use the following: To slow a transition to take 5 seconds, simply add the following CSS declaration: A separate classes are required when transitioning both height and width. To add a selector for when a mouse is hovering over any H1 element, you would likely use the following:

.animate:hover {} #hover:hover { ... } transition-duration: 5s; false h1:hover { ... }

Assume that you have an <h3> element in the body of an HTML document. This particular <H3> element also has an ID of "diego". How would you link an image to this element from elsewhere on the HTML document?

<a href="#diego"><img src="diego_small.jpg"></a>

To create an HTML Table Caption, you would use the following tag:

<caption>

Which of the following correctly sets two classes on a single div element?

<div class="mumbai london">

Generally, which of the following HTML headings would appear largest when rendered in a browser?

<h1>

An HTML element is identified using tags. For example, the tag for a Level 2 HTML Heading would most likely be:

<h2>

An HTML element is identified using tags. For example, a tag for an HTML Document Header would be:

<head>

If content is removed or if the server that hosts embedded content is down, this should have little impact on the way embedded content appears on your website.

False

Semantic layout is preferred over table-based layout in ____ circumstances.

all

When developing an HTML form, to preset a radio or checkbox input, simply add the following attribute to the form input element:

checked

The <header> element is considered a non-semantic element.

false

The content of the <title> tag of an HTML file must match the file name. For instance, if the file is named brackets.html, the title must be <title>brackets.html</title>.

false

Using CSS, a selector is always found inside the curly braces {}. Using CSS, a selector is always found outside the curly braces {}. Which of the following is an example of an element selector? Using CSS, a declaration consists of a property and a value.

false true h1 true

In HTML, the <table> element is commonly used for semantic layout. The <tr> element is commonly used for semantic layout.

false false

If you wanted to select all images of an HTML document using CSS, you should always use the ______ selector.

img

style="background-color:darkseagreen;" is an example of using a __________. style="color:#8fbc8f;" is an example of a __________. Alpha values can be set for _____. style="color:hsl(120,25%,65%);" is an example of a __________. style="color:rgb(143,188,143);" is an example of using a __________.

named color hexadecimal color RGB and HSL colors HSL color RGB Color

In HTML, using the <article> element is an example of semantic layout. In HTML, using the <header> element is an example of semantic layout.

true true


Kaugnay na mga set ng pag-aaral

Questions I Got Wrong on the Practice - AP Human Geography

View Set

Module 3- Neuromuscular phys/plasticity

View Set

SIE Final Exam #2 Missed Questions

View Set

EMT (Orange Book), Ch. 11 & 12, Spring 2015

View Set