The purpose of this question is to develop a web page for checking whether any three points (x_1,y_1), (x_2,y_2) and (x_3,y_3) in a two dimensional space (2D) are on the same line or not. In this question, you might need to search the e-library to remember how to check if any three points lie on the same line or not. You will see that there are some different techniques for solving this problem, you are required to apply only one of these techniques that use the slope in testing whether the three points lie on the same line or not.
The web page should be implemented by using HTML tags and PHP codes. The final code with 2 snapshots should be provided in your answer sheet.