Question

In: Computer Science

what are three characters that are subject to whitespace collapsing?

what are three characters that are subject to whitespace collapsing?

Solutions

Expert Solution

What are three characters that are subject to whitespace collapsing?

The CSS Text Level 3 specification redefines the white-space property as a shorthand property for setting two new properties: white-space-collapsing, which controls the treatment of white space in the source code, and text-wrap, which determines where the browser can break lines of text. The following table summarises the correspondences between these three properties:

white-space white-space-collapsing text-wrap
normal collapse normal
pre preserve none
nowrap collapse none
pre-wrap preserve normal
pre-line preserve-breaks normal

The white-space-collapsing property has five possible values:

collapse

causes white space to collapse

preserve

prevents white space from collapsing

preserve-breaks

causes white space to collapse but preserves new lines

discard

causes all white space to be discarded

trim-inner

causes leading and trailing blank lines to be discarded

The text-wrap property has three possible values:

normal

causes lines to be broken where necessary

none

prevents lines from breaking except where forced by new line characters or br elements

avoid

prevents lines from breaking inside an element except where there are no other possible break points in the line


Related Solutions

Write a java code that first discards as many whitespace characters as necessary until the first...
Write a java code that first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value. The string can contain additional characters after those that form the integral number, which are ignored and have no effect on the behavior of this function. If the first sequence of non-whitespace...
Name three characters that vertebrates share with other chordates as well as three characters that evolved...
Name three characters that vertebrates share with other chordates as well as three characters that evolved as novelties in the ancestors of vertebrates. Discuss the embryonic origin of these vertebrate specific characters and explain which changes in life style they made possible.
how to code the text with excess whitespace removed in C++. Whitespace includes spaces and tabs....
how to code the text with excess whitespace removed in C++. Whitespace includes spaces and tabs. Excess whitespace is: • All whitespace at the beginning of the text. • All whitespace at the end of the text. • Any point in the text where more than a single whitespace character is used. For instance, if the input text is: Welcome to C++ ! The output would be: Welcome to C++!
writing Subject This week's assignment is to write a piece of fiction using characters or settings...
writing Subject This week's assignment is to write a piece of fiction using characters or settings created by someone else, or using public figures as your main characters. Below are a few options for how to proceed. Take a story that you know really well and write it from the point of view of a different character. Try writing an alternative ending to your favorite story. Take characters from different mediums and tell a story about them. What might an...
Discuss the three characters of gain or loss. Describe in detail each type. What is the...
Discuss the three characters of gain or loss. Describe in detail each type. What is the recapture provision? Compare and contrast depreciation, amortization, and depletion. Include an explanation of the assets subject to these types of cost recovery. Discuss several examples of itemized deductions. Choose one and describe in detail. Have you had experience utilizing itemized deductions on your tax return?
2. What characters do all plants and green algae share? 3. What characters do all plants...
2. What characters do all plants and green algae share? 3. What characters do all plants share that green algae do not share? 4. What is meant by alternation of generations? 5. What are the terrestrial adaptations that plants have evolved and which groups share those characters? 6. Compare and contrast phloem and xylem. 7. Compare and contrast the life cycles of the four groups of plants. The sporophyte generation compared to the gametophyte generation. Which is dominant in each...
write this program in C++ Write a program that prompts a user for three characters. The...
write this program in C++ Write a program that prompts a user for three characters. The program must make sure that the input is a number 10 - 100 inclusive. The program must re prompt the user until a correct input is entered. Finally output the largest and the lowest value. Example 1: Input : 10 Input : 20 Input : 30 The largest is 30. The lowest is 10. Example 2: Input : 100 Input : 50 Input :...
SUBJECT : EXCEL 1. What are the three elements in a pie chart? Select one of...
SUBJECT : EXCEL 1. What are the three elements in a pie chart? Select one of the elements and explain how to add or remove the element. Give examples. 2. In what two locations can a chart be placed? Explain.
Affirm that you know what whitespace is and that you will avoid submitting documents that have large sections of blank pages.
  Affirm that you know what whitespace is and that you will avoid submitting documents that have large sections of blank pages.
What is the Petty-Clark theorem? What is the evolution law of Three-Industry model? Subject Name:international service...
What is the Petty-Clark theorem? What is the evolution law of Three-Industry model? Subject Name:international service trade
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT