html/css TEST

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What extension must be included with an HTML document file name?

.HTML

What extension is used when a style sheet is saved as a separate file?

.css

Write the proper code for a comment in a CSS file?

/* this is a comment */

After a CSS rule is defined, what HTML tag is the rule applied to when creating a CSS page layout?

<div>

What heading tag has the largest font size?

<h1>

What is the correct HTML for inserting an image?

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

What is the correct HTML for making a text input field?

<input type="text">

What is the correct HTML to link an external style sheet named default.css?

<link rel="stylesheet" type="text/css" href="default.css">

Which HTML tag is used to define an internal style sheet?

<style>

What does HTML stand for?

HyperText MarkUp Language

What type of list is a set of items where each item is equally important?

a bulleted list; <UL>

A set of declarations that can be applied to different tags is called

a class

What modifies an HTML element and is comprised of a selector and declarations?

a rule

Which application is used to view HTML documents that have been published to a web server?

a web browser

How do you display hyperlinks without an underline?

a {textdecoration:none;}

What is the correct CSS syntax for making all the <p> elements bold?

a {textdecoration:none;}

Give an example of correct CSS syntax?

body {color: white;}

How do you display a border like this: The top border = 15 pixels The bottom border = 2 pixels The left border = 10 pixels The right border = 1pixel?

borderwidth:15px 1px 2px 10px;

What are two HTML tags that can be used to make a text bold?

<B>; <EM>

What is the correct HTML tag for inserting a line break?

<BR>

What is the correct HTML tag for the largest heading?

<H1>

The link to an external style sheet should appear in the ___________ of an HTML document?

<HEAD> section

Which tag tells the browser that the document file contains Hyper Text Markup Language?

<HTML>

What are the four structure tags?

<HTML>, <HEAD>, <TITLE>, <BODY>

What is the proper HTML to create a numbered list?

<OL>

You should be able to recognize a valid HTML hyperlink?

<a href="http://www.pftsta.com">PFTSTA</a>

Give an example of a valid email link?

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

Write the HTML that allows you to open a link in a new tab/browser window?

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

Which property is used to change the font of an element?

Both fontfamily and font can be used

What does CSS stand for?

Cascading Style Sheets

Most web pages are created using a markup language called

HTML

Which CSS property is used to change the background color?

background-color

Which CSS property is used to change the text color of an element?

color

Which CSS property controls the text size?

font-size

Write the appropriate CSS to make the text bold?

fontweight:bold;

How do you add a background color for all <h1> elements?

h1 {backgroundcolor:#FFFFFF;}

What should a designer consider when choosing colors for a web site?

high contrast between foreground and background, aesthetics, color connotations

Which CSS property is used to change the left margin of an element?

marginleft

Style sheets cascade, which means

rules from one style sheet can be applied in addition to those in another style sheet.

Give an example of a valid style sheet?

style.css


Ensembles d'études connexes

Investment Planning - Efficient Market Theory (EMT)

View Set

chem exam 3 - ch 7 Copied from somone els

View Set

Ch. 2 Unit 1 exam Federal Government

View Set

Exam 4 Chapter 19: Environmental Health

View Set