Usually, we consider a mode change for the analyzation of html tags all.
Because switch case code blocks give us some flexibilities on the coding(*1).
//
startend
1: <html>
alphabet after we found <
space after we found <
2: </html>
/ after we found <
3: < /html>
space after we found <
4: <img/>
alphabet after we found <
slush after we found alphabet
And we realise that we need the another case for the judge of the startend.
We create the foundcase from the above.
foundcase:
1: alphabet after we found <
2: space after we found < depending on 1.
3: / after we found <
4: space after we found <
5: alphabet after we found <
6: slush after we found alphabet depending on 5.
(*1) if we use the word people alternative like "we" after "Because".
ex)
We are given some flexibilities from it.