There are two ways, if you simply copy paste the whole text into a new notepad file and save it as sample.html and open this html file in a browser, you will see that it is already a html file.
Instead if you want to convert the < to < etc, Open the csv file in either excel of notepad and use replace function. Do following replacements.
< with a
> with a
and save the csv file as a html file just by clicking save as in notepad and give a name as newsample.html or something. Now you can open in a browser like any other html file.