HTML and CSS

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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

No

<ol> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol>

Ordered/numbered list with list items

(alt) is provided as an attribute. (alt) stands for

alternative text

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

color

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

p {font-weight:bold;}

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

#demo

How do you insert a comment in a CSS file?

/* this is a comment */

All HTML documents must start with a document type declaration

<!DOCTYPE html>

The ____________________ declaration defines this document to be HTML5

<!DOCTYPE html>

Which doctype is correct for HTML5?

<!DOCTYPE html>

The visible part if the HTML document is between <body> and

</body>

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>

Defines the most important heading

<h1>

The _________ element defines a large heading

<h1>

HTML headings are defined with what tags?

<h1> to <h6> tags

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

<header>

The ____________ element is the root element of an HTML page

<html>

The HTML document itself begins with_________ and ends with ______

<html>, </html>

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

<input type="text">

How can you make a numbered list?

<ol>

The _________ element defines a paragraph

<p>

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

<select>

What is the correct HTML element for playing video files?

<video>

Which property is used to change the background color?

background-color

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

div p

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

list-style-type: square;

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

In the <head> section

How do you display hyperlinks without an underline?

a {text-decoration:none;}

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

alt

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

Inline elements are normally displayed without starting a new line.

True

<ul> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ul>

Unordered/bullet list with list items

Graphics defined by SVG is in which format?

XML

Choose the correct HTML element to define emphasized text

<em>

<button>Click me</button> is an example of

an HTML button

HTML tags are element names surrounded by

angle brackets

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 = 1pixel?

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

What is the correct HTML for creating a hyperlink?

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

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

True

Block elements are normally displayed without starting a new line.

True

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

True

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

True

The second tag in a pair is called the

end/closing tag

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;

The link's definition is specified in the ___________ attribute

href

<a href="https://www.w3schools.com">This is a ________</a>

link

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

margin-left

width="104" and height="142" are examples of

width and height attributes

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

.test

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

<br>

Which character is used to indicate an end tag?

/

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

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

HTML links are defined with the ___ tag

<a>

The _________ element contains the visible page content

<body>

HTML buttons are defined with the _____________ tag

<button>

Which is the correct CSS syntax?

body {color: black;}

The HTML <canvas> element is used to:

draw graphics

What is the correct HTML element for playing audio files?

<audio>

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

Defines the least important heading

<h6>

The ______________ element contains meta information about the document

<head>

What is the correct HTML for inserting an image?

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

HTML images are defined with the ___ tag

<img>

What is the correct HTML for making a checkbox?

<input type="checkbox">

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

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

HTML list tag is defined with the _________ tag for list items

<list>

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

<meter>

Which HTML element defines navigation links?

<nav>

HTML list is defined with the _________ tag for an ordered/numbered list

<ol>

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

<style>

Which of these elements are all <table> elements?

<table><tr><td>

The ___________ element specifies a title for a document

<title>

Which HTML element defines the title of a document?

<title>

HTML list is defined with the ________ tag for an unordered/bullet list

<ul>

How can you make a bulleted list?

<ul>

What does CSS stand for?

Cascading Style Sheets

In HTML what does the <aside> element define?

Content aside from the page content

In HTML onblur and onfocus are:

Event attributes

What does HTML stand for?

Hyper Text Markup Language

Who is making the Web standards?

The World Wide Web Consortium

Attributes are used to provide additional information about HTML

elements

HTML tags normally come in ___________ like <p> and </p>

pairs

Which input type defines a slider control?

range

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

required

The (src) file is provided as an attribute. (src) stands for

source file

The first tag in a pair is the

start/opening tag

What is the default value of the position property?

static

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

text-transform:capitalize

HTML paragraphs are defined with

the <p> tag

Choose the correct HTML element to define important text

<strong>

What is the correct HTML for making a text area?

<textarea>


संबंधित स्टडी सेट्स

Chapter 9 - Multinational Corporations Test

View Set

Chapter 12: Communication and Collaboration in Professional Nursing

View Set

CHAPTER 4: RECRUITMENT AND SELECTION

View Set

Pregnancy, Labor, Childbirth, Postpartum- At Risk

View Set

Essentials- Human Anatomy & Physics (chapter 5-10 study guide)

View Set

Top 10 Fastest Cars in the World (2000-2017 Times)

View Set