OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <style type="text/css"> |
| 5 h1 { margin: 8px 0px; font-size: 18px; } |
| 6 div, p, ul { margin: 0px; font-size: 14px; } |
| 7 .bigRedText, .bigRedText a { font-size:16px; font-weight: bold; color: red;
} |
| 8 ul li { list-style-type: none; } |
| 9 </style> |
| 10 </head> |
| 11 <body> |
| 12 <div> |
| 13 <h1>Paragraphs with only one character</h1> |
| 14 <div> |
| 15 <p><span class="bigRedText">A</span></p> |
| 16 <p><span class="bigRedText"><b>B</b></span></p> |
| 17 <p><span class="bigRedText"><em><b>C</b></em></span></p> |
| 18 </div> |
| 19 <h1>Paragraphs with leading spaces</h1> |
| 20 <div> |
| 21 <p><span class="bigRedText"> A</span>ppetizers</p> |
| 22 <p><span class="bigRedText"> S</span><a href="#">tarters:</a> Soups &
Salads</p> |
| 23 <p><span class="bigRedText"> M</span>ain Course: <a href="#">
Pasta</a></p> |
| 24 <p><span class="bigRedText"> D</span>essert: <a href="#"
>Pasta</a></p> |
| 25 </div> |
| 26 <h1>Multiple paragraphs inside nested blocks (only the first one should get
the first-letter)</h1> |
| 27 <div class="testDiv"> |
| 28 <div> |
| 29 <p><span class="bigRedText">“(A)”:</span> Appetizers</p> |
| 30 <p>“(<a href="#">B</a>)”: <a href="#">Starters:</a> Soups &
Salads</p> |
| 31 <p>“<b>(</b><a href="#">C</a><b>)</b>”: Main Course: <a href
="#">Pasta</a></p> |
| 32 </div> |
| 33 </div> |
| 34 <h1>List with spaces after the leading dot</h1> |
| 35 <ul> |
| 36 <li>· Appetizers</li> |
| 37 <li>· <a href="#">Starters:</a> Soups & Salads</li> |
| 38 <li>· Main Course: <a href="#">Pasta</a></li> |
| 39 </ul> |
| 40 <h1>List without spaces after the leading dot</h1> |
| 41 <ul> |
| 42 <li><span class="bigRedText">·A</span>ppetizers</li> |
| 43 <li><span class="bigRedText">·S</span><a href="#">tarters:</a> Soup
s & Salads</li> |
| 44 <li><span class="bigRedText">·M</span>ain Course: <a href="#">Pasta
</a></li> |
| 45 </ul> |
| 46 <h1>first-letter with multiple punctuation characters</h1> |
| 47 <ul> |
| 48 <li><span class="bigRedText">“(A)”:</span> Appetizers</li> |
| 49 <li><span class="bigRedText">“(B)”:</span> <a href="#">Starter
s:</a> Soups & Salads</li> |
| 50 <li><span class="bigRedText">“(C)”:</span> Main Course: <a hre
f="#">Pasta</a></li> |
| 51 <li><span class="bigRedText">"<b>(</b>D<b>)</b>":</span> Desserts<
/li> </ul> |
| 52 </div> |
| 53 </body> |
| 54 </html> |
OLD | NEW |