Chapter 2

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following is an example of correct HTML tag nesting?

<h1><em> Site Development Associate </em></h1>

Which of the following is required in an HTML tag?

An element

Which HTML tag type consists of a pair of opening and closing tags?

Container tags

The <br/> tag defines:

a line break.

The opening <body> and closing </body> tags encompass:

all content to be displayed on the page through the user agent.

HTML markup tags consist of:

an element, an attribute and a value.

Where is the slash ( / ) character placed in a stand-alone non-empty HTML tag?

After the element name (before the closing wicket)

Why is it preferable to use <strong> in lieu of <b> to apply the bold text style?

Because <strong> can be used both to denote bold text when printed and strongly spoken text when output through an audio device

Why should you avoid placing paragraph breaks around heading styles in your HTML code?

Because heading styles are automatically preceded and followed by paragraph breaks

When you prepare your development environment to create Web page code, why should you set file preferences to view file name extensions?

Because you will be working with various file types that may have the same or similar names

When creating your Web pages, you should consider the site's structure because your files will be uploaded to a server eventually. How are Web site files typically structured?

HTML pages are placed in a directory, and all images and files used in that page are stored in subfolders with the same name.

Which HTML heading style renders text the same size as normal text?

Heading level 4

You are preparing to begin developing your Web page code. Which step will help you test your code in various environments?

Installing multiple browsers

What automatically separates individual list items when you create an ordered or numbered list?

Single line breaks

How many heading styles are defined for HTML?

Six

Which of the following specifies the markup language and version used by your HTML file?

The <!DOCTYPE> tag

Text surrounded by the <b> and <strong> tags both result in bold text. How do the tags differ?

The <b> element applies the bold font style, whereas <strong> applies a heavier weight to the text relative to the surrounding text.

Which HTML tag should you use if you want to center and indent a block of text?

The <blockquote> tag

A character set is the group of symbols used to render text on a page. In which of the following should you specify the character set for an HTML document?

The <meta> tag

With which of the following should you specify the text that will appear when your Web page is bookmarked or added to a browser's Favorites folder?

The <title> tag

Which of the following statements about HTML5 is true?

The DTD file is no longer required in HTML5.

onsider the following HTML code: <h1>CIW Site Development Associate Skills </h1> <ul> <li>Project Management</li> <li>HTML Coding</li> <li>GUI Authoring</li> </ul> Which of the following statements about this code is true?

The line breaks between elements make the code easy to read, which is considered good coding practice.

Between which tags must all HTML code for a document reside?

The opening <html> and closing </html> tags

What happens when you place text between the <!-- and --> tags in your HTML source code?

The text will be "commented out" and will not appear on the Web page.

Consider the following code: <h1>CIW Site Development Associate Skills </h1> <ul> <li>Project Management</li> <li>HTML Coding</li> <li>GUI Authoring</li> </ul> Which of the following statements about this code is true?

This code will create a bulleted list.

For what should you use the <link> tag in the <head> section of your HTML document?

To reference a style sheet for the page

What will happen if you neglect to include a <!DOCTYPE> tag in your HTML document?

Your page will not validate with a markup validator.

Consider the following line from an HTML document: <title> Site Development Associate </title> This code shows an example of:

a container tag.

The opening <p> and closing </p> tags define:

a paragraph.

Consider the following line from an HTML document: <title/> Site Development Associate This code shows an example of:

a stand-alone non-empty tag.

Consider the following line from an HTML document: Site Development Associate<br> This code shows an example of:

an empty tag.

A block-level element is a markup element that affects at least:

an entire paragraph.

A numbered list is considered to be:

an ordered list.

A bulleted list is considered to be:

an unordered list.

HTML tags:

are not case-sensitive but should always be typed in lowercase letters.

Good coding practice requires you to use:

container tags.

You can use the <pre> tag to:

display preformatted tabular data if you have no time to format it.

The default or starting page of a Web site is called the:

home page.

The smallest unit that a text-level element can affect is:

one character.

Tags that format text as bold or italic are known as:

text-level elements.


Set pelajaran terkait

Realidades 2: Capítulo 3A (el pretérito irregular)

View Set

Information Technology Project Management Mid Term

View Set

APUSH Chapter 13-17 Exam questions

View Set

Insurance exam review 9. Life Insurance

View Set

Chapter 21: Care of the Normal Newborn

View Set

International Business Final Exam

View Set

Unit 1: Sexuality -STI HPV (Human Papillomavirus)

View Set