📄 parser1.html
字号:
<html> <head> <title>Parser Test 1</title> </head><body><H1>Parser Test 1</H1>This is a regression test to see if the parser handles spaces and LFscorrectly.<BR><H2>Simple text parsing</H2>This line contains single spaces.<BR>This line contains double spaces.<BR>ThislinecontainssingleLFs.<BR><H2>Parsing around tags</H2>This line contains <U>underlined text</U> with no spaces inside the <U> tag.<BR>This line contains <U> underlined text </U> with spaces inside the <U> tag.<BR>This line contains <U>underlined text</U> with LFs inside the <U> tag.<BR><H2>Parsing inside <PRE></H2><PRE>This line contains single spaces.</PRE><PRE>This line contains double spaces.</PRE><PRE>ThislinecontainssingleLFs.</PRE><H2>Parsing around tags inside <PRE></H2><PRE>This line contains <U>underlined text</U> with no spaces inside the <U> tag.</PRE><PRE>This line contains <U> underlined text </U> with spaces inside the <U> tag.</PRE><PRE>This line contains <U>underlined text</U> with LFs inside the <U> tag.</PRE><H2>Parsing <PRE> followed by LFs</H2>The PRE-blocks are seperated by a <HR> (horizontal rule) tag<BR><HR><PRE>This is the first single line with no LFs</PRE><HR><PRE>This is the second single line within a single pair of LFs</PRE><HR><PRE>This is the third single line within a double pair of LFs</PRE><HR><PRE>This is the forth single line within a triple pair of LFs</PRE><HR><P>Now follows a PRE section with 1 empty line.<HR><PRE></PRE><HR><P>Now follows a PRE section with 2 empty lines.<HR><PRE></PRE><HR><H2>Tab's and spaces inside <PRE></H2>The position of the numbers should be equal to the value of the numbers. TAB1 should be left aligned with the number 9.TAB2 should be left aligned with the number 17. <HR><PRE>1 2 3 4 5 6 7 8 9 17 TAB1 TAB21 TAB1 TAB2 2 TAB1 TAB2 3 TAB1 TAB2 4 TAB1 TAB2 5 TAB1 TAB2 6 TAB1 TAB2 7 TAB1 TAB2 8 TAB21 TAB2 2 TAB2 3 TAB2 4 TAB2 5 TAB2 6 TAB2 7 TAB2 8 TAB2<U>1</U> TAB1 TAB2<U> 2</U> TAB1 TAB2<U> 3</U> TAB1 TAB2<U> 4</U> TAB1 TAB2<U> 5</U> TAB1 TAB2<U> 6</U> TAB1 TAB2<U> 7</U> TAB1 TAB2<U> 8</U> TAB2<U>1</U> TAB2<U> 2</U> TAB2<U> 3</U> TAB2<U> 4</U> TAB2<U> 5</U> TAB2<U> 6</U> TAB2<U> 7</U> TAB2<U> 8</U> TAB2</PRE><HR><H2>The broken tag section</H2>On the next line follows a < without a tagname directly following<BR>it should be displayed as text: < <BR><HR>On the next line follows a < with a space following<BR>it should be displayed as text: < with a space following.<BR><HR>On the next line follows a > with a space following<BR>it should be displayed as text: > with a space following.<BR><HR>On the next line follows <><BR>it should be displayed as text: <><BR><HR>On the next line follows </><BR>it should be displayed as text: </> <BR><HR>On the next line follows a </ without a tagname directly following<BR>it should be displayed as text: </ <BR><HR>On the next line follows a </ with a space following<BR>it should be displayed as text: </ with a space following.<BR><HR>On the next line a not properly terminated start-tag is closed only by the next tag<BR><P this should not be shown<BR>This should be shown again. <BR><HR>On the next line a not properly terminated end-tag is closed only by the next tag<BR></P this should not be shown<BR>This should be shown again. <BR><HR><H2>Unknown tags</H2>Unknown tags should be ignored.<BR><HR>The next line should read "This is good."<BR>This <YYYYYY>is good<BR><HR>The next line should read "This is good." but should not be bold.<BR><BADTAG>This is good<BR><HR>The next line should read "This is good." and should not be in a table.<BR><TABLEF border=2>This is good<BR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -