May 2017
Intermediate to advanced
448 pages
10h 10m
English
Many websites, like their print counterparts, use pull quotes to emphasize small portions of text and attract the reader's eye. A pull quote is simply an excerpt from the main document that is presented with a special graphical treatment alongside the text. We can easily accomplish this embellishment with the .clone() method. First, let's take another look at the third paragraph of our example text:
<p> <span class="pull-quote">It is a Law of Nature <span class="drop">with us</span> that a male child shall have <strong>one more side</strong> than his father</span>, so that each generation shall rise (as a rule) one step in the scale of development and nobility. Thus the son of a Square is a Pentagon; the son ...
Read now
Unlock full access