ICS 113 HTML CSS PART

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which HTML element defines the title of a document?

<title>

What does CSS stand for?

Cascading Style Sheet

What is the correct HTML for creating a hyperlink?

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

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>

Which HTML element is used to display a scalar measurement within a range?

<meter>

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

<style>

In HTML, onblur and onfocus are:

Event attributes

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

In the <head>

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

No

Who is making the Web standards?

The World Wide Web Consortium

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

True

In HTML, you can embed SVG elements directly into an HTML page.

True

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

color

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

#demo

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

.test

How do you insert a comment in a CSS file?

/* this is a comment */

Which doctype is correct for HTML5?

<!DOCTYPE html>

What is the correct HTML element for playing audio files?

<audio>

Choose the correct HTML element to define emphasized text

<em>

Choose the correct HTML element for the largest heading:

<h1>

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

<head>

What is the correct HTML for making a checkbox?

<input type="checkbox">

Which HTML element defines navigation links?

<nav>

How can you make a numbered list?

<ol>

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

<select>

What is the correct HTML element for playing video files?

<video>

HTML syntax for referring to a style sheet

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

Choose the correct HTML element to define important text

<strong>

Which of these elements are all <table> elements?

<table><tr><td>

What is the correct HTML for making a text area?

<textarea>

How can you make a bulleted list?

<ul>

In HTML, what does the <aside> element define?

Content aside from the page content

What does HTML stand for?

Hyper Text Markup Language

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

True

Inline elements are normally displayed without starting a new line.

True

Graphics defined by SVG is in which format?

XML

What is the correct HTML for adding a background color?

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

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">

How do you group selectors?

Separate each selector with a comma

The HTML global attribute, "contenteditable" is used to:

Specify whether the content of an element should be editable or not

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

alt

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

a{font-weight:bold;}

How do you display hyperlinks without an underline?

a{text-decoration:none;}

Which property is used to change the background color?

background-color

Which is the correct CSS syntax?

body {color: black;}

The right border = 1pixel?

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

In HTML, which attribute is used to specify that an input field must be filled out?

required

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

Block elements are normally displayed without starting a new line.

False

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

div p

The HTML <canvas> element is used to:

draw graphics

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

Which input type defines a slider control?

range


Kaugnay na mga set ng pag-aaral

Research Methods Chapter 6 Surveys and Observations

View Set

BIOL 230 Molecular and Cell Biology Exam 3 Smartwork5 Questions - ULL

View Set

AP Psychology Chapter 2-7 Exam Review

View Set

Unit 5 - Chapters 13, 14, 15 APUSH

View Set

HTML: Defining each Topic (w3schools.com)

View Set

Chapter 52 skin and topical drugs

View Set