MTA 98-375 Chapter 2 Questions

Ace your homework & exams now with Quizwiz!

multimedia elements such as audio and video, and elements that make the structure of a Web page seem more intuitive.

"What dose HTML5 included in many new elements that increase the functionality of Web pages or

<b>

"use it to indicate

describe (mark up) pieces of content to display on a Web page.

(HTML) is called a markup language because you use it to

attributes

A(n) __________ works with an element to describe data in enough detail for rendering.

JavaScript commands to draw pixel-based shapes on a canvas that include color, gradients, and pattern fills.

JavaScript commands to draw pixel-based shapes on a canvas that include color, gradients, and pattern fills.

<strong>

importance, where the content is more important than nearby words.

<meter>

indicates content that's a fraction of a known range

<img>

insert image

<small>

small print or side comments.

deprecated

A _ element or attribute has been removed from the list of available HTML elements according to the W3C.

raster, vector

A ___ image is made up of pixels, whereas a ___ image is made up of lines and curves based on mathematical expressions.

empty

An HTML tag that doesn't require an end tag is called a(n) ________ tag.

Allow you to read markup better. They do not apper on the web page.

Blank lines and indents in make up only do what?

javascript

Both canvas and SVG require which of the following?

<head>

Contains markup and code used by the browser, such as scripts that add interactivity, and keywords to help search engines find the page.

controls

Displays a set of controls for playing, pausing, and stopping the video, and controlling the volume

poster

Displays a static image file before the video loads

<title>

Displays the title of the Web page, which appears at the top of the Web browser, usually on the page's tab in a tabbed browser.

HTML5 is designed to be broadly compatible with both new and old Web browsers, and the mobile device environment.

HTML5 simplified doctype is partially responsible for what?

<html>

ID's as HTML doc. encompasses everything on the page other than the doctype declaration at the top.

br and hr

Name two single tags.

figure

New to HTML5, the ________ element specifies the type of figure you're adding,such as an image, diagram, photo, and so on.

<body>

Surrounds content that's visible on the Web page when viewed in a Web browser.

provide multimedia from a Web browser without the need for plug-ins.

The HTML5 ________ element and ________ elements enable you to provide multimedia from a Web browser without the need for plug-ins.

insensitive

The HTML5 doctype is case-"__"

figureCaption

The ________ element adds a caption to an image on a Web page, and you can display the caption before or after the image.

doctype

The __________ is a declaration that is found at the very top of almost every Web page.

to create hyperlinks and to insert simple graphics.

Two of the most common uses of attributes are

canvas

Using the ________ element, the Web page becomes a drawing pad, and you use JavaScript commands to draw pixel-based shapes on a canvas that include color, gradients, and pattern fills.

basefont, center, font, and strike

What are a few of the text deprecated elements in HTML5?

vector

What does "V" stand for in the file type SVG?

It prompts the user to choose which format of the myVacation video it should play, .avi or .ogg.

What does the following HTML5 code do? <video controls> <source src="vid1.avi" type="video/avi"><source src="vid1.ogg" type="video/ogg"?>/video?

canvas id=

What is the basic syntax for the canvas element in an HTML document?

<audio src=

What is the markup for using the HTML5 audio element?

<video src=

What is the markup for using the HTML5 video element?

img src=

What markup do you use to display an external image on a Web page?

graphic shapes,images,text

What type of objects can you create with SVG?

when the screen is large,displaying real time input like maps

When should you use the SVG element instead of canvas?

when it is small, requires many objects,small screens,

When should you use the canvas element instead of SVG?

img.center {display: block; margin-left: auto; margin-right: auto;}

Which CSS code fragment centers an image horizontally?

New text-related elements in HTML5 include , , and , along with a few others.

Which HTML text-related elements are new in HTML5?

<command>

Which HTML5 element defines a command button that users click to invoke a command?

<mark>

Which HTML5 element enables you to highlight blocks of text in an HTML document?

<pre>

Which HTML5 tag is used to display text with a fixed-width font and preserves both spaces and line breaks?

video and audio

Which HTML5 tags enable you to incorporate multimedia in a Web page?

<select>

Which tag is used to create a drop-down list in HTML5?

<img>

Which tag is used with the <figure> tag to display an image?

On pre-HTML5 browsers, the happy.wav file will not play, and instead Hello World will be displayed and On an HTML5 browser that supports .wav files, the happy.wav file will be played and Hello World will be hidden.

Which two outcomes will this code fragment accomplish? <audio src="happy.wav" controls="controls"> Hello World >/audio>

<command>

a button that has many attributes you can use, such as type, label, title, icon, disabled, checked, and radiogroup.

<b>

boldface

<time>

can be made machine-readable with the datetime attribute.

<p>text<b><i>more</i></b></p>

code shows the correct way to nest tags in HTML5?

alt=

displays when a user hovers the mouse pointer over the image

<em>

element indicates emphatic stress.

<i>

element is now used for text in an "alternate voice or mood." This could be spoken text, thoughts, or something similar that doesn't convey importance or emphasis.

<mark>

for highlighting text on a page.

<hx>

heading h1-h6

<progress>

progress of a task towards completion.

<p>

text is paragrapgh

<a href=URL>

used to anchor a URL to text or an image; can also create a named anchor within a document to allow for linking to sections of the document.

in the head element

were should a UTF-8 delaration go?

<html>, <head>, <title>, and <body>

what 4 tags are required in every web page?

<strong> <em>

what HTML5 tags format text content only?

e figure and figcaption

what are Two new graphics-related elements introduced in HTML5 ?

command, mark, time, meter, and progress

what are the new text elements in HTML5?

one tag is called the opening or start tag, and the other is the closing or end tag.

what are the two pairs of tags?

f content, tags, and perhaps graphics, multimedia

what combination is what builds up a web page?

ampersand,semicolon

what dose a entitiy begin and end with?

its flexibility. Its vector graphic changes size to fit the screen on which it's displayed,

what is a major benefit to SVG?

The canvas element graphics and animation functions are intended to provide quality similar to those in Flash movies.

what is canvas element used for?

<a href="http://www.example.com"> link text</a>

what is is the syntax for creating a hyperlink in HTML?

that raster images lose quality (they become pixelated) as you enlarge them, but vector images maintain quality even when enlarged.

what is the difference between rastor image and vector image?

<audio src="sample.mp3" controls="controls">

what is the general format of the audio element?

<video src="file.mp4" width="X" height="Y">

what is the general format of the video element?

learning which tags to use and when.

what is the ket to learning html?

character codeing

what is the process of incorporating entities in a Web page

nested tags must be closed before their parent tags

what is the rule for nesting tags?

html

what is used to describe content for display on a Web page. An element is the combination of tags and the content they enclose.

raster

what type of image is a photograph?

when character encodeing

when should you declare UTF-8?

People with limited vision may use a screen reader, and search engines who cant see the image

who uses the alt tag?

div > h2 {background-color: #900;}

write a CSS3 code fragment styles an H2 element only if it is a direct child of a DIV element

<video width="1" height="2" poster="name.jpg">

write a code fragment will display an image file while the video is downloading.


Related study sets

Combo with "EMT Basic Chapter 32" and 3 others

View Set

Week 6- Non-verbal communications and cultures

View Set

Industrial and Organizational Psychology (Levy Ch. 1-5)

View Set

Pharm 154 Psychotherapeutic Drugs and Muscle Relaxants

View Set

Intro Nursing EXAM 1 Study Guide

View Set