Tests of how pre and alternatives work

Standard use of pre element (written in TextEdit, Macintosh). Some Linux browsers may fail to show line break.


Test no break
  test2
    test3
      test4
        test5
test6

Pre with break at the end of some lines. Notice some double line breaks.


Test no break
  test2
test3
test4 no break test5
test6

Pre with no line breaks, using non-breaking spaces and break.


Test
  test2
    test3
      test4
        test5
test6

Each line of code in a separate pre, styled with margin: 0;

Test
  test2
    test3
      test4
         test5
test6

Pre including escaped left and right angle brackets and ampersand


ampersand & right angle > and left angle brackets << with space
ampersand & right angle > and left angle brackets <<without space
third line
fourth line

Pre including escaped left and right angle brackets and ampersand paragraph without close tags.


ampersand & right angle > and left angle brackets << with space
ampersand & right angle > and left angle brackets <<without space
third line
fourth line