1, html page
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <table> <thead> <tr> <th scope="col">编号</th> //表示这是列 <th scope="col">名称</th> <th scope="col">操作</th> </tr> </thead> <tbody> <tr> <th scope="row">1 </ th> // if the first column is the number of words should be used instead of th td <td> Interesting thing </ td> <td> <a href= ""> Delete </a> </ td> // delete a tag is a </ TR> </ tbody> </ Table> </ head> <body> </ body> </ HTML>
2, we need to extract the data inside the database, traverse, and presented on this page