Chapter test coding

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

Which of the following defines how the web browser must format and display the content?

tags

What is the default value of the type attribute in the <input> element?

text

Consider the following code snippet: <html> <head> <style> p { background-color: blue; } p { background-color: black; } p { background-color: yellow; } </style> </head> <body> <h1>Welcome to CSS</h1> <div> <p id="firstname">My name is Ronaldo.</p> <p id="hometown">I live in Sweden.</p> </div> <p>I love apples.</p> </body> </html> What will be the background color of the text "I love apples."?

yellow

Which of the following properties defines the stack order of an element?

z-index

Which of the following is the correct HTML code for creating a hyperlink?

<a href="https://www.w3.org/">W3C</a>

Which of the following tags is an independent section of a document or site? This task contains the radio buttons and checkboxes for options. Press the enter key to select the option. option A

<article>

Which of the following HTML elements is used for the largest heading?

<h1>

Which section of the HTML document includes the <link> tag that refers to an external style sheet?

<head>

Which of the following come under the heading category in HTML5? Each correct answer represents a complete solution. Choose all that apply.

<hgroup>, <header>,<h1><h6>

Which of the following tags describes a scalar measurement within a known range or a fractional value?

<meter>

John is designing a Website for ABC, Inc. using HTML5 and wants to apply the same style to all its pages such as Home page, Product Information, and Contact Us by using the style.css file. Which of the following code segments can he use to achieve this? Each correct answer represents a complete solution. Choose all that apply.

@import url("style.css");, <link rel="stylesheet" href="style.css">

What is the drawback of the CSS float property?

Block elements need to have a width set

What does the <legend> input type do?

Displays a caption for a <fieldset> element

Which of the following is not a benefit of using Scalable Vector Graphics?

Generate raster graphics

Which CSS property allows programmers to declare a property and value once, thus avoiding the need to set the same property on a number of elements?

Inheritance

What function does the CSS Grid Layout perform?

It allows an author to align elements into columns and rows.

Which of the following attributes is used to add a border to the canvas?

Italicize text

What does the column-width property deliver?

Minimum width for each column

Which of the following defines the general structure of the content inside documents, rather than its original appearance on the page or onscreen?

SGML

Which of the following is a way to declare which elements the styles should apply to?

Selector

Consider the following code snippet: <style> div { width: 100px; height: 200px; } </style> <div> <img src="xyz.png" alt="the picture" style="width:150px; height: 150px;"> </div> What will happen to the div element if the overflow property is set to auto in the given code?

The scrollbar will be added to the div element in the horizontal direction.

What is the <select> tag used for?

To create a dropdown list

Why would you use CSS scaling in a Web document?

To resize elements

Which of the following properties controls the alignment of lines in a multi-line flex container in the cross-axis direction?

align-context

Joe, a student, is instructed to design a webpage. He embeds an audio file in the webpage and now wants to add the play/pause button to the file. Which of the following attributes should he use to accomplish the task?

controls

Which CSS property sets an element on the left or right side of the container, permitting text and inline elements to cover around it?

float

Which shorthand property is used to define grid columns, rows, and areas?

grid-template

Which of the following properties controls how flex items align in the main axis direction in a line?

justify-content

Which of the following attributes identifies the location of the video file?

src

Which of the following attributes is used to add a border to the canvas?

style


Kaugnay na mga set ng pag-aaral

Cuál es el rol de la monarquía en Reino Unido

View Set

Chapter 17 - Revolution and Enlightenment

View Set

Study Guide for Weather Lesson 5 quiz

View Set