Web Design & Development I

¡Supera tus tareas y exámenes ahora con Quizwiz!

How do you select an element with id "demo"?

#demo

How do you select elements with class name "test"?

.test

Which character is used to indicate an end tag?

/

How do you insert a comment in a CSS file?

/* this is a comment */

Which doctype is correct for HTML5?

<!DOCTYPE html>

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

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

How can you make a numbered list?

<ol>

When using the padding property; are you allowed to use negative values?

No

Who is making the Web standards?

The World Wide Web Consortium

What is the correct HTML for creating a hyperlink?

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

What is the correct HTML for adding a background color?

<body style="background-color:yellow;">

What is the correct HTML for inserting a background image?

<body style="background-image:url(background.gif)">

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

<br>

Choose the correct HTML element to define emphasized text

<em>

Which HTML element is used to specify a footer for a document or section?

<footer>

Choose the correct HTML element for the largest heading:

<h1>

Which HTML element is used to specify a header for a document or section?

<header>

What is the correct HTML for inserting an image?

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

What is the correct HTML for making a checkbox?

<input type="check">

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

<input type="text">

What is the correct HTML for referring to an external style sheet?

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

Which HTML element defines navigation links?

<nav>

Inside which HTML element do we put the JavaScript?

<script>

What is the correct HTML for making a drop-down list?

<select>

Choose the correct HTML element to define important text

<strong>

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

<style>

Which of these elements are all <table> elements?

<table><tr><td>

What is the correct HTML for making a text area?

<textarea>

Which HTML element defines the title of a document?

<title>

How can you make a bulleted list?

<ul>

What is the correct HTML element for playing video files?

<video>

Where is the correct place to insert a JavaScript?

Both the <head> section and the <body> section are correct

What does CSS stand for?

Cascading Style Sheets

Block elements are normally displayed without starting a new line.

FALSE

What does HTML stand for?

Hyper Text Markup Language

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

In the <head> section

How do you group selectors?

Separate each selector with a space

An <iframe> is used to display a web page within a web page.

TRUE

HTML comments start with <!-- and end with -->

TRUE

Inline elements are normally displayed without starting a new line.

TRUE

How do you display hyperlinks without an underline?

a {text-decoration:none;}

How do you write "Hello World" in an alert box?

alert("Hello World");

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

alt

Which property is used to change the background color?

background-color

Which is the correct CSS syntax?

body {color: black;}

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

border-width:10px 1px 5px 20px;

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

color

How do you select all p elements inside a div element?

div p

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

font-family

Which CSS property controls the text size?

font-size

How do you make the text bold?

font-weight:bold;

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

h1 {background-color:#FFFFFF;}

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

list-style-type: square;

Which 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;}

What is the default value of the position property?

static

Which HTML attribute is used to define inline styles?

style

How do you make each word in a text start with a capital letter?

text-transform:capitalize


Conjuntos de estudio relacionados

WPC 480- Chapter 3: External Analysis

View Set

Human Resource Management chapters 2 & 3

View Set

Chapter 15: Postpartum Adaptations

View Set

Chapter 7 The Skeletal System: The Axial Skeleton

View Set

EMBEDDED SYSTEMS MIDTERM QUIZZES REVIEW (except for ESSAY)

View Set

Medical Terminology Chapter 17 Abbreviations: The Eye

View Set

Ch 3 The Chemistry of Organic Molecules

View Set

EMT-B Chapter 30 - Abdominal and Genitourinary Injuries (Multiple)

View Set