BWM Final Exam (Written)

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

What is the best image format for a photograph of the Grand Canyon to be used on the Web?

.jpg

Choose the preferred HTML tag to make text appear in italics

<em>

What are the 3 attributes needed for the <form> element?

Action, method, title

The opening and closing body tags encompass?

All content to be displayed on the page through the user agent

As you come your pages in html, which of the following should you always keep in mind?

All of the above (pages must be accessible for all, pages use proper code, spelling and capitalization matter)

What does CSS stand for?

Cascading Style Sheets

Your page has a footer at the bottom of 3 floated div columns. What attribute should you apply yo the footer to keep it below the 3 columns?

Clear:both;

How do you change the text color of an element?

Color: #06C;

Which term describes a hyperlink you create from a plague on your site to a page on a site out on the Web?

External hyperlink

The correct way to create a 2 column website is to:

Float one div to the right or left of another div

How do you change the type of font used for an element?

Font-family:

Which CSS property controls the text size?

Font-size: 14px;

What does HTML stand for?

Hyper Text Markup Language

How do you make a list that lists its items with squares?

Li {list-style-type: square;}

Using the box model, which CSS property will give you spacing outside of the box?

Margin

Which of the following is the correct way to remove all default margins from an element?

Margin: 0px;

What is the correct CSS syntax for making all the paragraph elements in a document bold?

P {font-weight:bold;}

What is the default type of position used in an HTML document?

Static

When creating a table, how do you hide cells that do not have any content?

Td {empty-cells:hide;}

Consider the following HTML code: <a href="http://www.habitat.org">Habitat</a>. In this example, to what does "http://www.habitat.org" refer?

The destination of your hyperlink

Who is making the Web standards?

The World Wide Web Consortium

What is the definition of static positioning?

The default if no positioning is applied-this simply lays out the element as normal in the document flow

When you create a hyperlink element, which of the following should you use to specific the target of the link?

The href attribute

What occurs when you surround an image tag with an opening and closing hyperlink element?

The image defined by the image tag will become a hyperlink

Consider the following HTML code: <a href="http://www.habitat.org">Habitat</a>. In this example, to what does "Habitat" refer?

The page text that will be affected by the hyperlink element

After working on a website locally, when you upload your website to a web server, the file references should remain unchanged as long as:

Your directory structure also remains unchanged

When creating an internal hyperlink to an HTML element, what must be included?

An id name must be added to the HTML element as a place to link to. The link musty include "#" in front of the id name to locate the element within the file.

Why would you use a class instead of an id in a div tag?

Because you want to use the same exact styles for several divs

Where in an HTML document is the correct place to refer to an external stylesheet?

Between the opening and closing <head> tag

Which of the following use the correct border short-hand to display a border on an element that has: Top border = 10px Bottom = 5px Left = 20px Right = 1px

Border-width: 10px 1 pix 5px 20px;

An absolute URL:

Contains a full path to a resource, including the protocol indicator

If you have a div that has the following values: Height: 200px Width:200px Padding:5px Margin:40px Border-width: 5px What is the overall size of just the box?

Height: 220px Width: 220px

How do you add a background color for all first level headings?

h1 {background-color: #FFFFFF;}

How do you insert a comment in a CSS file?

/* this is a comment */

Which of the following is the correct code for inserting an HTML comment?

<!--this is a comment-->

Which is the correct HTML structure?

<!doctype HTML> <html> <head> <meta charset="utf-8"> <title>My Webpage</title> </head> <body> <p>My webpage content</> </body> </html>

Which of the following examples uses the correct syntax for the anchor tag linking the text "habitat for humanity" to the file called habitat.html?

<a href="habitat.html">Habitat for Humanity</a>

What is the correct HTML for creating a hyperlink?

<a href="http://www.w3schools.com">W3Schools</a>

How is an e-mail link created?

<a href="mailto:[email protected]">

How can you open a link in a new browser window?

<a href="url" target="_blank">

What is the correct HTML for inserting an image?

<img src="image.gif" alt="MyImage">

Which is the correct CSS syntax for changing the text color to black?

Body {color:black;}

By default, what occurs when a user clicks a hyperlink in a browser?

The specified destination or object will appear

What property should you use to. Control the order that content is layered or stacked?

Z-index

How do you display hyperlinks without an underline?

a {text-decoration:none;}

W=choose the preferred HTML tag to make text appear bold

<strong>

Which of these tags are all correct <table> tags?

<table><tr><td>

HTML has gone through many changes since it was first introduced. The latest version is HTML5. What are some of the characteristics of HTML5 that make it better than earlier versions of HTML?

All of the above are true (its more forgiving so can be coded easier, its has new features that allow users to do more with code and rely less on JavaScript and Flash, and it puts more emphasis on making the web more accessible to all)


Set pelajaran terkait

Parasitology Quiz Questions (Part I)

View Set

Civil War and Reconstruction APUSH

View Set

COMM 131: Chapter 18 (Commemorative Speech)

View Set

Help Desk Final (Chapter 1 - 11) ALL

View Set