Basic HTML5 with CSS - Page Layout

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

When you have more than one style property what symbol is used to separate each one?

;

Which of the following demonstrates proper coding form? <h1 align= <style= <h1 style=text-align:left> <h1 style=

<h1 style=

Give an example of a container that has a relative width and absolute height

Example: <div style="height:200px;width:45%>

Absolute units of measure

are fixed - they do not change in relation to the size of the browser window.

Which overflow value would you use to add scrollbars to an element only if they are needed to see additional content?

auto

What are the ways that overflow can be handled?

auto, hidden, visible, and scroll

<p style="clear:both"> will have the text that follows

below the floated elements

What is the primary content element on your web page?

body

In the following tags, what will be the alignment of the text in the paragraph? <section style="text-align:justify">TEXT HERE<article style="text-align:center">TEXT HERE<p>TEXT HERE</p></article></section>

center

Consider the code shown here - <body style="text-align: right"><section style="text-align:center"><article><p>Hello</p></article></body> - where will the text be aligned?

center - because the paragraph tag inherits the alignment of the section that it is contained in.

What property can be added to a page element to indicate that no floating, or any other objects should be next to it?

clear

Which style property and value would be added to an element so that no other elements flow align to its left or right side?

clear: both

If you do not want any floated object on the left or right you would use what property?

clear:both

Consider the structure shown: <body><article><div></div></article></body> What is the child container of the article element?

div

Which style property would you use to move an element to the right or left and allow other content to flow along side it?

float

In what section of the page <style></style> should be defined?

head

The style properties that allow you to define the size of a container element.

height and width

Which value would you use with the overflow property to hide additional content that does not fit within a container?

hidden

To create text with both sides straight and even, choose text-align:

justify

What are the valid values for the text-align property?

justify, center, left

What occurs when the information you are trying to put into a container does not fit within the container's designated fixed size?

overflow

Which style property defines how an element should handle content that does not fit within its designated space.

overflow

The spacing around the content within a container and the edge of the container is defined using what style property?

padding

What style property expands the container out away from the content?

padding

If an article is placed inside a section, the section is said to be what kind of an element?

parent

What does the unit of measurement called "px" stand for?

pixel

What does the clear:right style property do?

prevents content from flowing along the right side of the element

Text can be justified, aligned to the left, aligned to the right, or centered in the container it is written in using what style property?

text-align

The property that is used to align text within an element

text-align

What are Cascading Style Sheets (CSS) used for?

to define the look, feel, and layout of the content on your web page


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

Exam 4 Chapter 13,15,16,17 sample Questions

View Set

Harr 7.2 - Microbiology - Enterobacteriaceae

View Set

Chapter 1 APES guided reading objectives

View Set

Why We Buy Test 1 Review Questions

View Set

Peds success ch 12 Orthopedic Disorders EX3

View Set

Macroeconomics Final: All Previous Tests

View Set