text-indent-wrap-002-ref.html (1452B)
1 <!DOCTYPE html> 2 3 <html> 4 <head> 5 <title>CSS Test: text-indent test (multiple-lines and text-align: justify)</title> 6 <link rel="author" title="Martin Robinson" href="mrobinson@igalila.com"> 7 <link rel="help" href="https://drafts.csswg.org/css-text-3/#text-indent-property"> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#indentation-prop"> 9 <link ref="help" href="https://drafts.csswg.org/css-text/#text-align-property"> 10 <style type="text/css"> 11 p { 12 text-align: justify; 13 } 14 span { 15 margin-left: 100px; 16 background: yellow; 17 } 18 </style> 19 </head> 20 <body> 21 <p><span>This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines. This is a long piece of text that will wrap to multiple lines.</span></p> 22 </body> 23 </html>