HTML/ CSS Post Test

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

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

/* */

What are the four structure tags?

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

What is the correct HTML for inserting an image?

<img src="url" alt="text">

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"

What does HTML stand for?

Hyper Text Markup Language

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

a bulleted list or <ul>

How do you display hyperlinks without an underline?

a {text-decoration:none;}

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

< head>

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

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

Which of the following is a valid HTML hyperlink?

<a href="http://www.coolbeans.com">Cool Beans</a>

Give an example of a valid e-mail link?

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

Give an example of correct CSS syntax?

Body {color:white}

What does CSS stand for?

Cascading Style Sheets

Most web pages are created using a markup language called

HTML

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

High contrast between foreground and background, aesthetics, color connotations

Style sheets cascade, which means

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

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

class

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

font or font-family

Which CSS property controls the text size?

font-size

Write the appropriate CSS to make the text bold?

font-weight:bold;

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

margin-left

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

p {font-weight: bold;}

Give an example of a valid style sheet?

style.css

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

.css

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

.html

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>

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 tag for the largest heading

<h1>

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

<html>

What is the proper HTML to create a numbered list?

<ol>

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

<style>

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

Which CSS property is used to change the background color?

background-color

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?

border-width: 15px, 1px, 2px, 10px;

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

color

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

h1 {background-color:blue;}


Set pelajaran terkait

Managerial Accounting - Ch 10 - Standard Costing and Analysis of Direct Costs

View Set

Chapter 5 Activity Based Costing & Activity Based Management

View Set

Chapter 11: Vulnerable Populations

View Set

Chapter 18 study guide questions

View Set

Narrative of the Life of Frederick Douglass

View Set

Test 2 - Study Guide (7,8,9,10,12)

View Set